summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-10-26 13:19:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:15 -0500
commitbf300c868781fed3b0c0556b4e40608589ad1585 (patch)
treed5f0600aa723f7579672c8c990506c2b4080a7f1 /source4/lib
parent78696ddcb237012ad1468440362ca67baab125f6 (diff)
downloadsamba-bf300c868781fed3b0c0556b4e40608589ad1585.tar.gz
samba-bf300c868781fed3b0c0556b4e40608589ad1585.tar.bz2
samba-bf300c868781fed3b0c0556b4e40608589ad1585.zip
r11300: Treat libraries as a special kind of subsystem
(one that can also be built as a library and installed). (This used to be commit 98d1f9b1dc523ed88c5aa8d066030b33d74f62bf)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/config.mk17
-rw-r--r--source4/lib/registry/config.mk17
-rw-r--r--source4/lib/talloc/config.mk17
-rw-r--r--source4/lib/tdb/config.mk17
4 files changed, 17 insertions, 51 deletions
diff --git a/source4/lib/ldb/config.mk b/source4/lib/ldb/config.mk
index b30ffc36c8..6e948f20df 100644
--- a/source4/lib/ldb/config.mk
+++ b/source4/lib/ldb/config.mk
@@ -77,7 +77,10 @@ NOPROTO = YES
################################################
# Start SUBSYSTEM LIBLDB
-[SUBSYSTEM::LIBLDB]
+[LIBRARY::LIBLDB]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
INIT_OBJ_FILES = \
common/ldb.o
ADD_OBJ_FILES = \
@@ -100,18 +103,6 @@ MANPAGE = man/ldb.3
################################################
################################################
-# Start LIBRARY LIBLDB
-[LIBRARY::libldb]
-MAJOR_VERSION = 0
-MINOR_VERSION = 0
-RELEASE_VERSION = 1
-REQUIRED_SUBSYSTEMS = \
- LIBLDB
-#
-# End LIBRARY LIBLDB
-################################################
-
-################################################
# Start SUBSYSTEM LDBSAMBA
[SUBSYSTEM::LDBSAMBA]
OBJ_FILES = \
diff --git a/source4/lib/registry/config.mk b/source4/lib/registry/config.mk
index 9461bb2a95..288e3d21ee 100644
--- a/source4/lib/registry/config.mk
+++ b/source4/lib/registry/config.mk
@@ -78,7 +78,10 @@ REQUIRED_SUBSYSTEMS = \
################################################
# Start SUBSYSTEM REGISTRY
-[SUBSYSTEM::REGISTRY]
+[LIBRARY::REGISTRY]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
INIT_OBJ_FILES = \
common/reg_interface.o
ADD_OBJ_FILES = \
@@ -91,18 +94,6 @@ REQUIRED_SUBSYSTEMS = \
################################################
################################################
-# Start LIBRARY libwinregistry
-[LIBRARY::libwinregistry]
-MAJOR_VERSION = 0
-MINOR_VERSION = 0
-RELEASE_VERSION = 1
-REQUIRED_SUBSYSTEMS = \
- REGISTRY
-#
-# End LIBRARY libwinregistry
-################################################
-
-################################################
# Start BINARY regdiff
[BINARY::regdiff]
INSTALLDIR = BINDIR
diff --git a/source4/lib/talloc/config.mk b/source4/lib/talloc/config.mk
index 1d5d957e91..5d88616b15 100644
--- a/source4/lib/talloc/config.mk
+++ b/source4/lib/talloc/config.mk
@@ -1,20 +1,13 @@
################################################
-# Start SUBSYSTEM LIBTALLOC
-[SUBSYSTEM::LIBTALLOC]
-INIT_OBJ_FILES = talloc.o
-REQUIRED_SUBSYSTEMS = LIBREPLACE
-NOPROTO = YES
-MANPAGE = talloc.3
-# End SUBSYSTEM LIBTALLOC
-################################################
-
-################################################
# Start LIBRARY LIBTALLOC
-[LIBRARY::libtalloc]
+[LIBRARY::LIBTALLOC]
MAJOR_VERSION = 0
MINOR_VERSION = 0
RELEASE_VERSION = 1
-REQUIRED_SUBSYSTEMS = LIBTALLOC
+INIT_OBJ_FILES = talloc.o
+REQUIRED_SUBSYSTEMS = LIBREPLACE
+NOPROTO = YES
+MANPAGE = talloc.3
#
# End LIBRARY LIBTALLOC
################################################
diff --git a/source4/lib/tdb/config.mk b/source4/lib/tdb/config.mk
index 6c97c01b24..b68a121190 100644
--- a/source4/lib/tdb/config.mk
+++ b/source4/lib/tdb/config.mk
@@ -1,6 +1,9 @@
################################################
# Start SUBSYSTEM LIBTDB
-[SUBSYSTEM::LIBTDB]
+[LIBRARY::LIBTDB]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
INIT_OBJ_FILES = \
common/tdb.o
ADD_OBJ_FILES = common/dump.o common/io.o common/lock.o \
@@ -14,18 +17,6 @@ REQUIRED_SUBSYSTEMS = \
################################################
################################################
-# Start LIBRARY LIBTDB
-[LIBRARY::libtdb]
-MAJOR_VERSION = 0
-MINOR_VERSION = 0
-RELEASE_VERSION = 1
-REQUIRED_SUBSYSTEMS = \
- LIBTDB
-#
-# End LIBRARY LIBLDB
-################################################
-
-################################################
# Start BINARY tdbtool
[BINARY::tdbtool]
INSTALLDIR = BINDIR