r15301: Use static libraries internally. This required a few hacks in the build
authorJelmer Vernooij <jelmer@samba.org>
Thu, 27 Apr 2006 21:46:44 +0000 (21:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:05:07 +0000 (14:05 -0500)
system - these should be removed later on.

26 files changed:
source/build/m4/rewrite.m4
source/build/smb_build/config_mk.pm
source/build/smb_build/header.pm
source/build/smb_build/input.pm
source/build/smb_build/main.pl
source/build/smb_build/makefile.pm
source/build/smb_build/output.pm
source/cldap_server/config.mk
source/kdc/config.mk
source/ldap_server/config.mk
source/lib/ldb/config.mk
source/lib/ldb/configure.in
source/lib/socket/config.mk
source/lib/tdb/configure.in
source/libcli/config.mk
source/librpc/config.mk
source/nbt_server/config.mk
source/rpc_server/config.mk
source/smb_server/config.mk
source/smb_server/smb/config.mk
source/smb_server/smb2/config.mk
source/smbd/config.mk
source/torture/config.mk
source/web_server/config.mk
source/winbind/config.mk
source/wrepl_server/config.mk

index 545e933940c08f942a31bfcccc402d4300d693fb..2002bae35394473382ccfd7aabde14b47bed8392 100644 (file)
@@ -99,10 +99,8 @@ AC_CHECK_FUNCS(setgroups sysconf getpwanam srandom random srand rand usleep)
 AC_CHECK_FUNCS(backtrace setbuffer)
 
 AC_SUBST(BLDSHARED)
-AC_SUBST(BLDMERGED)
 # Assume non-shared by default and override below
 BLDSHARED="false"
-BLDMERGED="true"
 
 # these are the defaults, good for lots of systems
 HOST_OS="$host_os"
@@ -245,13 +243,11 @@ case "$host_os" in
                AC_DEFINE(STAT_ST_BLOCKSIZE,512)
                ;;
        *-vms)
-               BLDMERGED="false"
                BLDSHARED="false"
                LDSHFLAGS=""
                ;;
        *vos*) AC_DEFINE(STAT_ST_BLOCKSIZE,4096)
                BLDSHARED="false"
-               BLDMERGED="false"
                LDSHFLAGS=""
                ;;
        *)
index 7250735b53d6ababc61cb6ba0a8b5af8e48e3c2c..7880745538085890c1125c1f6753f7ef8528a868 100644 (file)
@@ -35,6 +35,7 @@ my $section_types = {
                "PUBLIC_HEADERS"        => "list",
 
                "CFLAGS"                => "string",
+               "LDFLAGS"               => "list",
                "STANDARD_VISIBILITY"   => "string"
                },
        "MODULE" => {
@@ -97,6 +98,7 @@ my $section_types = {
                "PRIVATE_PROTO_HEADER"  => "string",
 
                "CFLAGS"                => "string",
+               "LDFLAGS"               => "list",
                "STANDARD_VISIBILITY"   => "string"
                }
 };
