summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-11-14 22:47:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:48 -0500
commit3757bf5c5bd1e218ea8153964d69c00a164a17e5 (patch)
tree187e157a19728d97a7568ee58c399a352c7a0b99 /source4/build/smb_build
parent7cc0966f513d5ce6b51ef083cdaf7f88d841101a (diff)
downloadsamba-3757bf5c5bd1e218ea8153964d69c00a164a17e5.tar.gz
samba-3757bf5c5bd1e218ea8153964d69c00a164a17e5.tar.bz2
samba-3757bf5c5bd1e218ea8153964d69c00a164a17e5.zip
r3739: Remove a bunch of unused m4 macros
(This used to be commit 2a38b77a1d8674b46028214896e37747c4082f13)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/main.pm5
-rw-r--r--source4/build/smb_build/public.m4155
2 files changed, 4 insertions, 156 deletions
diff --git a/source4/build/smb_build/main.pm b/source4/build/smb_build/main.pm
index 4d3a471bbf..928921f8fd 100644
--- a/source4/build/smb_build/main.pm
+++ b/source4/build/smb_build/main.pm
@@ -50,7 +50,10 @@ sub smb_build_main($)
"ntvfs/unixuid/config.mk",
"torture/config.mk",
"librpc/config.mk",
- "client/config.mk");
+ "client/config.mk",
+ "libcli/libsmb.mk");
+
+ $| = 1;
for my $mkfile (@mkfiles) {
config_mk::import_file($SMB_BUILD_CTX{INPUT}, $mkfile);
diff --git a/source4/build/smb_build/public.m4 b/source4/build/smb_build/public.m4
index b271cd94fd..b90b3acdd6 100644
--- a/source4/build/smb_build/public.m4
+++ b/source4/build/smb_build/public.m4
@@ -9,25 +9,11 @@ dnl 1:name,
dnl 2:default_build
dnl )
dnl
-dnl SMB_MODULE (
-dnl 1:name,
-dnl 2:subsystem,
-dnl 3:default_build,
-dnl 4:init_obj_files,
-dnl 5:add_obj_files,
-dnl 6:required_libraries,
-dnl 7:required_subsystems
-dnl )
-dnl
dnl SMB_SUBSYSTEM_ENABLE(
dnl 1:name,
dnl 2:default_build
dnl )
dnl
-dnl SMB_SUBSYSTEM_NOPROTO(
-dnl 1:name
-dnl )
-dnl
dnl SMB_SUBSYSTEM(
dnl 1:name,
dnl 2:init_obj_files,
@@ -59,30 +45,11 @@ dnl 1:name,
dnl 2:default_build
dnl )
dnl
-dnl SMB_LIBRARY(
-dnl 1:name,
-dnl 2:major_version
-dnl 3:minor_version
-dnl 4:release_version
-dnl 5:obj_files,
-dnl 6:required_libraries,
-dnl 7:required_subsystems
-dnl )
-dnl
dnl SMB_BINARY_ENABLE(
dnl 1:name,
dnl 2:default_build
dnl )
dnl
-dnl SMB_BINARY(
-dnl 1:name,
-dnl 2:build_targets,
-dnl 3:install_path
-dnl 4:obj_files,
-dnl 5:required_libraries,
-dnl 6:required_subsystems
-dnl )
-dnl
dnl SMB_MAKE_TARGET(
dnl 1:name
dnl 2:calledname
@@ -119,52 +86,6 @@ SMB_INFO_MODULES="$SMB_INFO_MODULES
\$INPUT{$1}{DEFAULT_BUILD} = \"$2\";"
])
-dnl SMB_MODULE (
-dnl 1:name,
-dnl 2:subsystem,
-dnl 3:default_build,
-dnl 4:init_obj_files,
-dnl 5:add_obj_files,
-dnl 6:required_libs,
-dnl 7:required_subsystems
-dnl )
-AC_DEFUN([SMB_MODULE],
-[
-
- if test -z "$[SMB_MODULE_DEFAULT_][$1]"; then
- [SMB_MODULE_DEFAULT_][$1]=$3
- fi
-
- if test "$[SMB_MODULE_][$1]"; then
- [SMB_MODULE_][$1]=$[SMB_MODULE_][$1]
- elif test "$[SMB_MODULE_]translit([$2], [A-Z], [a-z])" -a x"$[SMB_MODULE_DEFAULT_][$1]" != xNOT; then
- [SMB_MODULE_][$1]=$[SMB_MODULE_]translit([$2], [A-Z], [a-z])
- else
- [SMB_MODULE_][$1]="DEFAULT";
- fi
-
-SMB_INFO_MODULES="$SMB_INFO_MODULES
-###################################
-# Start MODULE $1
-
-\$INPUT{$1} = {
- TYPE => "MODULE",
- NAME => \"$1\",
- SUBSYSTEM => \"$2\",
- DEFAULT_BUILD => \"$[SMB_MODULE_DEFAULT_][$1]\",
- INIT_OBJ_FILES => ][STR2ARRAY([$4])][,
- ADD_OBJ_FILES => ][STR2ARRAY([$5])][,
- REQUIRED_LIBRARIES => ][STR2ARRAY([$6])][,
- REQUIRED_SUBSYSTEMS => ][STR2ARRAY([$7])][,
- CHOSEN_BUILD => \"$[SMB_MODULE_][$1]\"
-};
-
-#
-# End MODULE $1
-###################################
-"
-])
-
dnl SMB_SUBSYSTEM_ENABLE(
dnl 1:name,
dnl 2:default_build
@@ -176,14 +97,6 @@ SMB_INFO_SUBSYSTEMS="$SMB_INFO_SUBSYSTEMS
\$INPUT{$1}{ENABLE} = \"$2\";"
])
-dnl SMB_SUBSYSTEM_NOPROTO(
-dnl 1:name
-dnl )
-AC_DEFUN([SMB_SUBSYSTEM_NOPROTO],
-[
- [SMB_SUBSYSTEM_NOPROTO_][$1]="YES"
-])
-
dnl SMB_SUBSYSTEM(
dnl 1:name,
dnl 2:init_obj_files,
@@ -330,41 +243,6 @@ SMB_INFO_SUBSYSTEMS="$SMB_INFO_SUBSYSTEMS
\$INPUT{$1}{ENABLE} = \"$2\";"
])
-dnl SMB_LIBRARY(
-dnl 1:name,
-dnl 2:major_version
-dnl 3:minor_version
-dnl 4:release_version
-dnl 5:obj_files,
-dnl 6:required_libs,
-dnl 7:required_subsystems
-dnl )
-AC_DEFUN([SMB_LIBRARY],
-[
-
- if test -z "$[SMB_LIBRARY_ENABLE_][$1]"; then
- [SMB_LIBRARY_ENABLE_][$1]="NO";
- fi
-
-SMB_INFO_LIBRARIES="$SMB_INFO_LIBRARIES
-###################################
-# Start Library $1
-\$INPUT{$1} = {
- TYPE => \"LIBRARY\",
- NAME => \"$1\",
- MAJOR_VERSION => \"$2\",
- MINOR_VERSION => \"$3\",
- RELEASE_VERSION => \"$4\",
- OBJ_FILES => ][STR2ARRAY([$5])][,
- REQUIRED_LIBRARIES => ][STR2ARRAY([$6])][,
- REQUIRED_SUBSYSTEMS => ][STR2ARRAY([$7])][,
- ENABLE => \"$[SMB_LIBRARY_ENABLE_][$1]\"
-};
-# End Library $1
-###################################
-"
-])
-
dnl SMB_BINARY_ENABLE(
dnl 1:name,
dnl 2:default_build
@@ -377,39 +255,6 @@ SMB_INFO_SUBSYSTEMS="$SMB_INFO_SUBSYSTEMS
\$INPUT{$1}{ENABLE} = \"$2\";"
])
-dnl SMB_BINARY(
-dnl 1:name,
-dnl 2:build_targets,
-dnl 3:install_path
-dnl 4:objfiles,
-dnl 5:required_libs,
-dnl 6:required_subsystems
-dnl )
-AC_DEFUN([SMB_BINARY],
-[
-
- if test -z "$[SMB_BINARY_ENABLE_][$1]"; then
- [SMB_BINARY_ENABLE_][$1]="YES";
- fi
-
-SMB_INFO_BINARIES="$SMB_INFO_BINARIES
-###################################
-# Start Binary $1
-\$INPUT{$1} = {
- TYPE => \"BINARY\",
- NAME => \"$1\",
- BUILD_TARGETS => ][STR2ARRAY([$2])][,
- INSTALL_PATH => ][STR2ARRAY([$3])][,
- OBJ_FILES => ][STR2ARRAY([$4])][,
- REQUIRED_LIBRARIES => ][STR2ARRAY([$5])][,
- REQUIRED_SUBSYSTEMS => ][STR2ARRAY([$6])][,
- ENABLE => \"$[SMB_BINARY_ENABLE_][$1]\"
-};
-# End Binary $1
-###################################
-"
-])
-
dnl SMB_MAKE_TARGET(
dnl 1:name
dnl 2:calledname