7 # autoconf/Make.common.in -*- Makefile -*-
8 # release date (man), LSM date, version number/name, current maintainer
12 VERNAME=bacula-$(VERSION)#
14 MAINTEMAIL=<kern@sibbald.com>#
15 #-------------------------------------------------------------------------
19 # Installation target directories & other installation stuff
21 exec_prefix = ${prefix}
24 sbindir = ${exec_prefix}/sbin
25 sysconfdir = ${prefix}/etc
26 scriptdir = @scriptdir@
27 mandir = ${prefix}/man/man1
30 # Tools & program stuff
39 INSTALL = /usr/bin/install -c
40 # add the -s to the following in PRODUCTION mode
41 INSTALL_PROGRAM = /usr/bin/install -c -m @SBINPERM@
42 INSTALL_DATA = /usr/bin/install -c -m 644
43 INSTALL_SCRIPT = /usr/bin/install -c -m @SBINPERM@
44 INSTALL_CONFIG = /usr/bin/install -c -m 640
47 # End of common section of the Makefile
48 #-------------------------------------------------------------------------
60 MKDIR = $(topdir)/autoconf/mkinstalldirs
62 #-------------------------------------------------------------------------
70 #-------------------------------------------------------------------------
77 configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/acconfig.h autoconf/config.h.in
79 ${RMF} -f config.cache config.log config.out config.status src/config.h
80 autoconf --prepend-include=$(srcdir)/autoconf \
81 autoconf/configure.in > configure
86 && CONFIG_FILES=$(thisdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
89 $(SHELL) config.status
94 # clean for distribution
99 @for subdir in freebsd linux solaris; do \
100 if [ -f $${subdir}/Makefile ]; then \
101 (cd $${subdir}; $(MAKE) devclean) \
103 # ------------------------------------------------------------------------