index af835e9daeacff8630f01804ac2701be0e0a5421..b2a71969af2badd050461001ecd06cc9b2d25bd0 100644 (file)
@@ -30,6 +30,7 @@ sub _prepare_build_h($)
        foreach my $key (values %{$depend}) {
                my $DEFINE = ();
                next if ($key->{TYPE} ne "LIBRARY" and 
+                                $key->{TYPE} ne "MODULE" and
                                 $key->{TYPE} ne "SUBSYSTEM" and
                                 $key->{TYPE} ne "BINARY");
                next unless defined($key->{INIT_FUNCTIONS});
index 887677243d44fa23ffe62e0e80a2ec48a90a1b52..308438166156c6bb6d3ff927729db8a9e5371932 100644 (file)
@@ -124,7 +124,7 @@ sub import_integrated($$)
                next if($mod->{SUBSYSTEM} ne $lib->{NAME});
                next if($mod->{ENABLE} ne "YES");
 
-               push (@{$lib->{FULL_OBJ_LIST}}, "\$($mod->{TYPE}_$mod->{NAME}_OBJ_LIST)");
+               push (@{$lib->{FULL_OBJ_LIST}}, "\$($mod->{TYPE}_$mod->{NAME}_FULL_OBJ_LIST)");
                push (@{$lib->{LINK_FLAGS}}, "\$($mod->{TYPE}_$mod->{NAME}_LINK_FLAGS)");
                push (@{$lib->{PRIVATE_DEPENDENCIES}}, @{$mod->{PUBLIC_DEPENDENCIES}}) if defined($mod->{PUBLIC_DEPENDENCIES});
                push (@{$lib->{PRIVATE_DEPENDENCIES}}, @{$mod->{PRIVATE_DEPENDENCIES}}) if defined($mod->{PRIVATE_DEPENDENCIES});
@@ -146,8 +146,6 @@ sub calc_unique_deps($$$$$$)
 
                if (defined ($dep->{OUTPUT_TYPE}) && 
                        ($withlibs or 
-                       ($dep->{OUTPUT_TYPE} eq "OBJ_LIST") or 
-                       ($dep->{OUTPUT_TYPE} eq "MERGEDOBJ") or 
                        ($dep->{OUTPUT_TYPE} eq "INTEGRATED") or 
                        ($dep->{OUTPUT_TYPE} eq "STATIC_LIBRARY"))) {
                                push (@$busy, $dep->{NAME});
index ec4ad0995e1c600f721adbd316e7491381102531..61c9214086c44b8c39435875cc17e55a993dc91a 100644 (file)
@@ -23,10 +23,8 @@ my $subsystem_output_type;
 
 if (defined($ENV{"SUBSYSTEM_OUTPUT_TYPE"})) {
        $subsystem_output_type = $ENV{SUBSYSTEM_OUTPUT_TYPE};
-} elsif ($config::config{BLDMERGED} eq "true") {
-       $subsystem_output_type = "MERGEDOBJ";
 } else {
-       $subsystem_output_type = "OBJ_LIST";
+       $subsystem_output_type = "STATIC_LIBRARY";
 }
 
 my $library_output_type;
@@ -34,10 +32,8 @@ if (defined($ENV{"LIBRARY_OUTPUT_TYPE"})) {
        $library_output_type = $ENV{LIBRARY_OUTPUT_TYPE};
 } elsif ($config::config{BLDSHARED} eq "true") {
        $library_output_type = "SHARED_LIBRARY";
-} elsif ($config::config{BLDMERGED} eq "true") {
-       $library_output_type = "MERGEDOBJ";
 } else {
-       $library_output_type = "OBJ_LIST";
+       $library_output_type = "STATIC_LIBRARY";
 }
 
 my $module_output_type;
@@ -67,8 +63,6 @@ foreach my $key (values %$OUTPUT) {
 foreach my $key (values %$OUTPUT) {
        next unless defined $key->{OUTPUT_TYPE};
 
-       $mkenv->MergedObj($key) if $key->{OUTPUT_TYPE} eq "MERGEDOBJ";
-       $mkenv->ObjList($key) if $key->{OUTPUT_TYPE} eq "OBJLIST";
        $mkenv->StaticLibrary($key) if $key->{OUTPUT_TYPE} eq "STATIC_LIBRARY";
        $mkenv->PkgConfig($key) if ($key->{OUTPUT_TYPE} eq "SHARED_LIBRARY") and
                                                defined($key->{VERSION});
index 83a1f28b0ca0264576f03e553b63a1a9baf9407f..3f0f29f208c5907f34a6460811fb7f31ff9a0fd7 100644 (file)
@@ -202,6 +202,7 @@ sub Integrated($$)
        my ($self,$ctx) = @_;
 
        $self->_prepare_list($ctx, "OBJ_LIST");
+       $self->_prepare_list($ctx, "FULL_OBJ_LIST");
        $self->_prepare_list($ctx, "LINK_FLAGS");
 }
 
@@ -316,41 +317,6 @@ __EOD__
 );
 }
 
-sub MergedObj($$)
-{
-       my ($self,$ctx) = @_;
-
-       $self->_prepare_list($ctx, "OBJ_LIST");
-       $self->_prepare_list($ctx, "FULL_OBJ_LIST");
-       $self->_prepare_list($ctx, "DEPEND_LIST");
-
-       return unless $ctx->{TARGET};
-
-       push(@{$self->{all_objs}}, "\$($ctx->{TYPE}_$ctx->{NAME}_FULL_OBJ_LIST)");
-               
-       $self->output("$ctx->{TARGET}: \$($ctx->{TYPE}_$ctx->{NAME}_FULL_OBJ_LIST)\n");
-
-       $self->output("\t\@echo \"Pre-Linking $ctx->{TYPE} $ctx->{NAME}\"\n");
-       $self->output("\t@\$(LD) -r \$($ctx->{TYPE}_$ctx->{NAME}_FULL_OBJ_LIST) -o $ctx->{TARGET}\n");
-       $self->output("\n");
-}
-
-sub ObjList($$)
-{
-       my ($self,$ctx) = @_;
-
-       return unless $ctx->{TARGET};
-
-       push(@{$self->{all_objs}}, "\$($ctx->{TYPE}_$ctx->{NAME}_FULL_OBJ_LIST)");
-               
-       $self->_prepare_list($ctx, "OBJ_LIST");
-       $self->_prepare_list($ctx, "FULL_OBJ_LIST");
-       $self->_prepare_list($ctx, "DEPEND_LIST");
-       $self->output("$ctx->{TARGET}: ");
-       $self->output("\$($ctx->{TYPE}_$ctx->{NAME}_DEPEND_LIST) \$($ctx->{TYPE}_$ctx->{NAME}_FULL_OBJ_LIST)\n");
-       $self->output("\t\@touch $ctx->{TARGET}\n");
-}
-
 sub StaticLibrary($$)
 {
        my ($self,$ctx) = @_;
index ba8359a72b5edc98f093d9da3df09c823862d768..0f66ef91fe2ae7b484703bcd770523a12ce0ff24 100644 (file)
@@ -26,21 +26,6 @@ sub add_dir($$)
        return @ret;
 }
 
-sub generate_mergedobj($)
-{
-       my $subsys = shift;
-
-       $subsys->{OUTPUT} = $subsys->{TARGET} = "bin/subsystems/$subsys->{TYPE}_$subsys->{NAME}.o";
-}
-
-sub generate_objlist($)
-{
-       my $subsys = shift;
-
-       $subsys->{TARGET} = "bin/.$subsys->{TYPE}_$subsys->{NAME}";
-       $subsys->{OUTPUT} = "\$($subsys->{TYPE}_$subsys->{NAME}_OBJ_LIST)";
-}
-
 sub generate_shared_library($)
 {
        my $lib = shift;
@@ -129,15 +114,7 @@ sub create_output($$)
                # Combine object lists
                push(@{$part->{OBJ_LIST}}, add_dir($part->{BASEDIR}, $part->{OBJ_FILES})) if defined($part->{OBJ_FILES});
 
-               if ((not defined($part->{OBJ_LIST}) or 
-                       scalar(@{$part->{OBJ_LIST}}) == 0) and 
-                       $part->{OUTPUT_TYPE} eq "MERGEDOBJ") {
-                       $part->{OUTPUT_TYPE} = "OBJLIST";
-               }
-
                generate_binary($part) if $part->{OUTPUT_TYPE} eq "BINARY";
-               generate_mergedobj($part) if $part->{OUTPUT_TYPE} eq "MERGEDOBJ";
-               generate_objlist($part) if $part->{OUTPUT_TYPE} eq "OBJLIST";
                generate_shared_library($part) if $part->{OUTPUT_TYPE} eq "SHARED_LIBRARY";
                generate_static_library($part) if $part->{OUTPUT_TYPE} eq "STATIC_LIBRARY";
 
index 00c0ef4f03a8e198eb2b7713406e917ec10acc21..25b1c220bcdc3759872928a32ebe538753d792f3 100644 (file)
@@ -2,7 +2,9 @@
 
 #######################
 # Start SUBSYSTEM CLDAPD
-[SUBSYSTEM::CLDAPD]
+[MODULE::CLDAPD]
+INIT_FUNCTION = server_service_cldapd_init
+SUBSYSTEM = service
 PRIVATE_PROTO_HEADER = proto.h
 OBJ_FILES = \
                cldap_server.o \
index 39cfc4299ee3cc77867226702a97f8a6da9e7919..e0361e337eeb54edb879bb5a781f5eb2bb422cd7 100644 (file)
@@ -2,7 +2,9 @@
 
 #######################
 # Start SUBSYSTEM KDC
-[SUBSYSTEM::KDC]
+[MODULE::KDC]
+INIT_FUNCTION = server_service_kdc_init
+SUBSYSTEM = service
 OBJ_FILES = \
                kdc.o \
                kpasswdd.o
index 7a6ccdc084572c0349fcd87c9fa28a8b95bfc309..f92cf92058bc2f24e1db7d57b812554b28548f94 100644 (file)
@@ -2,7 +2,9 @@
 
 #######################
 # Start SUBSYSTEM LDAP
-[SUBSYSTEM::LDAP]
+[MODULE::LDAP]
+INIT_FUNCTION = server_service_ldap_init
+SUBSYSTEM = service
 PRIVATE_PROTO_HEADER = proto.h
 OBJ_FILES = \
                ldap_server.o \
index 224dd32142f8827c252007f859aafb483d5ca105..f05e25b3cadb44d954ab880db5d9c24e71829bb0 100644 (file)
@@ -177,7 +177,7 @@ OBJ_FILES = \
 OBJ_FILES= \
                tools/cmdline.o
 PUBLIC_DEPENDENCIES = ldb LIBSAMBA-UTIL LIBPOPT POPT_SAMBA POPT_CREDENTIALS
-PRIVATE_DEPENDENCIES = gensec LIBCLI_RESOLVE
+PRIVATE_DEPENDENCIES = gensec
 # End SUBSYSTEM LIBLDB_CMDLINE
 ################################################
 
@@ -188,7 +188,7 @@ INSTALLDIR = BINDIR
 OBJ_FILES = \
                tools/ldbadd.o
 PRIVATE_DEPENDENCIES = \
-               LIBLDB_CMDLINE
+               LIBLDB_CMDLINE LIBCLI_RESOLVE
 MANPAGE = man/ldbadd.1
 # End BINARY ldbadd
 ################################################
index 54ec24df4d5d2513578f36f3605f37fd353cad7a..c29556ecce95dddcf72dea4b1195527a126e727f 100644 (file)
@@ -9,7 +9,6 @@ AC_DEFUN([AC_CHECK_FUNC_EXT], [
 ])
 AC_DEFUN([SMB_MODULE_DEFAULT], [echo -n ""])
 AC_DEFUN([SMB_LIBRARY_ENABLE], [echo -n ""])
-AC_DEFUN([SMB_EXT_LIB_ENABLE], [echo -n ""])
 AC_DEFUN([SMB_EXT_LIB], [echo -n ""])
 AC_DEFUN([SMB_ENABLE], [echo -n ""])
 AC_INIT(include/ldb.h)
index bbac1ff6d19151a14d966b7732b64d6ca690e8d5..4ef7f30ab4133e91a10f616691ea49a7bc62a477 100644 (file)
@@ -41,6 +41,7 @@ OBJ_FILES = \
                access.o \
                connect_multi.o \
                connect.o
+LDFLAGS = -lcli_resolve -lcli_nbt -lndr_nbt -lndr_svcctl
 PUBLIC_DEPENDENCIES = LIBTALLOC
 PRIVATE_DEPENDENCIES = SOCKET_WRAPPER LIBCLI_COMPOSITE 
 #LIBCLI_RESOLVE
index ba988b5061626bf4d76ad2b26bace4a8b5d39c38..fe80d66799ef16ea46ab221e6070c1f465adf797 100644 (file)
@@ -1,5 +1,6 @@
 AC_DEFUN([SMB_MODULE_DEFAULT], [echo -n ""])
 AC_DEFUN([SMB_LIBRARY_ENABLE], [echo -n ""])
+AC_DEFUN([SMB_ENABLE], [echo -n ""])
 AC_INIT(include/tdb.h)
 AC_CONFIG_HEADER(include/config.h)
 AC_PROG_CC
index a75cf3bace0e2af22def5eff24c33ac07dce93aa..e0bb50647d40673b669a8fb436834bce4cbadcb3 100644 (file)
@@ -123,6 +123,7 @@ OBJ_FILES = clireadwrite.o \
 PRIVATE_PROTO_HEADER = raw/raw_proto.h
 PRIVATE_DEPENDENCIES = LIBCLI_COMPOSITE
 PUBLIC_DEPENDENCIES = LIBCLI_RAW_KRB5
+LDFLAGS = -lcli_smb_composite
 OBJ_FILES = raw/rawfile.o \
                raw/smb_signing.o \
                raw/clisocket.o \
index e378f8474442fdba782d6527d3ffaf6b23dc761f..750c6572a4807210d5d3209b7f91c5936a501358 100644 (file)
@@ -350,16 +350,12 @@ librpc/gen_ndr/tables.c: $(IDL_NDR_PARSE_H_FILES)
        @$(PERL) $(srcdir)/librpc/tables.pl --output=librpc/gen_ndr/tables.c $(IDL_NDR_PARSE_H_FILES) > librpc/gen_ndr/tables.x
        mv librpc/gen_ndr/tables.x librpc/gen_ndr/tables.c
 
-[SUBSYSTEM::NDR_IFACE_TABLE]
-OBJ_FILES = gen_ndr/tables.o
-
 [LIBRARY::NDR_TABLE]
 VERSION = 0.0.1
 SO_VERSION = 0
-OBJ_FILES = rpc/table.o 
+OBJ_FILES = rpc/table.o gen_ndr/tables.o
 PRIVATE_PROTO_HEADER = rpc/dcerpc_table.h
 PUBLIC_DEPENDENCIES = \
-       NDR_IFACE_TABLE \
        NDR_AUDIOSRV NDR_ECHO NDR_DCERPC \
        NDR_DSBACKUP NDR_EFS NDR_MISC NDR_LSA NDR_DFS NDR_DRSUAPI \
        NDR_POLICYAGENT NDR_UNIXINFO NDR_SAMR NDR_SPOOLSS NDR_WKSSVC NDR_SRVSVC NDR_ATSVC \
index 51b78aebdccf65e3072d6f269fcdc2ff54ce4487..701e13225167c1913683b44f90231fcb07c10fdd 100644 (file)
@@ -54,7 +54,9 @@ PUBLIC_DEPENDENCIES = \
 
 #######################
 # Start SUBSYSTEM NBTD
-[SUBSYSTEM::NBTD]
+[MODULE::NBTD]
+INIT_FUNCTION = server_service_nbtd_init
+SUBSYSTEM = service
 OBJ_FILES = \
                nbt_server.o \
                interfaces.o \
index b85700528cfe1949e25352c5eecde84f7c243b1f..3ffc41259ddf758fa69824fc248cb131a2777953 100644 (file)
@@ -205,12 +205,11 @@ PUBLIC_DEPENDENCIES = \
 
 ################################################
 # Start SUBSYSTEM dcerpc_server
-[LIBRARY::dcerpc_server]
-DESCRIPTION = DCE/RPC Server implementation
-VERSION = 0.0.1
-SO_VERSION = 0
-PUBLIC_HEADERS = dcerpc_server.h
-PUBLIC_PROTO_HEADER = dcerpc_server_proto.h
+[MODULE::dcerpc_server]
+INIT_FUNCTION = server_service_rpc_init
+SUBSYSTEM = service
+#PUBLIC_HEADERS = dcerpc_server.h
+PRIVATE_PROTO_HEADER = dcerpc_server_proto.h
 OBJ_FILES = \
                dcerpc_server.o \
                dcerpc_sock.o \
index 85ff3b1080e10f8cd9bbd26d6e14fcc131e5320b..8e3d469e497d365228561d73c84d3b00c5c4b846 100644 (file)
@@ -2,7 +2,9 @@
 
 #######################
 # Start SUBSYSTEM SMB
-[SUBSYSTEM::SMB_SERVER]
+[MODULE::SMB_SERVER]
+INIT_FUNCTION = server_service_smb_init
+SUBSYSTEM = service
 OBJ_FILES = \
                smb_server.o \
                tcon.o \
index 3862649388af42965f3bdb0521dbcfff1042e766..8420a08cc2ad3a7f5e005daee3c7aa1e46596992 100644 (file)
@@ -16,5 +16,6 @@ OBJ_FILES = \
                signing.o
 PUBLIC_DEPENDENCIES = \
                ntvfs LIBPACKET
+LDFLAGS = -lsmb_server
 # End SUBSYSTEM SMB_PROTOCOL
 #######################
index 5286a4d71355c5082b3cf15a0ea0da97fd467e0f..62123b16bc81d5f9b09e79eeb9b826508d223aef 100644 (file)
@@ -11,5 +11,6 @@ OBJ_FILES = \
                keepalive.o
 PUBLIC_DEPENDENCIES = \
                ntvfs LIBPACKET LIBCLI_SMB2
+LDFLAGS = -lsmb_server
 # End SUBSYSTEM SMB2_PROTOCOL
 #######################
index 8238fe53840d7f19c067d37e92042411da47e5ea..1cea1dd2a9944bbe04e598a714add2939ddfcc44 100644 (file)
@@ -10,98 +10,6 @@ PUBLIC_DEPENDENCIES = \
 # End MODULE server_auth
 ################################################
 
-################################################
-# Start MODULE service_smb
-[MODULE::service_smb]
-INIT_FUNCTION = server_service_smb_init
-OUTPUT_TYPE = INTEGRATED
-SUBSYSTEM = service
-PUBLIC_DEPENDENCIES = \
-               SMB_SERVER
-# End MODULE server_smb
-################################################
-
-################################################
-# Start MODULE service_rpc
-[MODULE::service_rpc]
-INIT_FUNCTION = server_service_rpc_init
-SUBSYSTEM = service
-OUTPUT_TYPE = INTEGRATED
-PUBLIC_DEPENDENCIES = \
-               dcerpc_server
-# End MODULE server_rpc
-################################################
-
-################################################
-# Start MODULE service_ldap
-[MODULE::service_ldap]
-INIT_FUNCTION = server_service_ldap_init
-SUBSYSTEM = service
-PUBLIC_DEPENDENCIES = \
-               LDAP
-# End MODULE server_ldap
-################################################
-
-################################################
-# Start MODULE service_nbtd
-[MODULE::service_nbtd]
-INIT_FUNCTION = server_service_nbtd_init
-SUBSYSTEM = service
-PUBLIC_DEPENDENCIES = \
-               NBTD
-# End MODULE service_nbtd
-################################################
-
-################################################
-# Start MODULE service_wrepl
-[MODULE::service_wrepl]
-INIT_FUNCTION = server_service_wrepl_init
-SUBSYSTEM = service
-PUBLIC_DEPENDENCIES = \
-               WREPL_SRV
-# End MODULE service_wrepl
-################################################
-
-################################################
-# Start MODULE service_cldapd
-[MODULE::service_cldap]
-INIT_FUNCTION = server_service_cldapd_init
-SUBSYSTEM = service
-PUBLIC_DEPENDENCIES = \
-               CLDAPD
-# End MODULE service_cldapd
-################################################
-
-################################################
-# Start MODULE service_web
-[MODULE::service_web]
-INIT_FUNCTION = server_service_web_init
-SUBSYSTEM = service
-PUBLIC_DEPENDENCIES = \
-               WEB
-# End MODULE service_web
-################################################
-
-################################################
-# Start MODULE service_web
-[MODULE::service_kdc]
-INIT_FUNCTION = server_service_kdc_init
-SUBSYSTEM = service
-PUBLIC_DEPENDENCIES = \
-               KDC
-# End MODULE service_web
-################################################
-
-################################################
-# Start MODULE service_winbind
-[MODULE::service_winbind]
-INIT_FUNCTION = server_service_winbind_init
-SUBSYSTEM = service
-PUBLIC_DEPENDENCIES = \
-               WINBIND
-# End MODULE service_winbind
-################################################
-
 #######################
 # Start SUBSERVICE
 [SUBSYSTEM::service]
index 09790a686d394fadd4f79457823240462143b782..58de5bdd0b05e34e4c0a965fe6db3ab0e9668e1b 100644 (file)
@@ -176,7 +176,7 @@ OBJ_FILES = \
                auth/ntlmssp.o \
                auth/pac.o
 PUBLIC_DEPENDENCIES = \
-               LIBSMB gensec auth
+               LIBSMB gensec auth LIBSAMBA3
 # End SUBSYSTEM TORTURE_AUTH
 #################################
 
index a4fe7f8886df1d2966a6657ac38e11b51d6a2b49..f6f6113eda953fb76c71ad873c83aac6b190d399 100644 (file)
@@ -2,7 +2,9 @@
 
 #######################
 # Start SUBSYSTEM WEB
-[SUBSYSTEM::WEB]
+[MODULE::WEB]
+INIT_FUNCTION = server_service_web_init
+SUBSYSTEM = service
 PRIVATE_PROTO_HEADER = proto.h
 OBJ_FILES = \
                web_server.o \
index cac46c1dfa6a0564c02024beebd4f8ff90e3c371..e8c5ea11ce6bf8259c46f0fc0b97a66056daa641 100644 (file)
@@ -2,7 +2,9 @@
 
 #######################
 # Start SUBSYSTEM WINBIND
-[SUBSYSTEM::WINBIND]
+[MODULE::WINBIND]
+INIT_FUNCTION = server_service_winbind_init
+SUBSYSTEM = service
 PRIVATE_PROTO_HEADER = wb_proto.h
 OBJ_FILES = \
                wb_server.o \
index 5305f986b6ed690c3774c6980b512897354987d4..ee672730b7eeb9dd600710f5d99c6447113f28b6 100644 (file)
@@ -2,7 +2,9 @@
 
 #######################
 # Start SUBSYSTEM WREPL_SRV
-[SUBSYSTEM::WREPL_SRV]
+[MODULE::WREPL_SRV]
+INIT_FUNCTION = server_service_wrepl_init
+SUBSYSTEM = service
 OBJ_FILES = \
                wrepl_server.o \
                wrepl_in_connection.o \