Added option item types
[grace.git] / Makefile
blobb50866d61d023a35a9356783ea2731407f513a0f
1 #####################################################
2 # Top-level Makefile for Grace #
3 #####################################################
4 # You should not change anything here. #
5 #####################################################
7 include Make.conf
9 subdirs : configure Make.conf
10 @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE)) || exit 1; done
12 all : subdirs
14 install : subdirs
15 @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE) install) || exit 1; done
16 $(MKINSTALLDIRS) $(DESTDIR)$(GRACE_HOME)
18 tests : subdirs
19 @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE) tests) || exit 1; done
21 check : subdirs
22 @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE) check) || exit 1; done
24 links : subdirs
25 @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE) links) || exit 1; done
27 clean :
28 @set -e; for i in $(SUBDIRS); do (cd $$i; $(MAKE) clean) || exit 1; done
30 distclean : clean
31 $(RM) config.log config.status config.cache include/config.h Make.conf
32 $(RM) auxiliary/convcal doc/FAQ.html doc/FAQ.pdf doc/UsersGuide.html doc/UsersGuide.pdf
33 $(RM) grconvert/grconvert lib/base/Make.dep lib/canvas/Make.dep lib/core/Make.dep lib/graal/Make.dep
34 $(RM) lib/graal/parser.c lib/graal/parser.h lib/graal/scanner.c lib/graal/scanner.h lib/grace/Make.dep
35 $(RM) lib/grace/xml_in.c lib/plot/Make.dep src/Make.dep src/pars.c src/xmgrace src/qtgrace
36 $(RM) -r autom4te.cache
38 devclean : distclean
39 $(RM) configure NEWS ChangeLog
41 texts : NEWS ChangeLog
43 NEWS : doc/NEWS.html
44 @lynx -dump $? > $@
46 ChangeLog : dummy
47 ./scripts/cvs2cl.pl -F trunk
49 Make.conf : ac-tools/Make.conf.in configure
50 @echo
51 @echo 'Please re-run ./configure'
52 @echo
53 @exit 1
55 configure : ac-tools/configure.in ac-tools/aclocal.m4
56 WANT_AUTOCONF_2_5=1 autoconf -o $@ ac-tools/configure.in
57 chmod +x $@
59 dummy :