From b4ae9868d0657c4380ebac376b0a11b1f85f5321 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 27 Dec 2006 00:36:03 +0000 Subject: r20351: ensure these variables are set in the right place in the Makefile (This used to be commit 0ed2c0a0afea5b0d4c5f49e2493cb6eae694fe40) --- source4/dynconfig.mk | 7 +++++++ source4/main.mk | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'source4') diff --git a/source4/dynconfig.mk b/source4/dynconfig.mk index 0bdea20f94..abbe5077a0 100644 --- a/source4/dynconfig.mk +++ b/source4/dynconfig.mk @@ -1,6 +1,13 @@ [SUBSYSTEM::DYNCONFIG] OBJ_FILES = dynconfig.o +# set these to where to find various files +# These can be overridden by command line switches (see smbd(8)) +# or in smb.conf (see smb.conf(5)) +CONFIGFILE = $(CONFIGDIR)/smb.conf +PKGCONFIGDIR = $(LIBDIR)/pkgconfig +LMHOSTSFILE = $(CONFIGDIR)/lmhosts + PATH_FLAGS = -DCONFIGFILE=\"$(CONFIGFILE)\" \ -DBINDIR=\"$(BINDIR)\" -DLMHOSTSFILE=\"$(LMHOSTSFILE)\" \ -DLOCKDIR=\"$(LOCKDIR)\" -DPIDDIR=\"$(PIDDIR)\" -DDATADIR=\"$(DATADIR)\" \ diff --git a/source4/main.mk b/source4/main.mk index 3efdaf0987..2c15cf8912 100644 --- a/source4/main.mk +++ b/source4/main.mk @@ -84,13 +84,6 @@ showflags: # The permissions to give the executables INSTALLPERMS = 0755 -# set these to where to find various files -# These can be overridden by command line switches (see smbd(8)) -# or in smb.conf (see smb.conf(5)) -CONFIGFILE = $(CONFIGDIR)/smb.conf -PKGCONFIGDIR = $(LIBDIR)/pkgconfig -LMHOSTSFILE = $(CONFIGDIR)/lmhosts - install: showlayout installbin installdat installswat installmisc installlib \ installheader installpc installplugins -- cgit