summaryrefslogtreecommitdiffstats
path: root/source/scripting
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-01-26 20:40:59 +0000
committerTim Potter <tpot@samba.org>2005-01-26 20:40:59 +0000
commit477b343544e5508d5e882b51e245525cc2293ea5 (patch)
tree3f342f6eae882970047e54c2e384123db1bfff38 /source/scripting
parenta311400c5ac5a90d078ff583212c7dff37f7775b (diff)
downloadsamba-477b343544e5508d5e882b51e245525cc2293ea5.tar.gz
samba-477b343544e5508d5e882b51e245525cc2293ea5.tar.xz
samba-477b343544e5508d5e882b51e245525cc2293ea5.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.
Diffstat (limited to 'source/scripting')
-rw-r--r--source/scripting/swig/config.mk12
-rw-r--r--source/scripting/swig/dummymain.c9
2 files changed, 8 insertions, 13 deletions
diff --git a/source/scripting/swig/config.mk b/source/scripting/swig/config.mk
index 8a5b743cacb..70dab7c28dd 100644
--- a/source/scripting/swig/config.mk
+++ b/source/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/source/scripting/swig/dummymain.c b/source/scripting/swig/dummymain.c
deleted file mode 100644
index ac39144cd95..00000000000
--- a/source/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;
-}