summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-04-09 14:10:57 +0200
committerStefan Metzmacher <metze@samba.org>2010-04-09 16:28:28 +0200
commit2eaddcd9f2595442806cba3e2b9bcb08ee115720 (patch)
treee151c66ca8f4e1b75275cd62a4483dcd0bd8c9e8
parent48daa0b6ee1d7d1214455112b1e9dad406c29be3 (diff)
downloadsamba-2eaddcd9f2595442806cba3e2b9bcb08ee115720.tar.gz
samba-2eaddcd9f2595442806cba3e2b9bcb08ee115720.tar.bz2
samba-2eaddcd9f2595442806cba3e2b9bcb08ee115720.zip
s4:heimdal_build/wscript_build: create a HEIMDAL_ROKEN*_SOURCE variable
metze
-rw-r--r--source4/heimdal_build/wscript_build43
1 files changed, 40 insertions, 3 deletions
diff --git a/source4/heimdal_build/wscript_build b/source4/heimdal_build/wscript_build
index 0464348c8e..da32186eee 100644
--- a/source4/heimdal_build/wscript_build
+++ b/source4/heimdal_build/wscript_build
@@ -165,9 +165,47 @@ bld.SAMBA_ERRTABLE('HEIMDAL_HX509_ERR_ET',
bld.SAMBA_ERRTABLE('HEIMDAL_WIND_ERR_ET',
'../heimdal/lib/wind/wind_err.et')
+HEIMDAL_ROKEN_H_SOURCE = '''
+ ../heimdal/lib/roken/base64.c
+ ../heimdal/lib/roken/ct.c
+ ../heimdal/lib/roken/hex.c
+ ../heimdal/lib/roken/bswap.c
+ ../heimdal/lib/roken/dumpdata.c
+ ../heimdal/lib/roken/emalloc.c
+ ../heimdal/lib/roken/ecalloc.c
+ ../heimdal/lib/roken/getarg.c
+ ../heimdal/lib/roken/get_window_size.c
+ ../heimdal/lib/roken/getdtablesize.c
+ ../heimdal/lib/roken/h_errno.c
+ ../heimdal/lib/roken/issuid.c
+ ../heimdal/lib/roken/net_read.c
+ ../heimdal/lib/roken/net_write.c
+ ../heimdal/lib/roken/socket.c
+ ../heimdal/lib/roken/parse_time.c
+ ../heimdal/lib/roken/parse_units.c
+ ../heimdal/lib/roken/resolve.c
+ ../heimdal/lib/roken/roken_gethostby.c
+ ../heimdal/lib/roken/signal.c
+ ../heimdal/lib/roken/vis.c
+ ../heimdal/lib/roken/strlwr.c
+ ../heimdal/lib/roken/strsep_copy.c
+ ../heimdal/lib/roken/strsep.c
+ ../heimdal/lib/roken/strupr.c
+ ../heimdal/lib/roken/strpool.c
+ ../heimdal/lib/roken/estrdup.c
+ ../heimdal/lib/roken/erealloc.c
+ ../heimdal/lib/roken/simple_exec.c
+ ../heimdal/lib/roken/strcollect.c
+ ../heimdal/lib/roken/rtbl.c
+ ../heimdal/lib/roken/cloexec.c
+ ../heimdal/lib/roken/xfree.c
+ replace.c
+'''
+
+HEIMDAL_ROKEN_SOURCE = HEIMDAL_ROKEN_H_SOURCE
bld.SAMBA_SUBSYSTEM('HEIMDAL_ROKEN',
- '../heimdal/lib/roken/base64.c ../heimdal/lib/roken/ct.c ../heimdal/lib/roken/hex.c ../heimdal/lib/roken/bswap.c ../heimdal/lib/roken/dumpdata.c ../heimdal/lib/roken/emalloc.c ../heimdal/lib/roken/ecalloc.c ../heimdal/lib/roken/getarg.c ../heimdal/lib/roken/get_window_size.c ../heimdal/lib/roken/getdtablesize.c ../heimdal/lib/roken/h_errno.c ../heimdal/lib/roken/issuid.c ../heimdal/lib/roken/net_read.c ../heimdal/lib/roken/net_write.c ../heimdal/lib/roken/socket.c ../heimdal/lib/roken/parse_time.c ../heimdal/lib/roken/parse_units.c ../heimdal/lib/roken/resolve.c ../heimdal/lib/roken/roken_gethostby.c ../heimdal/lib/roken/signal.c ../heimdal/lib/roken/vis.c ../heimdal/lib/roken/strlwr.c ../heimdal/lib/roken/strsep_copy.c ../heimdal/lib/roken/strsep.c ../heimdal/lib/roken/strupr.c ../heimdal/lib/roken/strpool.c ../heimdal/lib/roken/estrdup.c ../heimdal/lib/roken/erealloc.c ../heimdal/lib/roken/simple_exec.c ../heimdal/lib/roken/strcollect.c ../heimdal/lib/roken/rtbl.c ../heimdal/lib/roken/cloexec.c ../heimdal/lib/roken/xfree.c replace.c',
+ HEIMDAL_ROKEN_SOURCE,
includes='../heimdal/lib/roken ../heimdal/include ../../lib/socket_wrapper',
deps='HEIMDAL_ROKEN_PROGNAME HEIMDAL_ROKEN_CLOSEFROM resolv LIBREPLACE_NETWORK UID_WRAPPER util'
)
@@ -383,9 +421,8 @@ bld.SAMBA_SUBSYSTEM('HEIMDAL_ROKEN_CLOSEFROM_H',
enabled=not bld.CONFIG_SET('HAVE_CLOSEFROM')
)
-
bld.SAMBA_SUBSYSTEM('HEIMDAL_ROKEN_H',
- '../heimdal/lib/roken/base64.c ../heimdal/lib/roken/ct.c ../heimdal/lib/roken/hex.c ../heimdal/lib/roken/bswap.c ../heimdal/lib/roken/dumpdata.c ../heimdal/lib/roken/emalloc.c ../heimdal/lib/roken/ecalloc.c ../heimdal/lib/roken/getarg.c ../heimdal/lib/roken/get_window_size.c ../heimdal/lib/roken/getdtablesize.c ../heimdal/lib/roken/h_errno.c ../heimdal/lib/roken/issuid.c ../heimdal/lib/roken/net_read.c ../heimdal/lib/roken/net_write.c ../heimdal/lib/roken/socket.c ../heimdal/lib/roken/parse_time.c ../heimdal/lib/roken/parse_units.c ../heimdal/lib/roken/resolve.c ../heimdal/lib/roken/roken_gethostby.c ../heimdal/lib/roken/signal.c ../heimdal/lib/roken/vis.c ../heimdal/lib/roken/strlwr.c ../heimdal/lib/roken/strsep_copy.c ../heimdal/lib/roken/strsep.c ../heimdal/lib/roken/strupr.c ../heimdal/lib/roken/strpool.c ../heimdal/lib/roken/estrdup.c ../heimdal/lib/roken/erealloc.c ../heimdal/lib/roken/simple_exec.c ../heimdal/lib/roken/strcollect.c ../heimdal/lib/roken/rtbl.c ../heimdal/lib/roken/cloexec.c ../heimdal/lib/roken/xfree.c replace.c',
+ HEIMDAL_ROKEN_H_SOURCE,
includes='../heimdal/lib/roken',
cflags='-DSOCKET_WRAPPER_DISABLE=1 -DNSS_WRAPPER_DISABLE=1',
group='compiler_libraries',