summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-15 02:25:16 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-15 02:25:16 +0200
commit08baea013b73607df0c86f24506912c7e6af6f7e (patch)
tree2552f5cc7b5e547ebcc9dc09d4085a344ad1d3e0 /source4/librpc
parentb62d7aa8eb2da784186b8cd903775dd12c3f34f7 (diff)
downloadsamba-08baea013b73607df0c86f24506912c7e6af6f7e.tar.gz
samba-08baea013b73607df0c86f24506912c7e6af6f7e.tar.bz2
samba-08baea013b73607df0c86f24506912c7e6af6f7e.zip
Move SOVERSION, VERSION and PC_FILE out of smb_build but use make variables directly instead.
(This used to be commit 9d0ae012b0b463278cd054d06788aa998acc2da2)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/config.mk37
1 files changed, 19 insertions, 18 deletions
diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk
index abf7a434d0..92409da20e 100644
--- a/source4/librpc/config.mk
+++ b/source4/librpc/config.mk
@@ -1,21 +1,19 @@
################################################
# 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 \
LIBSAMBA-HOSTCONFIG
+
+LIBNDR_OBJ_FILES = $(addprefix librpc/ndr/, ndr.o ndr_basic.o ndr_string.o uuid.o)
+
+PC_FILES += librpc/ndr.pc
+LIBNDR_VERSION = 0.0.1
+LIBNDR_SOVERSION = 0
+
# End SUBSYSTEM LIBNDR
################################################
-LIBNDR_OBJ_FILES = \
- librpc/ndr/ndr.o \
- librpc/ndr/ndr_basic.o \
- librpc/ndr/ndr_string.o \
- librpc/ndr/uuid.o
-
PUBLIC_HEADERS += librpc/ndr/libndr.h
#################################
@@ -430,10 +428,11 @@ RPC_NDR_UNIXINFO_OBJ_FILES = librpc/gen_ndr/ndr_unixinfo_c.o
[LIBRARY::dcerpc_samr]
PUBLIC_DEPENDENCIES = dcerpc NDR_SAMR
-PC_FILE = dcerpc_samr.pc
-VERSION = 0.0.1
-SO_VERSION = 0
+PC_FILES += librpc/dcerpc_samr.pc
+
+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]
@@ -460,11 +459,12 @@ PUBLIC_HEADERS += librpc/gen_ndr/ndr_svcctl_c.h
[LIBRARY::dcerpc_atsvc]
PUBLIC_DEPENDENCIES = dcerpc NDR_ATSVC
-PC_FILE = dcerpc_atsvc.pc
-VERSION = 0.0.1
-SO_VERSION = 0
+
+dcerpc_atsvc_VERSION = 0.0.1
+dcerpc_atsvc_SOVERSION = 0
dcerpc_atsvc_OBJ_FILES = librpc/gen_ndr/ndr_atsvc_c.o
+PC_FILES += librpc/dcerpc_atsvc.pc
PUBLIC_HEADERS += librpc/gen_ndr/ndr_atsvc_c.h
@@ -573,9 +573,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 = \
samba-socket LIBCLI_RESOLVE LIBCLI_SMB LIBCLI_SMB2 \
@@ -588,6 +585,10 @@ PUBLIC_DEPENDENCIES = CREDENTIALS
# End SUBSYSTEM dcerpc
################################################
+PC_FILES += librpc/dcerpc.pc
+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)