1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-24 10:50:22 +03:00

Push SOVERSION and VERSION out of perl code.

(This used to be commit 0ba8ac6a14c62ff9edfe9f0bf43b8a7406b85291)
This commit is contained in:
Jelmer Vernooij 2008-03-08 15:28:12 +01:00
parent 0c6de7c959
commit 2bf39edc9d
20 changed files with 25 additions and 33 deletions

View File

@ -2,8 +2,6 @@
# Start SUBSYSTEM gensec
[LIBRARY::gensec]
PC_FILE = gensec.pc
VERSION = 0.0.1
SO_VERSION = 0
PRIVATE_PROTO_HEADER = gensec_proto.h
PUBLIC_DEPENDENCIES = \
CREDENTIALS LIBSAMBA-UTIL LIBCRYPTO ASN1_UTIL samba-socket LIBPACKET
@ -11,6 +9,8 @@ PUBLIC_DEPENDENCIES = \
#################################
gensec_VERSION = 0.0.1
gensec_SOVERSION = 0
gensec_OBJ_FILES = $(addprefix auth/gensec/, gensec.o socket.o)
PUBLIC_HEADERS += $(addprefix auth/gensec/, gensec.h spnego.h)

View File

@ -190,10 +190,10 @@ include/includes.d: include/includes.h
@-mkdir -p `dirname $@`
@$(COMPILE) && exit 0 ; \
echo "The following command failed:" 1>&2;\
echo "$(COMPILE)" 1>&2;\
$(COMPILE) >/dev/null 2>&1
# echo "$(COMPILE)" 1>&2;\
.c.ho:
@echo "Compiling $< with host compiler"

View File

