s4-waf: we don't need the symlink hack for gen_ndr any more
authorAndrew Tridgell <tridge@samba.org>
Mon, 3 May 2010 15:28:23 +0000 (17:28 +0200)
committerAndrew Tridgell <tridge@samba.org>
Tue, 4 May 2010 11:47:07 +0000 (13:47 +0200)
we can now generate files into the build directory

librpc/idl/wscript_build

index 69e42da2d6154ce8895072d6be564701813146cc..b8c650197c564f1170fcedf70c49a26e6114b016 100644 (file)
@@ -1,12 +1,5 @@
 #!/usr/bin/env python
 
-# note that we use symlink=True for the common IDL files.
-# this is because the gen_ndr output is committed in git,
-# and we don't want the result of a waf build to be a large
-# git diff of all of the changes in include paths in the gen_ndr directory
-# by using a symlink, we end up putting the generated files (and the associated
-# object files) in ../gen_ndr in the source tree, but still allow waf to be
-# happy about all the build files appearing in the expected location in bin/default
 bld.SAMBA_PIDL_LIST('PIDL',
                     '''atsvc.idl drsuapi.idl epmapper.idl initshutdown.idl
                        misc.idl ntlmssp.idl protected_storage.idl schannel.idl trkwks.idl
@@ -19,18 +12,14 @@ bld.SAMBA_PIDL_LIST('PIDL',
                        drsblobs.idl efs.idl frstrans.idl mgmt.idl netlogon.idl
                        policyagent.idl scerpc.idl svcctl.idl wkssvc.idl''',
                     options='--header --ndr-parser --samba3-ndr-server --samba3-ndr-client --server --client --python',
-                    output_dir='../gen_ndr',
-                    symlink=True)
+                    output_dir='../gen_ndr')
 
 bld.SAMBA_PIDL_LIST('PIDL',
                     'wmi.idl dcom.idl',
                     options='--header --ndr-parser --samba3-ndr-server --samba3-ndr-client --server --client --python --dcom-proxy --com-header',
-                    output_dir='../gen_ndr',
-                    symlink=True)
+                    output_dir='../gen_ndr')
 
 bld.SAMBA_PIDL_LIST('PIDL',
                     'rap.idl',
                     options='--header --ndr-parser',
-                    output_dir='../gen_ndr',
-                    symlink=True)
-
+                    output_dir='../gen_ndr')