DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: M T

⟦eb23e8680⟧ TextFile

    Length: 7008 (0x1b60)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦db229ac7e⟧ Bits:30007240 EUUGD20: SSBA 1.2 / AFW Benchmarks
    └─⟦this⟧ »EUUGD20/AFUU-ssba1.21/ssba1.21E/ssba/Makefile« 

TextFile

#				SSBA 1.21E
#
# Makefile : Makefile
#
#	General makefile for the SSBA
#
#	A benchmark is associated with each directory.
#	Each directory has a Makefile with the same targets.
#	It is possible to run an individual make for each of
#	the benchmarks, or to run the general make.
#
#	A general shell-script (ssba.run) calls this Makefile.
#
#	History :	
#		Creation:	Philippe Dax (ENST) July 1987
#		ssba 1.0:	15th june 1988
#		ssba 1.21E:	3rd august 1989
#
SHELL=/bin/sh

.PRECIOUS:	conf
.PRECIOUS:	run
.PRECIOUS:	ssba
.IGNORE:	

#
#	Files
#
NAME	=	ssba
MAKEFILE=	Makefile
LOG	=	../results/ssba.log
RES	=	../results/ssba.res
LS	=	../results/ssba.ls
BENCHS	=	ssba config mips dhry whet linpack tools utah testc byte\
		saxer bsd doduc musbus
TRACE	=	1>>$(LOG) 2>&1
NUL	=	1>/dev/null 2>&1

#
#	New run of the SSBA
#
ssba:	force
	@echo "			NEW RUN"
	@echo "			NEW RUN"		>>$(LOG)
	make clean
	make conf
	make files
	make compile
	make run
	make sizes
	make results

#
#	Configurations
#
conf:
	@echo "			CONFIGURATIONS"		
	(cd ../config;	chmod +x config.cf;	config.cf)
	(cd ../mips;	chmod +x mips.cf;	mips.cf)
	(cd ../dhry;	chmod +x dhry.cf;	dhry.cf)
	(cd ../whet;	chmod +x whet.cf;	whet.cf)
	(cd ../linpack;	chmod +x linpack.cf;	linpack.cf)
	(cd ../utah;	chmod +x utah.cf;	utah.cf)
	(cd ../tools;	chmod +x tools.cf;	tools.cf)
	(cd ../byte;	chmod +x byte.cf;	byte.cf)
	(cd ../saxer;	chmod +x saxer.cf;	saxer.cf)
	(cd ../testc;	chmod +x testc.cf;	testc.cf)
	(cd ../doduc;	chmod +x doduc.cf;	doduc.cf)
	(cd ../bsd;	chmod +x bsd.cf;	bsd.cf)
	(cd ../musbus;	chmod +x musbus.cf;	musbus.cf)
	@touch conf.done
#
#	Compilations
#
compile:	
	@echo "			COMPILATIONS"
	(cd ../config;	make $@ -f config.mk)
	(cd ../dhry;	make $@ -f dhry.mk)
	(cd ../whet;	make $@ -f whet.mk)
	(cd ../linpack;	make $@ -f linpack.mk)
	(cd ../utah;	make $@ -f utah.mk)
	(cd ../doduc;	make $@ -f doduc.mk)
	(cd ../bsd;	make $@ -f bsd.mk)
	(cd ../musbus;	make $@ -f musbus.mk)
	@touch compile.done
#
#	Executions
#
run:	
	@echo "			EXECUTIONS"
	(cd ../config;	make $@ -f config.mk)
	(cd ../mips;	make $@ -f mips.mk)
	(cd ../dhry;	make $@ -f dhry.mk)
	(cd ../whet;	make $@ -f whet.mk)
	(cd ../linpack;	make $@ -f linpack.mk)
	(cd ../utah;	make $@ -f utah.mk)
	(cd ../tools;	make $@ -f tools.mk)
	(cd ../byte;	make $@ -f byte.mk)
	(cd ../saxer;	make $@ -f saxer.mk)
	(cd ../testc;	make $@ -f testc.mk)
	(cd ../doduc;	make $@ -f doduc.mk)
	(cd ../bsd;	make $@ -f bsd.mk)
	(cd ../musbus;	make $@ -f musbus.mk)
