-# autoconf/Make.common.in -*- Makefile -*-
-# release date (man), LSM date, version number/name, current maintainer
+#
+# This file is pulled in by all the Unix Bacula Makefiles
+# so it has all the "common" definitions
+#
+# Bacula® - The Network Backup Solution
+#
+# Copyright (C) 2000-2014 Free Software Foundation Europe e.V.
+#
+# The main author of Bacula is Kern Sibbald, with contributions from many
+# others, a complete list can be found in the file AUTHORS.
+#
+# You may use this file and others of this release according to the
+# license defined in the LICENSE file, which includes the Affero General
+# Public License, v3.0 ("AGPLv3") and some additional permissions and
+# terms pursuant to its AGPLv3 Section 7.
+#
+# Bacula® is a registered trademark of Kern Sibbald.
+#
+
DATE="@DATE@"
LSMDATE=@LSMDATE@
VERSION=@VERSION@
exec_prefix = @exec_prefix@
binprefix =
manprefix =
+datarootdir = @datarootdir@
+docdir = @docdir@
sbindir = @sbindir@
+libdir = @libdir@
+includedir = @includedir@
sysconfdir = @sysconfdir@
+plugindir = @plugindir@
scriptdir = @scriptdir@
+archivedir = @archivedir@
mandir = @mandir@
manext = 8
CPP = @CPP@
CXX = @CXX@
MV = @MV@
-RM = @RM@
-RMF = @RM@ -f
+RM = @REMOVE@
+RMF = $(RM) -f
CP = @CP@
SED = @SED@
AWK = @AWK@
-ECHO = @ECHO@
+ECHO = ${ECHO:-/bin/echo}
CMP = @CMP@
TBL = @TBL@
AR = @AR@
+GMAKE = @GMAKE@
RANLIB = @RANLIB@
MKDIR = @BUILD_DIR@/autoconf/mkinstalldirs
INSTALL = @INSTALL@
# add the -s to the following in PRODUCTION mode
-INSTALL_PROGRAM = @INSTALL@ -m @SBINPERM@
-INSTALL_DATA = @INSTALL@ -m 644
-INSTALL_SCRIPT = @INSTALL@ -m @SBINPERM@
-INSTALL_CONFIG = @INSTALL@ -m 640
+INSTALL_PROGRAM = $(INSTALL) -m @SBINPERM@
+INSTALL_LIB = $(INSTALL) -m 755
+INSTALL_DATA = $(INSTALL) -m 644
+INSTALL_SCRIPT = $(INSTALL) -m @SBINPERM@
+INSTALL_CONFIG = $(INSTALL) -m 640
+
+#
+# Libtool specific settings
+#
+DEFAULT_OBJECT_TYPE = @DEFAULT_OBJECT_TYPE@
+DEFAULT_ARCHIVE_TYPE = @DEFAULT_ARCHIVE_TYPE@
+DEFAULT_SHARED_OBJECT_TYPE = @DEFAULT_SHARED_OBJECT_TYPE@
+LIBTOOL = @BUILD_DIR@/libtool
+LIBTOOL_COMPILE = @LIBTOOL@ --silent --tag=CXX --mode=compile
+LIBTOOL_LINK = @LIBTOOL@ --silent --tag=CXX --mode=link
+LIBTOOL_INSTALL = @LIBTOOL@ --silent --tag=CXX --mode=install
+LIBTOOL_INSTALL_FINISH = @LIBTOOL@ --silent --tag=CXX --finish --mode=install
+LIBTOOL_UNINSTALL = @LIBTOOL@ --silent --tag=CXX --mode=uninstall
+LIBTOOL_CLEAN = @LIBTOOL@ --silent --tag=CXX --mode=clean
# Flags & libs
-CFLAGS = @CFLAGS@
-CPPFLAGS = @CPPFLAGS@
+CFLAGS = @CFLAGS@ @OPENSSL_INC@
+
+CPPFLAGS = @CPPFLAGS@ @OPENSSL_INC@
LDFLAGS = @LDFLAGS@
TTOOL_LDFLAGS = @TTOOL_LDFLAGS@
#DEFS = @DEFS@ @LOCAL_DEFS@
WRAPLIBS = @WRAPLIBS@
DINCLUDE = @DINCLUDE@
DLIB = @DLIB@
-DB_LIBS = @DB_LIBS@
-PYTHON_LIBS = @PYTHON_LIBS@
-PYTHON_INC = @PYTHON_INCDIR@
+OPENSSL_LIBS = @OPENSSL_LIBS@
+DLLIBS = @LIBADD_DLOPEN@
+
# Windows (cygwin) flags
WCFLAGS = @WCFLAGS@