summaryrefslogtreecommitdiff
path: root/source4/dynconfig/config.mk
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-05-28 12:07:20 +1000
committerAndrew Tridgell <tridge@samba.org>2008-05-28 12:07:20 +1000
commit275e057bea09c1d15228963a5b5650df28a4b24b (patch)
treefc24aee4174815930451e86f73d1997028169a49 /source4/dynconfig/config.mk
parent0dbef08a9a4ae127f4eaf80dfbbb00e000bdf866 (diff)
parent715cee3bdbabd86b7603fbb43da470bdb8c1fe9d (diff)
downloadsamba-275e057bea09c1d15228963a5b5650df28a4b24b.tar.gz
samba-275e057bea09c1d15228963a5b5650df28a4b24b.tar.bz2
samba-275e057bea09c1d15228963a5b5650df28a4b24b.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
(This used to be commit ecb0e5477aa63180daade5c597e7ac2aebfc1e15)
Diffstat (limited to 'source4/dynconfig/config.mk')
-rw-r--r--source4/dynconfig/config.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/source4/dynconfig/config.mk b/source4/dynconfig/config.mk
new file mode 100644
index 0000000000..5f2887f8b6
--- /dev/null
+++ b/source4/dynconfig/config.mk
@@ -0,0 +1,23 @@
+[SUBSYSTEM::DYNCONFIG]
+
+DYNCONFIG_OBJ_FILES = $(dynconfigsrcdir)/dynconfig.o \
+ $(dynconfigsrcdir)/version.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 = $(sysconfdir)/smb.conf
+PKGCONFIGDIR = $(libdir)/pkgconfig
+LMHOSTSFILE = $(sysconfdir)/lmhosts
+
+$(dynconfigsrcdir)/dynconfig.o: CFLAGS+=-DCONFIGFILE=\"$(CONFIGFILE)\" -DBINDIR=\"$(bindir)\" \
+ -DLMHOSTSFILE=\"$(LMHOSTSFILE)\" \
+ -DLOCKDIR=\"$(lockdir)\" -DPIDDIR=\"$(piddir)\" -DDATADIR=\"$(datadir)\" \
+ -DLOGFILEBASE=\"$(logfilebase)\" \
+ -DCONFIGDIR=\"$(sysconfdir)\" -DNCALRPCDIR=\"$(NCALRPCDIR)\" \
+ -DSWATDIR=\"$(SWATDIR)\" \
+ -DPRIVATE_DIR=\"$(privatedir)\" \
+ -DMODULESDIR=\"$(modulesdir)\" -DJSDIR=\"$(JSDIR)\" \
+ -DTORTUREDIR=\"$(TORTUREDIR)\" \
+ -DSETUPDIR=\"$(SETUPDIR)\" -DWINBINDD_SOCKET_DIR=\"$(winbindd_socket_dir)\"
+