Change Eclipse configuration
[jabaws.git] / website / archive / binaries / mac / src / disembl / Tisean_3.0.1 / Makefile.in
1 SHELL = /bin/sh
2
3 prefix = @prefix@
4 exec_prefix = @exec_prefix@
5 BINDIR = ${exec_prefix}/@bindir@
6 CC = @CC@
7 FC = @FC@
8 HAVE_NR = @HAVE_NR@
9
10 all:
11         @head -20 README
12         -if test -n "${FC}"; then (cd source_f && $(MAKE) $@); fi
13         -if test -n "${CC}"; then (cd source_c && $(MAKE) $@); fi
14
15 install: do_install missing
16         @echo "******************************************************************"
17         @echo "the following programs have been installed in" ${BINDIR}
18         @echo "type"
19         @echo "   $$ progname -h"
20         @echo "for individual options"
21         @echo ""
22         @grep Usage install.log | sed "s/ *Usage./   /"
23         @echo "                  (written to install.log)"
24         @echo ""
25         -@if test -s missing.log; then \
26            echo "the following programs could not be made/installed"; \
27            sed "s/^/    /" missing.log; \
28            echo "                  (written to missing.log)"; \
29            echo ""; \
30          fi
31         @echo "browse index.html for documentation"
32
33 do_install:
34         @rm -f install.log 
35         @test -d ${BINDIR} || (echo "${BINDIR} does not exist")
36         @test -d ${BINDIR} -a -n "${FC}" && (cd source_f && $(MAKE) install)
37         @test -d ${BINDIR} -a -n "${CC}" &&  (cd source_c && $(MAKE) install)
38
39 missing:
40         @rm -f missing.log
41         -if test -n "${FC}"; then (cd source_f && $(MAKE) $@); fi
42         -if test -n "${CC}"; then (cd source_c && $(MAKE) $@); fi
43
44 uninstall:
45         -if test -n "${FC}"; then (cd source_f && $(MAKE) $@); fi
46         -if test -n "${CC}"; then (cd source_c && $(MAKE) $@); fi
47
48 clean:
49         -(cd source_f && $(MAKE) $@)
50         -(cd source_c && $(MAKE) $@)
51         -@rm -f install.log missing.log config.*
52         -find . \( -name "*~" -o -name "#*#" -o -name "*.o" \
53                 -o -name "lib*.a" \) -exec rm -f {} \;
54
55 mproper: clean
56         -rm -f *.zip *.tar.gz *.tar.bz2 *.ZIP
57         -find . \( -name "Makefile" -o -name "stdin_*" -o -name tr \
58                 \) -exec rm -f {} \;
59
60 package: zip gz bzip2
61
62 zip: mproper
63         -(file=`basename $$PWD`; \
64         cd `dirname $$PWD`; \
65         rm -f $$file.zip; \
66         zip -r $$file.zip $$file; \
67         cd $$file; \
68         ls -l `dirname $$PWD`/$$file.zip )
69
70 gz: mproper
71         -(file=`basename $$PWD`; \
72         cd `dirname $$PWD`; \
73         tar -vchf $$file.tar $$file; \
74         gzip -vf $$file.tar; \
75         cd $$file; \
76         ls -l `dirname $$PWD`/$$file.tar.gz )
77
78 bzip2: mproper
79         -(file=`basename $$PWD`; \
80         cd `dirname $$PWD`; \
81         tar -vchf $$file.tar $$file; \
82         bzip2 -vf $$file.tar; \
83         cd $$file; \
84         ls -l `dirname $$PWD`/$$file.tar.bz2 )