#
#	Cleaning
#
clean:	
	@echo "			CLEANUP"
	(cd ../ssba;	make $@ -f ssba.mk)
	(cd ../config;	make $@ -f config.mk)
	(cd ../mips;	make $@ -f mips.mk)
	(cd ../dhry;	make $@ -f dhry.mk)
	(cd ../whet;	make $@ -f whet.mk)
	(cd ../linpack;	make $@ -f linpack.mk)
	(cd ../utah;	make $@ -f utah.mk)
	(cd ../tools;	make $@ -f tools.mk)
	(cd ../byte;	make $@ -f byte.mk)
	(cd ../saxer;	make $@ -f saxer.mk)
	(cd ../testc;	make $@ -f testc.mk)
	(cd ../doduc;	make $@ -f doduc.mk)
	(cd ../bsd;	make $@ -f bsd.mk)
	(cd ../musbus;	make $@ -f musbus.mk)

cleanlog:
	(cd ..;	rm core */core */*.jou */*.log)
suptmp:
	(rm -f ssba.kill card.res 1line)
cleantar:
	(cd ..; rm *.tar */*.tar)
cleanshar:
	(cd ..; rm */*.shar)		
cleanall:
	(cd ..; rm -r install results)		
	make clean
	make suptmp

#
#	Sizes
#
sizes:	
	@echo "			EXECUTABLES SIZES"
	(cd ../config;	make $@ -f config.mk)
	(cd ../dhry;	make $@ -f dhry.mk)
	(cd ../whet;	make $@ -f whet.mk)
	(cd ../linpack;	make $@ -f linpack.mk)
	(cd ../utah;	make $@ -f utah.mk)
	(cd ../saxer;	make $@ -f saxer.mk)
	(cd ../testc;	make $@ -f testc.mk)
	(cd ../doduc;	make $@ -f doduc.mk)
	(cd ../bsd;	make $@ -f bsd.mk)
	(cd ../musbus;	make $@ -f musbus.mk)
#
#	Sources printing
#
print:
	@echo "			SOURCES PRINTING"
	(cd ../ssba;	make $@ -f ssba.mk)
	(cd ../config;	make $@ -f config.mk)
	(cd ../mips;	make $@ -f mips.mk)
	(cd ../dhry;	make $@ -f dhry.mk)
	(cd ../whet;	make $@ -f whet.mk)
	(cd ../linpack;	make $@ -f linpack.mk)
	(cd ../utah;	make $@ -f utah.mk)
	(cd ../tools;	make $@ -f tools.mk)
	(cd ../byte;	make $@ -f byte.mk)
	(cd ../saxer;	make $@ -f saxer.mk)
	(cd ../testc;	make $@ -f testc.mk)
	(cd ../doduc;	make $@ -f doduc.mk)
	(cd ../bsd;	make $@ -f bsd.mk)
	(cd ../musbus;	make $@ -f musbus.mk)
printall:
	@echo "			PRINTING"
	(cd ../ssba;	make $@ -f ssba.mk)
	(cd ../config;	make $@ -f config.mk)
	(cd ../mips;	make $@ -f mips.mk)
	(cd ../dhry;	make $@ -f dhry.mk)
	(cd ../whet;	make $@ -f whet.mk)
	(cd ../linpack;	make $@ -f linpack.mk)
	(cd ../utah;	make $@ -f utah.mk)
	(cd ../tools;	make $@ -f tools.mk)
	(cd ../byte;	make $@ -f byte.mk)
	(cd ../saxer;	make $@ -f saxer.mk)
	(cd ../testc;	make $@ -f testc.mk)
	(cd ../doduc;	make $@ -f doduc.mk)
	(cd ../bsd;	make $@ -f bsd.mk)
	(cd ../musbus;	make $@ -f musbus.mk)