@ -147,9 +147,6 @@ sub SharedLibraryPrimitives($$)
{
my ($self,$ctx) = @_;
$self->output("$ctx->{NAME}_SOVERSION = $ctx->{SO_VERSION}\n") if (defined($ctx->{SO_VERSION}));
$self->output("$ctx->{NAME}_VERSION = $ctx->{VERSION}\n") if (defined($ctx->{VERSION}));
if (not grep(/STATIC_LIBRARY/, @{$ctx->{OUTPUT_TYPE}})) {
$self->output("$ctx->{NAME}_OUTPUT = $ctx->{OUTPUT}\n");
$self->_prepare_list($ctx, "FULL_OBJ_LIST");

View File

@ -119,8 +119,6 @@ ldb_tdb_OBJ_FILES = $(addprefix lib/ldb/ldb_tdb/, ldb_tdb.o ldb_search.o ldb_pac
################################################
# Start SUBSYSTEM ldb
[LIBRARY::LIBLDB]
VERSION = 0.0.1
SO_VERSION = 0
CFLAGS = -Ilib/ldb/include
PC_FILE = ldb.pc
INIT_FUNCTION_TYPE = extern const struct ldb_module_ops
@ -132,6 +130,9 @@ PRIVATE_DEPENDENCIES = \
# End SUBSYSTEM ldb
################################################
LIBLDB_VERSION = 0.0.1
LIBLDB_SOVERSION = 0
LIBLDB_OBJ_FILES = $(addprefix lib/ldb/common/, ldb.o ldb_ldif.o ldb_parse.o ldb_msg.o ldb_utf8.o ldb_debug.o ldb_modules.o ldb_match.o ldb_attributes.o attrib_handlers.o ldb_dn.o ldb_controls.o qsort.o)
PUBLIC_HEADERS += $(ldbdir)/include/ldb.h $(ldbdir)/include/ldb_errors.h

View File

@ -18,15 +18,16 @@ clean::
################################################
# Start SUBSYSTEM registry
[LIBRARY::registry]
VERSION = 0.0.1
PC_FILE = registry.pc
SO_VERSION = 0
PUBLIC_DEPENDENCIES = \
LIBSAMBA-UTIL CHARSET TDR_REGF LIBLDB \
RPC_NDR_WINREG LDB_WRAP
# End MODULE registry_ldb
################################################
registry_VERSION = 0.0.1
registry_SOVERSION = 0
registry_OBJ_FILES = $(addprefix lib/registry/, interface.o util.o samba.o \
patchfile_dotreg.o patchfile_preg.o patchfile.o regf.o \
hive.o local.o ldb.o dir.o rpc.o)

View File

@ -1,6 +1,4 @@
[SUBSYSTEM::LIBSAMBA-UTIL]
#VERSION = 0.0.1
#SO_VERSION = 0
PUBLIC_DEPENDENCIES = \
LIBTALLOC LIBCRYPTO \
SOCKET_WRAPPER EXT_NSL \

View File

@ -41,8 +41,6 @@ PRIVATE_PROTO_HEADER = nbt/nbtname.h
NDR_NBT_BUF_OBJ_FILES = libcli/nbt/nbtname.o
[SUBSYSTEM::LIBCLI_NBT]
#VERSION = 0.0.1
#SO_VERSION = 0
PRIVATE_PROTO_HEADER = nbt/nbt_proto.h
PUBLIC_DEPENDENCIES = LIBNDR NDR_NBT LIBCLI_COMPOSITE LIBEVENTS \
NDR_SECURITY samba-socket LIBSAMBA-UTIL

View File

@ -1,8 +1,6 @@
################################################
# Start SUBSYSTEM LIBNDR
[LIBRARY::LIBNDR]
VERSION = 0.0.1
SO_VERSION = 0
PC_FILE = ndr.pc
PRIVATE_PROTO_HEADER = ndr/libndr_proto.h
PUBLIC_DEPENDENCIES = LIBSAMBA-ERRORS LIBTALLOC LIBSAMBA-UTIL CHARSET EXT_NSL \
@ -10,6 +8,9 @@ PUBLIC_DEPENDENCIES = LIBSAMBA-ERRORS LIBTALLOC LIBSAMBA-UTIL CHARSET EXT_NSL \
LIBNDR_OBJ_FILES = $(addprefix librpc/ndr/, ndr.o ndr_basic.o ndr_string.o uuid.o)
LIBNDR_VERSION = 0.0.1
LIBNDR_SOVERSION = 0
# End SUBSYSTEM LIBNDR
################################################
@ -428,9 +429,9 @@ RPC_NDR_UNIXINFO_OBJ_FILES = librpc/gen_ndr/ndr_unixinfo_c.o
[LIBRARY::dcerpc_samr]
PC_FILE = dcerpc_samr.pc
PUBLIC_DEPENDENCIES = dcerpc NDR_SAMR
VERSION = 0.0.1
SO_VERSION = 0
dcerpc_samr_VERSION = 0.0.1
dcerpc_samr_SOVERSION = 0
dcerpc_samr_OBJ_FILES = librpc/gen_ndr/ndr_samr_c.o
[SUBSYSTEM::RPC_NDR_SPOOLSS]
@ -567,8 +568,6 @@ PUBLIC_HEADERS += $(addprefix librpc/, gen_ndr/dcerpc.h gen_ndr/ndr_dcerpc.h)
################################################
# Start SUBSYSTEM dcerpc
[LIBRARY::dcerpc]
VERSION = 0.0.1
SO_VERSION = 0
PC_FILE = dcerpc.pc
PRIVATE_PROTO_HEADER = rpc/dcerpc_proto.h
PRIVATE_DEPENDENCIES = \
@ -581,6 +580,9 @@ PUBLIC_DEPENDENCIES = CREDENTIALS
# End SUBSYSTEM dcerpc
################################################
dcerpc_VERSION = 0.0.1
dcerpc_SOVERSION = 0
dcerpc_OBJ_FILES = $(addprefix librpc/rpc/, dcerpc.o dcerpc_auth.o dcerpc_schannel.o dcerpc_util.o \
dcerpc_error.o dcerpc_smb.o dcerpc_smb2.o dcerpc_sock.o dcerpc_connect.o dcerpc_secondary.o)

View File

@ -24,7 +24,6 @@
#include "includes.h"
#include "ntptr/ntptr.h"
#include "build.h"
#include "param/param.h"
/* the list of currently registered NTPTR backends */

View File

@ -24,7 +24,6 @@
#include "includes.h"
#include "lib/util/dlinklist.h"
#include "build.h"
#include "ntvfs/ntvfs.h"
#include "param/param.h"

View File

@ -28,7 +28,6 @@
#include "lib/events/events.h"
#include "lib/util/dlinklist.h"
#include "param/param.h"
#include "build.h"
/* list of registered backends */
static struct sys_notify_backend *backends;

View File

@ -21,7 +21,6 @@
#include "includes.h"
#include "param/share.h"
#include "build.h"
#include "param/param.h"
const char *share_string_option(struct share_config *scfg, const char *opt_name, const char *defval)

View File

@ -32,7 +32,6 @@
#include "smbd/service.h"
#include "system/filesys.h"
#include "libcli/security/security.h"
#include "build.h"
#include "param/param.h"
extern const struct dcesrv_interface dcesrv_mgmt_interface;

View File

@ -37,7 +37,6 @@
#include "lib/messaging/irpc.h"
#include "system/network.h"
#include "lib/socket/netif.h"
#include "build.h"
#include "param/param.h"
struct dcesrv_socket_context {

View File

@ -19,7 +19,6 @@
#include "includes.h"
#include <Python.h>
#include "build.h"
extern void init_ldb(void);
extern void init_security(void);

View File

@ -20,7 +20,6 @@
#include "includes.h"
#include "smbd/process_model.h"
#include "build.h"
#include "param/param.h"
/*

View File

@ -28,7 +28,6 @@
#include "lib/cmdline/popt_common.h"
#include "system/dir.h"
#include "system/filesys.h"
#include "build.h"
#include "ldb/include/ldb.h"
#include "registry/registry.h"
#include "ntvfs/ntvfs.h"

View File

@ -1,7 +1,5 @@
# TORTURE subsystem
[LIBRARY::torture]
SO_VERSION = 0
VERSION = 0.0.1
PC_FILE = torture.pc
PRIVATE_PROTO_HEADER = proto.h
PUBLIC_DEPENDENCIES = \

View File

@ -31,7 +31,6 @@
#include "dynconfig.h"
#include "torture/torture.h"
#include "build.h"
#include "lib/util/dlinklist.h"
#include "librpc/rpc/dcerpc.h"
#include "param/param.h"

View File

@ -21,7 +21,6 @@
#include "includes.h"
#include "system/time.h"
#include "torture/torture.h"
#include "build.h"
#include "lib/util/dlinklist.h"
#include "param/param.h"
#include "lib/cmdline/popt_common.h"
@ -48,6 +47,14 @@ bool torture_register_suite(struct torture_suite *suite)
int torture_init(void)
{
extern NTSTATUS torture_nbt_init();
extern NTSTATUS torture_nbench_init();
extern NTSTATUS torture_rap_init();
extern NTSTATUS torture_rpc_init();
extern NTSTATUS torture_smb2_init();
extern NTSTATUS torture_base_init();
extern NTSTATUS torture_net_init();
extern NTSTATUS torture_winbind_init();
init_module_fn static_init[] = { STATIC_torture_MODULES };
init_module_fn *shared_init = load_samba_modules(NULL, cmdline_lp_ctx, "torture");