diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-06-05 02:00:56 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:17:37 -0500 |
commit | 1de1131aa317a88355407806719da9a7bb7d8d1c (patch) | |
tree | 79e8a12b5ed637d12223e0a57c0549790c97a820 | |
parent | d54c2639f57761bc69a8629e7055fa6558429006 (diff) | |
download | samba-1de1131aa317a88355407806719da9a7bb7d8d1c.tar.gz samba-1de1131aa317a88355407806719da9a7bb7d8d1c.tar.bz2 samba-1de1131aa317a88355407806719da9a7bb7d8d1c.zip |
r7289: split out the list of *.mk files for the build, so you don't need to modify the perl
code to add a new library
(This used to be commit 71366b09091a147df7f5cb823a05c28f8a18201a)
-rw-r--r-- | source4/build/smb_build/config.list | 48 | ||||
-rw-r--r-- | source4/build/smb_build/main.pm | 51 |
2 files changed, 51 insertions, 48 deletions
diff --git a/source4/build/smb_build/config.list b/source4/build/smb_build/config.list new file mode 100644 index 0000000000..74773e8b7b --- /dev/null +++ b/source4/build/smb_build/config.list @@ -0,0 +1,48 @@ +# master list of build config files for Samba4 +dsdb/config.mk +gtk/config.mk +smbd/config.mk +smbd/process_model.mk +libnet/config.mk +auth/config.mk +nsswitch/config.mk +lib/basic.mk +lib/socket/config.mk +lib/ldb/config.mk +lib/talloc/config.mk +lib/tdb/config.mk +lib/registry/config.mk +lib/messaging/config.mk +lib/events/config.mk +lib/popt/config.mk +lib/cmdline/config.mk +lib/socket_wrapper/config.mk +lib/ejs/config.mk +param/config.mk +smb_server/config.mk +rpc_server/config.mk +ldap_server/config.mk +web_server/config.mk +winbind/config.mk +nbt_server/config.mk +cldap_server/config.mk +auth/gensec/config.mk +auth/kerberos/config.mk +auth/ntlmssp/config.mk +libcli/auth/config.mk +libcli/ldap/config.mk +libcli/config.mk +utils/net/config.mk +utils/config.mk +ntvfs/posix/config.mk +ntvfs/config.mk +ntvfs/unixuid/config.mk +torture/config.mk +librpc/config.mk +client/config.mk +libcli/config.mk +libcli/security/config.mk +lib/com/config.mk +scripting/config.mk +kdc/config.mk +heimdal/config.mk diff --git a/source4/build/smb_build/main.pm b/source4/build/smb_build/main.pm index 607ec08644..12790a3df5 100644 --- a/source4/build/smb_build/main.pm +++ b/source4/build/smb_build/main.pm @@ -14,58 +14,13 @@ use smb_build::output; use smb_build::dot; use strict; +my $config_list = "build/smb_build/config.list"; + sub smb_build_main($) { my $INPUT = shift; - my @mkfiles = ( - "dsdb/config.mk", - "gtk/config.mk", - "smbd/config.mk", - "smbd/process_model.mk", - "libnet/config.mk", - "auth/config.mk", - "nsswitch/config.mk", - "lib/basic.mk", - "lib/socket/config.mk", - "lib/ldb/config.mk", - "lib/talloc/config.mk", - "lib/tdb/config.mk", - "lib/registry/config.mk", - "lib/messaging/config.mk", - "lib/events/config.mk", - "lib/popt/config.mk", - "lib/cmdline/config.mk", - "lib/socket_wrapper/config.mk", - "lib/ejs/config.mk", - "param/config.mk", - "smb_server/config.mk", - "rpc_server/config.mk", - "ldap_server/config.mk", - "web_server/config.mk", - "winbind/config.mk", - "nbt_server/config.mk", - "cldap_server/config.mk", - "auth/gensec/config.mk", - "auth/kerberos/config.mk", - "auth/ntlmssp/config.mk", - "libcli/auth/config.mk", - "libcli/ldap/config.mk", - "libcli/config.mk", - "utils/net/config.mk", - "utils/config.mk", - "ntvfs/posix/config.mk", - "ntvfs/config.mk", - "ntvfs/unixuid/config.mk", - "torture/config.mk", - "librpc/config.mk", - "client/config.mk", - "libcli/config.mk", - "libcli/security/config.mk", - "lib/com/config.mk", - "scripting/config.mk", - "kdc/config.mk" - ); + my @mkfiles = split('\n', `grep -v ^# $config_list`); $| = 1; |