diff options
author | Tim Potter <tpot@samba.org> | 2005-01-25 11:21:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:09:11 -0500 |
commit | 8fb54d162b449244e5380aa1e00d99b5e23e9443 (patch) | |
tree | 41e36c35126d97886e75f4a44cd40f7b7ecf3843 /source4/scripting | |
parent | 29589f38950b1ec8e5d984a2e92fef577f26d743 (diff) | |
download | samba-8fb54d162b449244e5380aa1e00d99b5e23e9443.tar.gz samba-8fb54d162b449244e5380aa1e00d99b5e23e9443.tar.bz2 samba-8fb54d162b449244e5380aa1e00d99b5e23e9443.zip |
r4982: Start to move swig dependencies into new build system. Unfortunately
I can only get something useful happening by using the BINARY keyword
as nothing else seems to generate dependency lists that can be used
when linking the swig shared libraries. Anyway this is a lot nicer
than having lots of junk in makefile.pm.
(This used to be commit 71a22f5206086c5ab7315d38934d65483aff7a70)
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/swig/config.mk | 7 | ||||
-rw-r--r-- | source4/scripting/swig/dummymain.c | 9 |
2 files changed, 16 insertions, 0 deletions
diff --git a/source4/scripting/swig/config.mk b/source4/scripting/swig/config.mk new file mode 100644 index 0000000000..8a5b743cac --- /dev/null +++ b/source4/scripting/swig/config.mk @@ -0,0 +1,7 @@ +[BINARY::swig_tdb] +OBJ_FILES = scripting/swig/dummymain.o +REQUIRED_SUBSYSTEMS = LIBTDB + +[BINARY::swig_dcerpc] +OBJ_FILES = scripting/swig/dummymain.o +REQUIRED_SUBSYSTEMS = LIBCLI NDR_MISC LIBBASIC CONFIG RPC_NDR_SAMR diff --git a/source4/scripting/swig/dummymain.c b/source4/scripting/swig/dummymain.c new file mode 100644 index 0000000000..ac39144cd9 --- /dev/null +++ b/source4/scripting/swig/dummymain.c @@ -0,0 +1,9 @@ +/* + * Dummy main function as the build system doesn't seem to create a + * dependency list for a subsystem. + */ + +int main(void) +{ + return 0; +} |