PageRenderTime 238ms CodeModel.GetById 75ms app.highlight 69ms RepoModel.GetById 93ms app.codeStats 0ms

/amanda/tags/amanda261p2/Makefile.am

#
Makefile | 108 lines | 87 code | 12 blank | 9 comment | 5 complexity | eb9eeb216ef9402d5094ea2a78d06e20 MD5 | raw file
  1## Process this file with automake to produce Makefile.in
  2AUTOMAKE_OPTIONS = 1.4 foreign
  3
  4include $(top_srcdir)/config/automake/vars.am
  5include $(top_srcdir)/config/automake/installperms.am
  6
  7ACLOCAL_AMFLAGS = --force -I . -I config -I config/gettext-macros -I config/gnulib -I config/amanda -I config/macro-archive
  8
  9if WANT_CLIENT
 10CLIENT_SUBDIRS = client-src application-src
 11endif
 12if WANT_SERVER
 13SERVER_SUBDIRS = device-src server-src changer-src xfer-src
 14endif
 15if WANT_RESTORE
 16RESTORE_SUBDIRS = restore-src
 17endif
 18if WANT_RECOVER
 19RECOVER_SUBDIRS = recover-src oldrecover-src
 20endif
 21if WANT_AMPLOT
 22PLOT_SUBDIRS = amplot
 23endif
 24# order is significant, don't change it arbitrarily
 25SUBDIRS = . \
 26	gnulib \
 27	config \
 28	common-src \
 29	amar-src \
 30	amandad-src \
 31	$(TAPE_SUBDIRS) \
 32	$(CLIENT_SUBDIRS) \
 33	$(SERVER_SUBDIRS) \
 34	$(RESTORE_SUBDIRS) \
 35	$(RECOVER_SUBDIRS) \
 36	$(PLOT_SUBDIRS) \
 37	perl \
 38	po \
 39	man \
 40	example \
 41	packaging \
 42	installcheck
 43
 44pkgdata_DATA = \
 45	ReleaseNotes	\
 46	COPYRIGHT	\
 47	NEWS		\
 48	ChangeLog
 49
 50EXTRA_DIST += $(SNAPSHOT_STAMP) \
 51	$(pkgdata_DATA)			\
 52        autogen 			\
 53	contrib/README			\
 54	contrib/dbbackup.README		\
 55	contrib/dbbackup.ksh		\
 56	contrib/dbbackup.sql		\
 57	contrib/dbbackup.tcl		\
 58	contrib/mkamandisk		\
 59	contrib/set_prod_link.pl	\
 60	contrib/gsc/README		\
 61	contrib/gsc/cfggsc.c		\
 62	contrib/gsc/defgsc.c		\
 63	contrib/gsc/gsc.add		\
 64	contrib/gsc/gscdd.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		\
 72	UPGRADING			\
 73	DEVELOPING
 74
 75libtool: $(LIBTOOL_DEPS)
 76	$(SHELL) ./config.status --recheck
 77
 78# empty out the installperms manifest file when we start
 79install-exec-local: installperms-init
 80install-data-local: installperms-init
 81
 82## This is only meaningful for snapshots, but it won't hurt releases.
 83CONFIG_STATUS = config.status
 84$(CONFIG_STATUS): $(SNAPSHOT_STAMP)
 85SNAPSHOT:
 86	: SNAPSHOT file was removed, will reconfigure...
 87
 88lint:
 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)
 98
 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.
102
103dist-hook:
104	find $(distdir)/. -name '*.test.c' -exec rm {} \;
105
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'.
108DISTCHECK_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