summaryrefslogtreecommitdiff
path: root/source4/param
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-13 16:32:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:12 -0500
commite153a8099e9a187e6bcac6507ed4b1ddfe7cb764 (patch)
treed8eda141f9a3b4a091d4b6a6167e3d46d4fc7e02 /source4/param
parentd563c448f7971a8171c101f23e92c19aa2327a90 (diff)
downloadsamba-e153a8099e9a187e6bcac6507ed4b1ddfe7cb764.tar.gz
samba-e153a8099e9a187e6bcac6507ed4b1ddfe7cb764.tar.bz2
samba-e153a8099e9a187e6bcac6507ed4b1ddfe7cb764.zip
r14327: Replace MAJOR_VERSION/MINOR_VERSION/RELEASE_VERSION with two parameters:
- VERSION: should contain the current version. Will be made part of the filename. - SO_VERSION: should contain the latest version that this on is compatible to. Will be used for setting the soname of the shared library. Fix sonames and use them on platforms that support them Remove symlinking code. ldconfig will take care of creating the symlinks now that we set the soname. (This used to be commit 7871b07e21c85c63d0ecac4c31b98dc112d18af5)
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/config.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/param/config.mk b/source4/param/config.mk
index 3b06bd99ff..b6e94c004c 100644
--- a/source4/param/config.mk
+++ b/source4/param/config.mk
@@ -6,6 +6,15 @@ OBJ_FILES = ../dynconfig.o \
REQUIRED_SUBSYSTEMS = LIBBASIC
PRIVATE_PROTO_HEADER = param.h
+PATH_FLAGS = -DCONFIGFILE=\"$(CONFIGFILE)\" -DSBINDIR=\"$(SBINDIR)\" \
+ -DBINDIR=\"$(BINDIR)\" -DLMHOSTSFILE=\"$(LMHOSTSFILE)\" \
+ -DLOCKDIR=\"$(LOCKDIR)\" -DPIDDIR=\"$(PIDDIR)\" -DDATADIR=\"$(DATADIR)\" \
+ -DLOGFILEBASE=\"$(LOGFILEBASE)\" -DSHLIBEXT=\"$(SHLIBEXT)\" \
+ -DCONFIGDIR=\"$(CONFIGDIR)\" -DNCALRPCDIR=\"$(NCALRPCDIR)\" \
+ -DSWATDIR=\"$(SWATDIR)\" -DPRIVATE_DIR=\"$(PRIVATEDIR)\" \
+ -DMODULESDIR=\"$(MODULESDIR)\" -DJSDIR=\"$(JSDIR)\" \
+ -DSETUPDIR=\"$(SETUPDIR)\" -DWINBINDD_SOCKET_DIR=\"$(WINBINDD_SOCKET_DIR)\"
+
dynconfig.o: dynconfig.c Makefile
@echo Compiling $<
@$(CC) $(CFLAGS) $(PICFLAG) $(PATH_FLAGS) -c $< -o $@