1 ## Process this file with automake to produce Makefile.in
2 AUTOMAKE_OPTIONS = 1.4 foreign
4 ACLOCAL_AMFLAGS = --force -I . -I config -I config/gettext-macros -I config/gnulib -I config/amanda -I config/macro-archive
7 CLIENT_SUBDIRS = client-src dumper-src
10 TAPE_SUBDIRS = tape-src
13 SERVER_SUBDIRS = device-src server-src changer-src
16 RESTORE_SUBDIRS = restore-src
19 RECOVER_SUBDIRS = recover-src oldrecover-src
24 # order is significant, don't change it arbitrarily
49 EXTRA_DIST = $(SNAPSHOT_STAMP) \
53 contrib/dbbackup.README \
54 contrib/dbbackup.ksh \
55 contrib/dbbackup.sql \
56 contrib/dbbackup.tcl \
58 contrib/set_prod_link.pl \
60 contrib/gsc/cfggsc.c \
61 contrib/gsc/defgsc.c \
64 contrib/gsc/gscdds.h \
65 contrib/gsc/makefile \
66 contrib/gsc/tstinq.c \
67 contrib/gsc/ucfggsc.c \
68 patches/regex-3.6alpha.patch \
69 patches/samba-largefs.patch \
70 patches/tar-1.12.patch \
74 libtool: $(LIBTOOL_DEPS)
75 $(SHELL) ./config.status --recheck
77 ## This is only meaningful for snapshots, but it won't hurt releases.
78 CONFIG_STATUS = config.status
79 $(CONFIG_STATUS): $(SNAPSHOT_STAMP)
81 : SNAPSHOT file was removed, will reconfigure...
84 (cd amandad-src; make lint)
85 (cd changer-src; make lint)
86 (cd client-src; make lint)
87 (cd common-src; make lint)
88 (cd oldrecover-src; make lint)
89 (cd recover-src; make lint)
90 (cd restore-src; make lint)
91 (cd server-src; make lint)
92 (cd tape-src; make lint)
94 ## Do not release the *.test.c sources. They get built on the fly and
95 ## would contain a path from the distribution machine, which will just
96 ## confuse the target user.
99 find $(distdir)/. -name '*.test.c' -exec rm {} \;
101 # ensure that configure gets the right arguments for distcheck; this keeps the
102 # user/group through to the distcheck, rather than defaulting back to 'amanda'.
103 DISTCHECK_CONFIGURE_FLAGS = --with-user=$(CLIENT_LOGIN) --with-group=$(SETUID_GROUP) --with-owner=$(BINARY_OWNER) --disable-installperms --without-force-uid --with-tmpdir=$(AMANDA_TMPDIR) SINGLE_USERID=yes