readme:
	@echo "			README"
	(cd ../ssba;	make $@ -f ssba.mk)
	(cd ../config;	make $@ -f config.mk)
	(cd ../mips;	make $@ -f mips.mk)
	(cd ../dhry;	make $@ -f dhry.mk)
	(cd ../whet;	make $@ -f whet.mk)
	(cd ../linpack;	make $@ -f linpack.mk)
	(cd ../utah;	make $@ -f utah.mk)
	(cd ../tools;	make $@ -f tools.mk)
	(cd ../byte;	make $@ -f byte.mk)
	(cd ../saxer;	make $@ -f saxer.mk)
	(cd ../testc;	make $@ -f testc.mk)
	(cd ../doduc;	make $@ -f doduc.mk)
	(cd ../bsd;	make $@ -f bsd.mk)
	(cd ../musbus;	make $@ -f musbus.mk)
#
#	Archive tar
#
tar:
	make cleanall
	@echo "			BACKUP"
	(cd ..;	tar cf $(NAME).$@ $(BENCHS))
#
#	Archive shar
#
shar:
	@echo "			ARCHIVES"
	(cd ../ssba;	make $@ -f ssba.mk)
	(cd ../config;	make $@ -f config.mk)
	(cd ../mips;	make $@ -f mips.mk)
	(cd ../dhry;	make $@ -f dhry.mk)
	(cd ../whet;	make $@ -f whet.mk)
	(cd ../linpack;	make $@ -f linpack.mk)
	(cd ../utah;	make $@ -f utah.mk)
	(cd ../tools;	make $@ -f tools.mk)
	(cd ../byte;	make $@ -f byte.mk)
	(cd ../saxer;	make $@ -f saxer.mk)
	(cd ../testc;	make $@ -f testc.mk)
	(cd ../doduc;	make $@ -f doduc.mk)
	(cd ../bsd;	make $@ -f bsd.mk)
	(cd ../musbus;	make $@ -f musbus.mk)
#
#	List of files
#
files:
	@echo "			LIST OF FILES"
	(cd ..; ls -Rl) > $(LS)
#
#	Results output
#
results:
	@echo "			RESULTS OUTPUT"
	@cat ../config/config.log				>>$(LOG)
	@cat ../mips/mips.log					>>$(LOG)
	@cat ../dhry/dhry.log					>>$(LOG)
	@cat ../whet/whet.log					>>$(LOG)
	@cat ../linpack/linpack.log				>>$(LOG)
	@cat ../utah/utah.log					>>$(LOG)
	@cat ../tools/tools.log					>>$(LOG)
	@cat ../byte/byte.log					>>$(LOG)
	@cat ../saxer/saxer.log					>>$(LOG)
	@cat ../testc/testc.log					>>$(LOG)
	@cat ../doduc/doduc.log					>>$(LOG)
	@cat ../bsd/bsd.log					>>$(LOG)
	@cat ../musbus/musbus.log				>>$(LOG)
	@cat ../config/config.res				>>$(RES)
	@cat ../mips/mips.res					>>$(RES)
	@cat ../dhry/dhry.res					>>$(RES)
	@cat ../whet/whet.res					>>$(RES)
	@cat ../linpack/linpack.res				>>$(RES)
	@cat ../utah/utah.res					>>$(RES)
	@cat ../tools/tools.res					>>$(RES)
	@cat ../byte/byte.res					>>$(RES)
	@cat ../saxer/saxer.res					>>$(RES)
	@cat ../testc/testc.res					>>$(RES)
	@cat ../doduc/doduc.res					>>$(RES)
	@cat ../bsd/bsd.res					>>$(RES)
	@cat ../musbus/musbus.res				>>$(RES)

force: