Mac binaries
[jabaws.git] / website / archive / binaries / mac / src / disembl / Tisean_3.0.1 / source_f / Makefile
1 # Generated automatically from Makefile.in by configure.
2 SHELL = /bin/sh
3
4 prefix = /Users/jimp
5 exec_prefix = ${prefix}
6 BINDIR = ${exec_prefix}/bin
7
8 FC = 
9 FFLAGS = 
10 LDFLAGS = 
11 AR = ar
12 ARFLAGS = r
13 RANLIB = ranlib
14 INSTALL = /usr/bin/install -c
15 LOADLIBES = libtsa.a libsla.a
16 ERRUNIT = 
17
18 # list of executables we want to produce
19    BINS = c1 c2naive xc2 \
20           c2d c2g c2t \
21           pc predict stp \
22           lazy project addnoise compare upo upoembed cluster \
23           choose rms notch autocor spectrum wiener1 wiener2 \
24           surrogates endtoend timerev \
25           events intervals spikespec spikeauto \
26           henon ikeda lorenz ar-run xrecur 
27
28 # list of objects to be put in libtsa.a 
29    INC  = readfile.o xreadfile.o \
30           arguments.o commandline.o any_s.o istdio.o help.o verbose.o \
31           d1.o neigh.o normal.o rank.o \
32           nmore.o store_spec.o tospec.o
33
34 all: $(BINS) Randomize
35
36 istdio.o: istdio_temp.f
37         sed "s#ERRUNIT#${ERRUNIT}#" istdio_temp.f > istdio.f
38         $(FC) $(FFLAGS) -c istdio.f -o istdio.o
39
40 $(BINS): libtsa.a libsla.a *.f
41         -$(FC) $(FFLAGS) -o $@ $@.f $(LOADLIBES) $(LDFLAGS)
42
43 libtsa.a: $(INC)
44         $(AR) $(ARFLAGS) libtsa.a $?
45         $(RANLIB) libtsa.a
46
47 libsla.a: slatec/*.f
48         (cd slatec && $(MAKE))
49
50 Randomize: libtsa.a libsla.a
51         -(cd randomize && $(MAKE))
52
53 clean:
54         @rm -f istdio.f
55         @rm -f $(BINS)
56         -(cd randomize && $(MAKE) clean)
57
58 install: $(BINS)
59         -for bin in $(BINS); do $(INSTALL) $$bin $(BINDIR); done
60         -(cd randomize && $(MAKE) $@)
61
62 missing:
63         -@for bin in $(BINS); do \
64            test -z "`$$bin -h 2>&1 | grep Usage`" \
65               && echo   $$bin "(Wuppertal Fortran)" >>  ../missing.log; \
66            $$bin -h 2>&1 | cat >> ../install.log; \
67           done; :
68         -@(cd randomize && $(MAKE) $@)
69
70 uninstall:
71         -@for bin in $(BINS); do rm -f $(BINDIR)/$$bin; done
72         -@(cd randomize && $(MAKE) $@)