summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-07-07 13:35:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:54 -0500
commitcfc4350e052626e7ee1456e7dfd5e407e10b85e4 (patch)
tree4fe1de19128827eb589d5b99401bd2ee860f57fa /source4/build/smb_build
parent34ca729f733d9d22fc789a5fce6c448b03c96545 (diff)
downloadsamba-cfc4350e052626e7ee1456e7dfd5e407e10b85e4.tar.gz
samba-cfc4350e052626e7ee1456e7dfd5e407e10b85e4.tar.bz2
samba-cfc4350e052626e7ee1456e7dfd5e407e10b85e4.zip
r1377: add examples for config.mk sections
so you want/need to use the new build system just look at the top of build/smb_build/public.m4 and look at the examples in the rest of the tree metze (This used to be commit afe2efd1437a7951d2ed6fcf7b4e06fdd4b95beb)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/public.m449
1 files changed, 49 insertions, 0 deletions
diff --git a/source4/build/smb_build/public.m4 b/source4/build/smb_build/public.m4
index 9da2b4f801..55d9aa62ba 100644
--- a/source4/build/smb_build/public.m4
+++ b/source4/build/smb_build/public.m4
@@ -22,6 +22,18 @@ dnl 1:name,
dnl 2:subsystem,
dnl 3:default_build,
dnl 4:config_mk_file
+dnl [MODULE::test]
+dnl INIT_OBJ_FILES = \
+dnl test.o
+dnl ADD_OBJ_FILES = \
+dnl test_utils1.o \
+dnl test_utils2.o
+dnl REQUIRED_LIBRARIES = \
+dnl LIB_EXT_TEST1 \
+dnl LIB_EXT_TEST2
+dnl REQUIRED_SUBSYSTEMS = \
+dnl OTHER_SUBSYSTEM1 \
+dnl OTHER_SUBSYSTEM2
dnl )
dnl
dnl SMB_SUBSYSTEM_ENABLE(
@@ -40,6 +52,18 @@ dnl
dnl SMB_SUBSYSTEM_MK(
dnl 1:name,
dnl 2:config_mk_file
+dnl [SUBSYSTEM::test]
+dnl INIT_OBJ_FILES = \
+dnl test.o
+dnl ADD_OBJ_FILES = \
+dnl test_utils1.o \
+dnl test_utils2.o
+dnl REQUIRED_LIBRARIES = \
+dnl LIB_EXT_TEST1 \
+dnl LIB_EXT_TEST2
+dnl REQUIRED_SUBSYSTEMS = \
+dnl OTHER_SUBSYSTEM1 \
+dnl OTHER_SUBSYSTEM2
dnl )
dnl
dnl SMB_EXT_LIB_ENABLE(
@@ -78,6 +102,19 @@ dnl
dnl SMB_LIBRARY_MK(
dnl 1:name,
dnl 2:config_mk_file
+dnl [LIBRARY::test]
+dnl MAJOR_VERSION = 0
+dnl MINOR_VERSION = 0
+dnl RELEASE_VERSION = 1
+dnl OBJ_FILES = \
+dnl test1.o \
+dnl test2.o
+dnl REQUIRED_LIBRARIES = \
+dnl LIB_EXT_TEST1 \
+dnl LIB_EXT_TEST2
+dnl REQUIRED_SUBSYSTEMS = \
+dnl OTHER_SUBSYSTEM1 \
+dnl OTHER_SUBSYSTEM2
dnl )
dnl
dnl SMB_BINARY_ENABLE(
@@ -97,6 +134,18 @@ dnl
dnl SMB_BINARY_MK(
dnl 1:name,
dnl 2:config_mk_file
+dnl [BINARY::test]
+dnl BUILD_TARGETS =
+dnl INSTALL_PATH =
+dnl OBJ_FILES = \
+dnl test1.o \
+dnl test2.o
+dnl REQUIRED_LIBRARIES = \
+dnl LIB_EXT_TEST1 \
+dnl LIB_EXT_TEST2
+dnl REQUIRED_SUBSYSTEMS = \
+dnl OTHER_SUBSYSTEM1 \
+dnl OTHER_SUBSYSTEM2
dnl )
dnl
dnl SMB_MAKE_TARGET(