1 # ./Makefile.in -*- Makefile -*-
2 # $Id: Makefile.in,v 1.9 2005-01-17 01:55:12 root Exp $
12 subdirs = src doc src/test
13 allsubdirs = $(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 @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done
31 $(RMF) config.h config.status config.log libtool
34 $(RMF) *~ config.cache
35 $(RMF) -r autom4te.cache
36 @for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done
39 # entry points for other programs
45 (cd src/test; ${MAKE} tests)
47 #-------------------------------------------------------------------------
48 configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/config.h.in
53 if test -x config.status; then config.status --recheck; \
54 else $(SHELL) configure; fi
56 autoconf/config.h.in: autoconf/configure.in
61 $(MKDIR) $(DESTDIR)$(bindir)
62 $(MKDIR) $(DESTDIR)$(mandir)
65 @for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done
68 $(SHELL) config.status
72 # distclean goal is for making a clean source tree, but if you have run
73 # configure from a different directory, then doesn't destroy all your
74 # hardly compiled and linked stuff. That's why there is always $(srcdir)/
75 # In that case most of those commands do nothing, except cleaning *~
76 # and cleaning source links.
78 (cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool)
79 @for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done
80 (cd $(srcdir); $(RMF) Makefile autoconf/Make.common)
83 cd doc && $(MAKE) distdepend
86 rsync -aR `cat MANIFEST` $(VERNAME)/.
89 tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz
93 tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2
98 # ------------------------------------------------------------------------