diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-05-27 13:38:39 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-05-27 13:38:39 +0200 |
commit | 5c66b80c07bfa379971ffaed1936b43a44f4e581 (patch) | |
tree | 8e9f40d6305a736c6af018001d699b506acde06e /source4/dynconfig/config.mk | |
parent | 6cdfbd838094749557ee752fee23579ce71a0d53 (diff) | |
download | samba-5c66b80c07bfa379971ffaed1936b43a44f4e581.tar.gz samba-5c66b80c07bfa379971ffaed1936b43a44f4e581.tar.bz2 samba-5c66b80c07bfa379971ffaed1936b43a44f4e581.zip |
Move version.o and dynconfig.o into their own directory.
(This used to be commit 2cc924a412578c052a7793408300c28c8bc87c2d)
Diffstat (limited to 'source4/dynconfig/config.mk')
-rw-r--r-- | source4/dynconfig/config.mk | 23 |
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)\" + |