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 ACINCLUDE_M4_DEPS = $(ACINCLUDE_M4I) $(LIBTOOL_M4I)
10 CLIENT_SUBDIRS = client-src dumper-src
13 TAPE_SUBDIRS = tape-src
16 SERVER_SUBDIRS = server-src changer-src
19 RESTORE_SUBDIRS = restore-src
22 RECOVER_SUBDIRS = recover-src oldrecover-src
27 # 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 \
56 contrib/sst/Makefile \
58 contrib/sst/README.Amanda \
60 contrib/sst/sst.conf \
61 contrib/sst/sst_def.h \
62 contrib/sst/sstest.c \
64 contrib/gsc/cfggsc.c \
65 contrib/gsc/defgsc.c \
68 contrib/gsc/gscdds.h \
69 contrib/gsc/makefile \
70 contrib/gsc/tstinq.c \
71 contrib/gsc/ucfggsc.c \
72 patches/regex-3.6alpha.patch \
73 patches/samba-largefs.patch \
74 patches/tar-1.12.patch \
86 regex-src/regerror.c \
95 regex-src/fake/limits.h \
96 regex-src/fake/memmove.c \
97 regex-src/fake/stdlib.h
99 $(ACINCLUDE_M4): $(ACINCLUDE_M4_DEPS)
101 @cat $(ACINCLUDE_M4_DEPS) > $@
103 libtool: $(LIBTOOL_DEPS)
104 $(SHELL) ./config.status --recheck
106 ## This is only meaningful for snapshots, but it won't hurt releases.
107 CONFIG_STATUS = config.status
108 $(CONFIG_STATUS): $(SNAPSHOT_STAMP)
110 : SNAPSHOT file was removed, will reconfigure...
113 (cd amandad-src; make lint)
114 (cd changer-src; make lint)
115 (cd client-src; make lint)
116 (cd common-src; make lint)
117 (cd oldrecover-src; make lint)
118 (cd recover-src; make lint)
119 (cd regex-src; make lint)
120 (cd restore-src; make lint)
121 (cd server-src; make lint)
122 (cd tape-src; make lint)
124 ## Do not release the *.test.c sources. They get built on the fly and
125 ## would contain a path from the distribution machine, which will just
126 ## confuse the target user.
129 find $(distdir)/. -name '*.test.c' -exec rm {} \;