1 ## Process this file with automake to produce Makefile.in
2 AUTOMAKE_OPTIONS = 1.4 foreign
4 include $(top_srcdir)/config/automake/vars.am
5 include $(top_srcdir)/config/automake/installperms.am
7 ACLOCAL_AMFLAGS = --force -I . -I config -I config/gettext-macros -I config/gnulib -I config/amanda -I config/macro-archive
10 CLIENT_SUBDIRS = client-src application-src
13 SERVER_SUBDIRS = device-src server-src changer-src xfer-src
16 RESTORE_SUBDIRS = restore-src
19 RECOVER_SUBDIRS = recover-src oldrecover-src
24 # order is significant, don't change it arbitrarily
50 EXTRA_DIST += $(SNAPSHOT_STAMP) \
54 contrib/dbbackup.README \
55 contrib/dbbackup.ksh \
56 contrib/dbbackup.sql \
57 contrib/dbbackup.tcl \
59 contrib/set_prod_link.pl \
61 contrib/gsc/cfggsc.c \
62 contrib/gsc/defgsc.c \
65 contrib/gsc/gscdds.h \
66 contrib/gsc/makefile \
67 contrib/gsc/tstinq.c \
68 contrib/gsc/ucfggsc.c \
69 patches/regex-3.6alpha.patch \
70 patches/samba-largefs.patch \
71 patches/tar-1.12.patch \
75 libtool: $(LIBTOOL_DEPS)
76 $(SHELL) ./config.status --recheck
78 # empty out the installperms manifest file when we start
79 install-exec-local: installperms-init
80 install-data-local: installperms-init
82 ## This is only meaningful for snapshots, but it won't hurt releases.
83 CONFIG_STATUS = config.status
84 $(CONFIG_STATUS): $(SNAPSHOT_STAMP)
86 : SNAPSHOT file was removed, will reconfigure...
89 (cd amandad-src; make lint)
90 (cd changer-src; make lint)
91 (cd client-src; make lint)
92 (cd common-src; make lint)
93 (cd oldrecover-src; make lint)
94 (cd recover-src; make lint)
95 (cd restore-src; make lint)
96 (cd server-src; make lint)
97 (cd xfer-src; make lint)
99 ## Do not release the *.test.c sources. They get built on the fly and
100 ## would contain a path from the distribution machine, which will just
101 ## confuse the target user.
104 find $(distdir)/. -name '*.test.c' -exec rm {} \;
106 # ensure that configure gets the right arguments for distcheck; this keeps the
107 # user/group through to the distcheck, rather than defaulting back to 'amanda'.
108 DISTCHECK_CONFIGURE_FLAGS = --with-user=$(CLIENT_LOGIN) --with-group=$(SETUID_GROUP) --with-owner=$(BINARY_OWNER) --disable-installperms --without-amperldir --without-force-uid --with-tmpdir=$(AMANDA_TMPDIR) SINGLE_USERID=yes CLOBBER_MY_CONFIG=OK