1 ## Process this file with automake to produce Makefile.in
2 AUTOMAKE_OPTIONS = 1.10 foreign
4 include $(top_srcdir)/config/automake/vars.am
5 include $(top_srcdir)/config/automake/installperms.am
7 ACLOCAL_AMFLAGS = --force -I config -I . -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
16 RECOVER_SUBDIRS = recover-src oldrecover-src
22 NDMP_SUBDIRS = ndmp-src
24 # order is significant, don't change it arbitrarily
52 EXTRA_DIST += $(SNAPSHOT_STAMP) \
56 contrib/dbbackup.README \
57 contrib/dbbackup.ksh \
58 contrib/dbbackup.sql \
59 contrib/dbbackup.tcl \
61 contrib/set_prod_link.pl \
63 contrib/gsc/cfggsc.c \
64 contrib/gsc/defgsc.c \
67 contrib/gsc/gscdds.h \
68 contrib/gsc/makefile \
69 contrib/gsc/tstinq.c \
70 contrib/gsc/ucfggsc.c \
71 patches/regex-3.6alpha.patch \
72 patches/samba-largefs.patch \
73 patches/tar-1.12.patch \
80 $(srcdir)/config/set_full_version $(top_srcdir)
82 config.status: FULL_VERSION
84 libtool: $(LIBTOOL_DEPS)
85 $(SHELL) ./config.status --recheck
87 # empty out the installperms manifest file when we start
88 install-exec-local: installperms-init
89 install-data-local: installperms-init
91 ## This is only meaningful for snapshots, but it won't hurt releases.
92 CONFIG_STATUS = config.status
93 $(CONFIG_STATUS): $(SNAPSHOT_STAMP)
95 : SNAPSHOT file was removed, will reconfigure...
98 (cd amandad-src; make lint)
99 (cd changer-src; make lint)
100 (cd client-src; make lint)
101 (cd common-src; make lint)
102 (cd oldrecover-src; make lint)
103 (cd recover-src; make lint)
104 (cd server-src; make lint)
105 (cd xfer-src; make lint)
107 ## Do not release the *.test.c sources. They get built on the fly and
108 ## would contain a path from the distribution machine, which will just
109 ## confuse the target user.
112 find $(distdir)/. -name '*.test.c' -exec rm {} \;
114 # ensure that configure gets the right arguments for distcheck; this keeps the
115 # user/group through to the distcheck, rather than defaulting back to 'amanda'.
116 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