summaryrefslogtreecommitdiff
path: root/source4/lib/basic.mk
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-25 10:25:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:41 -0500
commit98f9d5cdf6451298001dc7ac71336d4206010181 (patch)
tree059eb00e409afa8c22304d00a3b0958813d22d3b /source4/lib/basic.mk
parent17781196bf4f4ab8943bdc6c20225e1028aab1a6 (diff)
downloadsamba-98f9d5cdf6451298001dc7ac71336d4206010181.tar.gz
samba-98f9d5cdf6451298001dc7ac71336d4206010181.tar.bz2
samba-98f9d5cdf6451298001dc7ac71336d4206010181.zip
r3210: split lib/replace.o into a separate build subsystem LIBREPLACE, and
make the ldb tools depend on it. This should help the build of the ldb tools on platforms without strnlen() or strndup() (This used to be commit e6ddb9d8f3a218b22b0176a2525b5daaca7170e4)
Diffstat (limited to 'source4/lib/basic.mk')
-rw-r--r--source4/lib/basic.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/source4/lib/basic.mk b/source4/lib/basic.mk
index 3baab26c5b..c7d3a264d2 100644
--- a/source4/lib/basic.mk
+++ b/source4/lib/basic.mk
@@ -1,6 +1,13 @@
# LIB BASIC subsystem
##############################
+# Start SUBSYSTEM LIBREPLACE
+[SUBSYSTEM::LIBREPLACE]
+INIT_OBJ_FILES = lib/replace.o
+# End SUBSYSTEM LIBREPLACE
+##############################
+
+##############################
# Start SUBSYSTEM LIBBASIC
[SUBSYSTEM::LIBBASIC]
INIT_OBJ_FILES = lib/version.o
@@ -11,7 +18,6 @@ ADD_OBJ_FILES = \
lib/interface.o \
lib/interfaces.o \
lib/pidfile.o \
- lib/replace.o \
lib/signal.o \
lib/system.o \
lib/time.o \
@@ -50,6 +56,6 @@ ADD_OBJ_FILES = \
lib/server_mutex.o \
lib/idtree.o
REQUIRED_SUBSYSTEMS = \
- LIBTDB CHARSET
+ LIBTDB CHARSET LIBREPLACE
# End SUBSYSTEM LIBBASIC
##############################