1 # ./Makefile.in -*- Makefile -*-
2 # $Id: Makefile.in,v 1.3 2003-12-18 00:56:51 pcg Exp $
12 subdirs = src doc src/graphics src/test
13 allsubdirs = W11 $(subdirs)
15 DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog
17 DIST_CFG = autoconf/aclocal.m4 autoconf/xpm.m4 autoconf/libtool.m4 \
18 autoconf/configure.in autoconf/config.h.in \
19 autoconf/Make.common.in autoconf/install-sh autoconf/mkinstalldirs \
20 autoconf/config.guess autoconf/config.sub \
23 MKDIR = $(srcdir)/autoconf/mkinstalldirs
25 #-------------------------------------------------------------------------
27 all allbin alldoc tags:
28 @if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@) || exit 1; fi
29 @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done
32 $(RMF) config.h config.status config.log libtool
35 $(RMF) *~ config.cache
36 $(RMF) -r autom4te.cache
37 @if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@) || exit 1; fi
38 @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done
41 # entry points for other programs
50 (cd src/graphics; ${MAKE} qplot)
53 (cd src/test; ${MAKE} tests)
55 #-------------------------------------------------------------------------
56 configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/config.h.in
61 if test -x config.status; then config.status --recheck; \
62 else $(SHELL) configure; fi
64 autoconf/config.h.in: autoconf/configure.in
69 $(MKDIR) $(DESTDIR)$(bindir)
70 $(MKDIR) $(DESTDIR)$(mandir)
73 @if test x@host_os@ = xcygwin; then (cd W11; ${MAKE} $@) || exit 1; fi
74 @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done
77 $(SHELL) config.status
81 # distclean goal is for making a clean source tree, but if you have run
82 # configure from a different directory, then doesn't destroy all your
83 # hardly compiled and linked stuff. That's why there is always $(srcdir)/
84 # In that case most of those commands do nothing, except cleaning *~
85 # and cleaning source links.
87 (cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool)
88 @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done
89 (cd $(srcdir); $(RMF) Makefile autoconf/Make.common)
94 rsync -aR `cat MANIFEST` $(VERNAME)/.
97 tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz
100 tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2
104 # ------------------------------------------------------------------------