1 ## Process this file with automake to produce Makefile.in
2 AUTOMAKE_OPTIONS = 1.4 foreign
4 ACINCLUDE_M4 = $(srcdir)/acinclude.m4
5 ACINCLUDE_M4I = $(srcdir)/config/acinclude.m4i
6 LIBTOOL_M4I = $(srcdir)/config/libtool.m4i
7 GNULIB_M4I = $(srcdir)/config/gnulib.m4i
8 ACINCLUDE_M4_DEPS = $(GNULIB_M4I) $(ACINCLUDE_M4I) $(LIBTOOL_M4I)
11 CLIENT_SUBDIRS = client-src dumper-src
14 TAPE_SUBDIRS = tape-src
17 SERVER_SUBDIRS = server-src changer-src
20 RESTORE_SUBDIRS = restore-src
23 RECOVER_SUBDIRS = recover-src oldrecover-src
28 # order is significant, don't change it arbitrarily
46 EXTRA_DIST = $(SNAPSHOT_STAMP) \
50 contrib/dbbackup.README \
51 contrib/dbbackup.ksh \
52 contrib/dbbackup.sql \
53 contrib/dbbackup.tcl \
55 contrib/set_prod_link.pl \
57 contrib/gsc/cfggsc.c \
58 contrib/gsc/defgsc.c \
61 contrib/gsc/gscdds.h \
62 contrib/gsc/makefile \
63 contrib/gsc/tstinq.c \
64 contrib/gsc/ucfggsc.c \
65 patches/regex-3.6alpha.patch \
66 patches/samba-largefs.patch \
67 patches/tar-1.12.patch
69 $(ACINCLUDE_M4): $(ACINCLUDE_M4_DEPS)
71 @cat $(ACINCLUDE_M4_DEPS) > $@
73 libtool: $(LIBTOOL_DEPS)
74 $(SHELL) ./config.status --recheck
76 ## This is only meaningful for snapshots, but it won't hurt releases.
77 CONFIG_STATUS = config.status
78 $(CONFIG_STATUS): $(SNAPSHOT_STAMP)
80 : SNAPSHOT file was removed, will reconfigure...
83 (cd amandad-src; make lint)
84 (cd changer-src; make lint)
85 (cd client-src; make lint)
86 (cd common-src; make lint)
87 (cd oldrecover-src; make lint)
88 (cd recover-src; make lint)
89 (cd restore-src; make lint)
90 (cd server-src; make lint)
91 (cd tape-src; make lint)
93 ## Do not release the *.test.c sources. They get built on the fly and
94 ## would contain a path from the distribution machine, which will just
95 ## confuse the target user.
98 find $(distdir)/. -name '*.test.c' -exec rm {} \;