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 - download
Index: ┃ M T m

⟦4a4fc79d6⟧ TextFile

    Length: 4805 (0x12c5)
    Types: TextFile
    Names: »Makefile«, »makefile«

Derivation

└─⟦87ddcff64⟧ Bits:30001253 CPHDIST85 Tape, 1985 Autumn Conference Copenhagen
    └─ ⟦this⟧ »cph85dist/stat/src/Makefile« 
    └─ ⟦this⟧ »cph85dist/stat/src/makefile« 

TextFile

#	This is the makefile for UNIX|STAT data analysis programs.
#	There are notes at the beginning of this file.  Mostly they
#	help you define variables for customization.
#		BIN 	where compiled binaries are moved
#		DOCDIR	where all manual entries are kept (for manstat)
#		PROGS	all the program names (for "make all")
#		CFLAGS	C compiler options
#		LIBS	libraries needed to compile (-lm -lS or -ly)
#
#	Thanks to the efforts of Fred Horan at Cornell, most of the programs
#	can be compiled on MSDOS with the Lattice C compiler.
#	Changes for MSDOS are put into #ifdefs, so to compile on MSDOS,
#	you have to add the option -DMSDOS to the command line.
#	If make is available, add that option to CFLAGS below.
#
#	If compiling on a small system where memory is limited,
#	try adding the option "-DSMALL_MEM" to the CFLAGS variable.
#	This will mean smaller storage areas for several programs.
#	This option is implied by the "-DMSDOS" option (see unixstat.h).
#
BIN = ../bin
DOCDIR = "/faculty/perlman/stat/doc"
MAINS = maketrix.c transpose.c io.c abut.c anova.c regress.c dm.y desc.c \
vincent.c calc.y dprime.c pair.c dataplot.c validata.c manstat.c perm.c \
colex.c reverse.c ts.c series.c repeat.c trans.c oneway.c critf.c pof.c 
LINKS = biplot corr ttest
UTILS = getopt.c checkio.c parseline.c strings.c number.c getword.c \
checkargv.c pof.c random.c canwrite.c confirm.c
PROGS = maketrix transpose io abut anova regress dm desc \
vincent calc dprime pair dataplot validata manstat perm \
colex reverse ts series repeat trans oneway critf pof 
#	If compiling for MSDOS, add "-DMSDOS" to CFLAGS
CFLAGS = -O
LIBS = -lm
G=getopt.o
C=checkio.o
P=parseline.o
S=strings.o
N=number.o
W=getword.o
V=checkargv.o
F=pof.o
R=random.o
#	The UNTESTED programs have not been rigorously tested
UNTESTED = "This program has not been rigorously tested"
all:
	make -i -s $(PROGS) $(LINKS)
catman:
	manstat -m an.new -u $(PROGS)
listing:
	print makefile unixstat.h $(MAINS) $(UTILS)
edmains:
	vi $(MAINS)
count:
	@wc $(MAINS) $(UTILS)
clean:
	-/bin/rm -f *.o y.tab.* core a.out
$(PROGS): unixstat.h
trans: trans.o $N $S $C
	cc -o $(BIN)/trans trans.o $N $S $C $(LIBS)
colex: colex.o $P $C $N $G
	cc -o $(BIN)/colex colex.o $P $C $N $G
maketrix: maketrix.o $C $N $W $G
	cc -o $(BIN)/maketrix maketrix.o $C $N $W $G
transpose: transpose.o $C $P $N $G
	cc -o $(BIN)/transpose transpose.o $G $C $P $N
io: io.o $C $G confirm.o
	cc -o $(BIN)/io io.o $C $G confirm.o
abut: abut.o $N $G
	cc -o $(BIN)/abut abut.o $N $G
anova: anova.o $S $N $F $C
	cc -o $(BIN)/anova anova.o $S $N $F $C $(LIBS)
regress: regress.o $P $N $F $C $G $V
	cc -o $(BIN)/regress regress.o $P $N $F $C $G $V $(LIBS)
corr:
	make regress
	-/bin/ln $(BIN)/regress $(BIN)/corr
dm: dm.o $S $N $C $R canwrite.o confirm.o
	cc $(CFLAGS) -o $(BIN)/dm dm.o $N $S $C $R canwrite.o confirm.o $(LIBS) 
# if dm is compiled without the -DPTREE option, then there will be
# no facility for printing the parsings of expressions.
# this may be attractive for small machines
dm.o: dm.c
	cc -DPTREE -O $(CFLAGS) -c dm.c
dm.c: dm.y
	yacc dm.y
	mv y.tab.c dm.c
desc: desc.o $G $F $N $C $W
	cc -o $(BIN)/desc desc.o $G $N $F $C $W $(LIBS)
vincent: vincent.o $W $C $N
	cc -o $(BIN)/vincent vincent.o $C $N $W $(LIBS)
calc.c: calc.y
	yacc calc.y
	mv y.tab.c calc.c
calc: calc.o $C
	cc $(CFLAGS) -o $(BIN)/calc calc.o $C $(LIBS)
critf: $F $N
	cc -o $(BIN)/critf -O -DSTANDALONE critf.c $F $N $(LIBS)
	-/bin/rm critf.o
pof: $N
	cc -o $(BIN)/pof -O -DSTANDALONE pof.c $N $(LIBS)
	-/bin/rm pof.o
dprime: dprime.o $N ptoz.o $P $C
	cc -o $(BIN)/dprime dprime.o $N ptoz.o $P $C $(LIBS)
	@/bin/echo "dprime:" $(UNTESTED)
pair: pair.o $G $N $F $P $C scatterplot.o $V
	cc -o $(BIN)/pair pair.o $G $N $F $P scatterplot.o $C $V $(LIBS)
biplot:
	make pair
	-/bin/ln $(BIN)/pair $(BIN)/biplot
dataplot: $N $P $C $G
	cc -o $(BIN)/dataplot -O -DSTANDALONE dataplot.c $N $P $C $G
validata: validata.o $P $C
	cc -o $(BIN)/validata validata.o $P $C $(LIBS)
lsd: lsd.o critf.o $F
	cc -o $(BIN)/lsd lsd.o critf.o $F $(LIBS)
	@/bin/echo "lsd:" $(UNTESTED)
manstat.o: manstat.c
	cc $(CFLAGS) -O -c '-DDOCDIR=$(DOCDIR)' manstat.c
manstat: manstat.o $G
	cc -o $(BIN)/manstat manstat.o $G
	@/bin/echo Manual entries should be in $(DOCDIR)
perm: perm.o $C $R
	cc -o $(BIN)/perm perm.o $C $R
reverse: reverse.o $G $S $C
	cc -o $(BIN)/reverse reverse.o $G $S $C
ts: ts.o $N cor.o $C $F barplot.o $W $G
	cc -o $(BIN)/ts ts.o $G $N cor.o $F barplot.o $C $W $(LIBS)
series: series.o $N
	cc -o $(BIN)/series series.o $N
repeat: repeat.o $C $N
	cc -o $(BIN)/repeat repeat.o $C $N
oneway: oneway.o $C $N $G $W $F $V
	cc -o $(BIN)/oneway oneway.o $C $N $G $W $F $V $(LIBS)
ttest:
	make oneway
	-/bin/ln $(BIN)/oneway $(BIN)/ttest
stats: stats.o number.o getword.o
	cc -o $(BIN)/stats stats.o number.o getword.o -lm