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

⟦84fb45cbe⟧ TextFile

    Length: 5622 (0x15f6)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/stat-5.3/eu/stat/src/Makefile« 

TextFile

#	This is the makefile for |STAT data analysis programs.
#	There are notes at the beginning of this file.  Mostly they
#	help you define variables for customization.
#		B   	where compiled binaries are moved
#		PROGS	all the program names (for "make all")
#		CFLAGS	C compiler options
#		L   	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 you are using the Lattice C Compiler, this is done for you,
#	and the -DLATTICE flag is too.
#
\f


B      = /faculty/perlman/stat/bin
CFLAGS = -O
L      = -lm
PR     = /usr/ucb/print
ED     = vi
RM     = /bin/rm -f
MV     = /bin/mv
ECHO   = /bin/echo

MAINS = abut.c anova.c calc.y colex.c contab.c desc.c dm.y dprime.c dsort.c \
fpack.c linex.c maketrix.c oneway.c rankind.c rankrel.c \
pair.c perm.c probdist.c ranksort.c regress.c repeat.c reverse.c \
series.c stats.c transpose.c ts.c validata.c

FREEBIES = ff fpack
RETRO = cat

UTILS = barplot.c centile.c chisq.c chitest.c cistrcmp.c confirm.c cor.c \
f.c fisher.c fiveplot.c getopt.c getword.c mdmat.c \
number.c numcmp.c numline.c ordstat.c \
parseline.c primes.c prodlist.c random.c readlines.c setint.c setreal.c \
skipnumber.c specol.c strings.c tmpfile.c z.c

GPROGS = abut anova colex contab desc dprime dsort \
linex maketrix rankind rankrel oneway pair perm probdist ranksort \
regress repeat reverse stats transpose ts validata

PROGS = calc dm series $(FREEBIES) $(GPROGS)

C=$(CC) $(CFLAGS)
G=getopt.o
i=setint.o
N=number.o
P=parseline.o
R=random.o
r=setreal.o
S=specol.o
T=tmpfile.o
W=getword.o

#	The UNTESTED programs have not been rigorously tested
UNTESTED = "This program has not been rigorously tested"
\f


all:
	@make -i -s $(PROGS)

options:
	@for i in $(GPROGS); do $$i -O 2> /usr/local/lib/options/$$i; done

print:
	@$(PR) makefile *.h $(MAINS) $(UTILS)

edmains:
	@$(ED) $(MAINS)

clean:
	@-$(RM) *.o y.tab.* core a.out *.P *.X *mon.out cscope.out $(PROGS)
\f


abut: abut.o $N $G $i
	$C -o $B/abut abut.o $N $G $i

anova: anova.o $P $N f.o $T $G numcmp.o
	$C -o $B/anova anova.o $P $N f.o $T $G numcmp.o $L

calc.c: calc.y
	yacc calc.y
	$(MV) y.tab.c calc.c
calc: calc.o skipnumber.o
	$C -o $B/calc calc.o skipnumber.o $L

cat:
	$C -o $B/cat -DCAT filter.c

colex: colex.o $P $N $G $S
	$C -o $B/colex colex.o $P $N $G $S

contab: contab.o $N $T $P $G chisq.o z.o fisher.o prodlist.o primes.o numcmp.o $i
	$C -DI_DATA -c mdmat.c
	$C -o $B/contab contab.o $N $T $P $G chisq.o z.o mdmat.o fisher.o prodlist.o primes.o numcmp.o $i $L
contab.o:
	$C -DI_DATA -c contab.c

desc: desc.o $G f.o $r $N $W centile.o
	$C -o $B/desc desc.o $G $r $N f.o $W centile.o $L

# 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
	$C -DPTREE -c dm.c
dm.c: dm.y
	yacc dm.y
	$(MV) y.tab.c dm.c
dm: dm.o strings.o $N $R confirm.o skipnumber.o
	$C -o $B/dm dm.o $N strings.o $R confirm.o skipnumber.o $L

dprime: dprime.o $N z.o $P $G
	$C -o $B/dprime dprime.o $N z.o $P $G $L
	@$(ECHO) "dprime:" $(UNTESTED)

dsort: dsort.o $N $P $S numcmp.o readlines.o $i cistrcmp.o readmatrix.o
	$C -o $B/dsort dsort.o $N $P $S numcmp.o readlines.o $i cistrcmp.o readmatrix.o

ff: ff.o $N $G $i filter.o fls.o
	$C -o $B/ff ff.o $N $G $i filter.o fls.o

fpack: fpack.o filter.o $G
	$C -o $B/fpack fpack.o filter.o $G

linex: linex.o $N $G $S readlines.o
	$C -o $B/linex linex.o $N $G $S readlines.o

oneway: oneway.o $N $G $W f.o $i $r numline.o
	$C -o $B/oneway oneway.o $N $G $W f.o $i $r numline.o $L

rankind: rankind.o $W centile.o $G $r $N fisher.o prodlist.o primes.o \
		chisq.o z.o $i fiveplot.o numline.o ranksort.o ordstat.o chitest.o
	$C -o $B/rankind rankind.o $W centile.o $G $r $N fisher.o \
		prodlist.o primes.o chisq.o z.o $i fiveplot.o numline.o \
		ranksort.o ordstat.o chitest.o $L

rankrel: rankrel.o $P $G $N $i binomial.o centile.o prodlist.o primes.o \
		chisq.o z.o ranksort.o ordstat.o cor.o f.o
	$C -o $B/rankrel rankrel.o $P $G $N $i binomial.o centile.o \
		prodlist.o primes.o chisq.o z.o ranksort.o ordstat.o cor.o f.o $L

pair: pair.o $G $i $r $N f.o $P numline.o
	$C -o $B/pair pair.o $G setint.o setreal.o $N f.o $P numline.o $L

perm: perm.o $R $N $G $i readlines.o numcmp.o cistrcmp.o
	$C -o $B/perm perm.o $R $N $G $i readlines.o numcmp.o cistrcmp.o

probdist: probdist.o z.o chisq.o f.o $N $P $R $G $i binomial.o prodlist.o primes.o
	$C -o $B/probdist probdist.o z.o chisq.o f.o $N $P $R $G $i binomial.o prodlist.o primes.o $L

maketrix: maketrix.o $N $W $G
	$C -o $B/maketrix maketrix.o $N $W $G

ranksort: $i $N $P $G
	$C -c -DRANKSORT ranksort.c
	$C -o $B/ranksort ranksort.o $i $N $P $G
	-$(RM) ranksort.o

regress: regress.o $P $N f.o $i $G
	$C -o $B/regress regress.o $P $N f.o $i $G $L

repeat: repeat.o $N $G $i readlines.o filter.o
	$C -o $B/repeat repeat.o $N $G $i readlines.o filter.o

reverse: reverse.o $G $P readlines.o
	$C -o $B/reverse reverse.o $G $P readlines.o

series: series.o $N
	$C -o $B/series series.o $N $L

stats: stats.o $N $W $G
	$C -o $B/stats stats.o $N $W $G $L

transpose: transpose.o $P $N $G $i
	$C -o $B/transpose transpose.o $G $P $N $i

ts: ts.o $i $r $N cor.o f.o barplot.o $W $G numline.o
	$C -o $B/ts ts.o $G $i $r $N cor.o f.o barplot.o $W numline.o $L

validata: validata.o $P $N $G
	$C -o $B/validata validata.o $P $N $G