summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-01-26 20:40:59 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:13 -0500
commit5e679708899b1da6a705c5263d8c3aa5c66d95a0 (patch)
tree0020760e62ee9a5bfcf9c851b4d9075e8763a86f /source4/scripting
parentc922153e20633d76c106f8bf336f89b800dc1d15 (diff)
downloadsamba-5e679708899b1da6a705c5263d8c3aa5c66d95a0.tar.gz
samba-5e679708899b1da6a705c5263d8c3aa5c66d95a0.tar.bz2
samba-5e679708899b1da6a705c5263d8c3aa5c66d95a0.zip
r5016: Use LIBRARY instead of BINARY for inserting the swig stuff into the
build system. This still generates bogus targets (i.e bin/swig_dcerpc.so.0.0.1) and the subsystem initialisation needs to be done by hand but it is less of a hack. (This used to be commit e9b69d19a84b31966fb6e66e9d8682b0f9b40a47)
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/swig/config.mk12
-rw-r--r--source4/scripting/swig/dummymain.c9
2 files changed, 8 insertions, 13 deletions
diff --git a/source4/scripting/swig/config.mk b/source4/scripting/swig/config.mk
index 8a5b743cac..70dab7c28d 100644
--- a/source4/scripting/swig/config.mk
+++ b/source4/scripting/swig/config.mk
@@ -1,7 +1,11 @@
-[BINARY::swig_tdb]
-OBJ_FILES = scripting/swig/dummymain.o
+[LIBRARY::swig_tdb]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
REQUIRED_SUBSYSTEMS = LIBTDB
-[BINARY::swig_dcerpc]
-OBJ_FILES = scripting/swig/dummymain.o
+[LIBRARY::swig_dcerpc]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
REQUIRED_SUBSYSTEMS = LIBCLI NDR_MISC LIBBASIC CONFIG RPC_NDR_SAMR
diff --git a/source4/scripting/swig/dummymain.c b/source4/scripting/swig/dummymain.c
deleted file mode 100644
index ac39144cd9..0000000000
--- a/source4/scripting/swig/dummymain.c
+++ /dev/null
@@ -1,9 +0,0 @@
-/*
- * Dummy main function as the build system doesn't seem to create a
- * dependency list for a subsystem.
- */
-
-int main(void)
-{
- return 0;
-}