diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-04-17 11:25:40 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-18 12:04:59 +1000 |
commit | 99caee5eef6e054ad6c94a00e3de869f764954f7 (patch) | |
tree | f0b1b50f5ada7b57720425709505c8f4b70b92b5 /source3 | |
parent | 9e9887d3232b335b5494f2d536a1fa8a625de86c (diff) | |
download | samba-99caee5eef6e054ad6c94a00e3de869f764954f7.tar.gz samba-99caee5eef6e054ad6c94a00e3de869f764954f7.tar.bz2 samba-99caee5eef6e054ad6c94a00e3de869f764954f7.zip |
build: Remove more of the s3 special cases in waf: only pidfile.c needs -DCONFIGFILE
Diffstat (limited to 'source3')
-rwxr-xr-x | source3/wscript_build | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/wscript_build b/source3/wscript_build index bd9241476c..1781bace42 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -50,7 +50,7 @@ LIB_SRC = ''' ${TDB_LIB_SRC} ../lib/util/debug_s3.c lib/dumpcore.c - lib/interface.c lib/pidfile.c + lib/interface.c lib/username.c lib/access.c lib/smbrun.c lib/wins_srv.c @@ -789,9 +789,15 @@ bld.SAMBA3_SUBSYSTEM('samba3util', deps='ndr security NDR_SECURITY samba-util UTIL_TDB ccan', vars=locals()) +bld.SAMBA3_SUBSYSTEM('pidfile', + source='lib/pidfile.c', + # only pidfile.c assumes that CONFIGFILE is set + cflags = ['-DCONFIGFILE="%s"' % bld.env['CONFIGFILE']]) + bld.SAMBA3_SUBSYSTEM('samba3core', source=LIB_SRC, deps=''' + pidfile samba3util LIBTSOCKET NDR_MESSAGING |