2 # Author: Kern Sibbald, 2002
5 # This file is pulled in by all the Unix Bacula Makefiles
6 # so it has all the "common" definitions
8 # Bacula® - The Network Backup Solution
10 # Copyright (C) 2000-2014 Free Software Foundation Europe e.V.
12 # The main author of Bacula is Kern Sibbald, with contributions from many
13 # others, a complete list can be found in the file AUTHORS.
15 # You may use this file and others of this release according to the
16 # license defined in the LICENSE file, which includes the Affero General
17 # Public License, v3.0 ("AGPLv3") and some additional permissions and
18 # terms pursuant to its AGPLv3 Section 7.
20 # Bacula® is a registered trademark of Kern Sibbald.
26 VERNAME=bacula-$(VERSION)#
28 MAINTEMAIL=<kern@sibbald.com>#
34 #-------------------------------------------------------------------------
38 # Installation target directories & other installation stuff
40 exec_prefix = @exec_prefix@
43 datarootdir = @datarootdir@
47 includedir = @includedir@
48 sysconfdir = @sysconfdir@
49 plugindir = @plugindir@
50 scriptdir = @scriptdir@
51 archivedir = @archivedir@
57 # Tools & program stuff
73 MKDIR = @BUILD_DIR@/autoconf/mkinstalldirs
75 # add the -s to the following in PRODUCTION mode
76 INSTALL_PROGRAM = $(INSTALL) -m @SBINPERM@
77 INSTALL_LIB = $(INSTALL) -m 755
78 INSTALL_DATA = $(INSTALL) -m 644
79 INSTALL_SCRIPT = $(INSTALL) -m @SBINPERM@
80 INSTALL_CONFIG = $(INSTALL) -m 640
83 # Libtool specific settings
85 DEFAULT_OBJECT_TYPE = @DEFAULT_OBJECT_TYPE@
86 DEFAULT_ARCHIVE_TYPE = @DEFAULT_ARCHIVE_TYPE@
87 DEFAULT_SHARED_OBJECT_TYPE = @DEFAULT_SHARED_OBJECT_TYPE@
88 LIBTOOL = @BUILD_DIR@/libtool
89 LIBTOOL_COMPILE = @LIBTOOL@ --silent --tag=CXX --mode=compile
90 LIBTOOL_LINK = @LIBTOOL@ --silent --tag=CXX --mode=link
91 LIBTOOL_INSTALL = @LIBTOOL@ --silent --tag=CXX --mode=install
92 LIBTOOL_INSTALL_FINISH = @LIBTOOL@ --silent --tag=CXX --finish --mode=install
93 LIBTOOL_UNINSTALL = @LIBTOOL@ --silent --tag=CXX --mode=uninstall
94 LIBTOOL_CLEAN = @LIBTOOL@ --silent --tag=CXX --mode=clean
97 CFLAGS = @CFLAGS@ @OPENSSL_INC@
99 CPPFLAGS = @CPPFLAGS@ @OPENSSL_INC@
101 TTOOL_LDFLAGS = @TTOOL_LDFLAGS@
102 #DEFS = @DEFS@ @LOCAL_DEFS@
104 WRAPLIBS = @WRAPLIBS@
105 DINCLUDE = @DINCLUDE@
107 OPENSSL_LIBS = @OPENSSL_LIBS@
108 DLLIBS = @LIBADD_DLOPEN@
111 # Windows (cygwin) flags
113 WLDFLAGS = @WLDFLAGS@
115 # X Include directory
116 #XINC = @X_CFLAGS@ @XPM_CFLAGS@
118 # extra libraries needed by X on some systems, X library location
119 #XLIB = @X_LIBS@ @XPM_LIBS@ -lX11 @X_EXTRA_LIBS@
121 # End of common section of the Makefile
122 #-------------------------------------------------------------------------