[leaf-commits] src/bering-uclibc4/source/dry2 buildtool.cfg, NONE, 1.1 buildtool.mk, NONE, 1.1 dry.c.gz, NONE, 1.1

Andrew <[email protected]>
Newsgroups gmane.linux.leaf.cvs
Message-ID <[email protected]>
Update of /cvsroot/leaf/src/bering-uclibc4/source/dry2
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv5495/source/dry2

Added Files:
	buildtool.cfg buildtool.mk dry.c.gz 
Log Message:
Added dhrystone benchmark


--- NEW FILE: dry.c.gz ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: buildtool.mk ---
#############################################################
#
# cron
#
# $Id: buildtool.mk,v 1.1 2010/10/26 15:16:27 nitr0man Exp $
#############################################################

include $(MASTERMAKEFILE)
DIR:=dry2
TARGET_DIR:=$(BT_BUILD_DIR)/dry2


$(DIR)/.source: 
	mkdir -p $(DIR)
	zcat $(SOURCE) >$(DIR)/dry.c
	touch $(DIR)/.source

$(DIR)/.build: $(DIR)/.source
	mkdir -p $(TARGET_DIR)/usr/bin
#i386 reference
	$(TARGET_CC) -c -O3 -march=i386 $(DIR)/dry.c -o $(DIR)/dry1.o
	$(TARGET_CC) -DPASS2 -O3 -march=i386 $(DIR)/dry.c $(DIR)/dry1.o -o $(DIR)/dry2_i386
#i486 reference
	$(TARGET_CC) -c -O3 -march=i486 $(DIR)/dry.c -o $(DIR)/dry1.o
	$(TARGET_CC) -DPASS2 -O3 -march=i486 $(DIR)/dry.c $(DIR)/dry1.o -o $(DIR)/dry2_i486
#i486 tuned to i686
	$(TARGET_CC) -c -O3 -march=i486 -mtune=i686 $(DIR)/dry.c -o $(DIR)/dry1.o
	$(TARGET_CC) -DPASS2 -O3 -march=i486 -mtune=i686 $(DIR)/dry.c $(DIR)/dry1.o -o $(DIR)/dry2_i486t
#i586 reference
	$(TARGET_CC) -c -O3 -march=i586 $(DIR)/dry.c -o $(DIR)/dry1.o
	$(TARGET_CC) -DPASS2 -O3 -march=i586 $(DIR)/dry.c $(DIR)/dry1.o -o $(DIR)/dry2_i586
#i686 reference
	$(TARGET_CC) -c -O3 -march=i686 $(DIR)/dry.c -o $(DIR)/dry1.o
	$(TARGET_CC) -DPASS2 -O3 -march=i686 $(DIR)/dry.c $(DIR)/dry1.o -o $(DIR)/dry2_i686
	cp $(DIR)/dry2_* $(TARGET_DIR)/usr/bin
	-$(BT_STRIP) -s $(TARGET_DIR)/usr/bin/*
	cp -a $(TARGET_DIR)/* $(BT_STAGING_DIR)
	touch $(DIR)/.build

source: $(DIR)/.source 

build: $(DIR)/.build

clean:
	-rm $(DIR)/.build $(DIR)/*.o $(DIR)/dry2_*
  
srcclean:
	rm -rf $(DIR)

--- NEW FILE: buildtool.cfg ---
<File buildtool.mk>
  Server = cvs4-sourceforge
  Revision = HEAD
  Directory = dry2
</File>

<File dry.c.gz>
  Server = cvs4-sourceforge
  envname = SOURCE
  Revision = HEAD
  Directory = dry2
</File>


<Package>
	<dry2>
		Version = 2.2
		Revision = 1
		
		Help <<EOF
		Dhrystone benchmark optimized for different CPUs
		LEAF package by __PACKAGER__, __BUILDDATE__
		EOF
		
		<Permissions>
			Files		= 755
			Directories	= 755
		</Permissions>
		
		<Owner>
			Files		= root:root
			Directories	= root:root
		</Owner>
		
		<Contents>
			<File>
				Source		= usr/bin/dry2_*
				Filename	= usr/bin/
				Type		= binary
			</File>
		</Contents>
	</dry2>
</Package>

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.