summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-03-09 22:49:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:56:52 -0500
commitdabc0b41160615ff872491e4b133be5018eef4e8 (patch)
tree61d26e4d37cf688451f95b90d696d02d1693ecdb
parent686c10afa2f36fb9ada0d85e164180869c47f939 (diff)
downloadsamba-dabc0b41160615ff872491e4b133be5018eef4e8.tar.gz
samba-dabc0b41160615ff872491e4b133be5018eef4e8.tar.bz2
samba-dabc0b41160615ff872491e4b133be5018eef4e8.zip
r14120: make the rpc client code also libraries
metze (This used to be commit 7f32fd0881b946b405892031b0ee8144e4aa9a96)
-rw-r--r--source4/librpc/config.mk241
1 files changed, 192 insertions, 49 deletions
diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk
index 1f2153f3fb..29a5d7bafa 100644
--- a/source4/librpc/config.mk
+++ b/source4/librpc/config.mk
@@ -540,197 +540,335 @@ REQUIRED_SUBSYSTEMS = \
NDR_INITSHUTDOWN NDR_DNSSERVER NDR_WINSTATION NDR_IRPC NDR_DCOM NDR_OPENDB \
NDR_SASL_HELPERS
-[SUBSYSTEM::RPC_NDR_ROT]
+[LIBRARY::RPC_NDR_ROT]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_rot_c.o
REQUIRED_SUBSYSTEMS = NDR_ROT dcerpc
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_AUDIOSRV]
+[LIBRARY::RPC_NDR_AUDIOSRV]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_audiosrv_c.o
REQUIRED_SUBSYSTEMS = NDR_AUDIOSRV dcerpc
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_ECHO]
+[LIBRARY::RPC_NDR_ECHO]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_echo_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_ECHO
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_EXCHANGE]
+[LIBRARY::RPC_NDR_EXCHANGE]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_exchange_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_EXCHANGE
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_DSBACKUP]
+[LIBRARY::RPC_NDR_DSBACKUP]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_dsbackup_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_DSBACKUP
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_EFS]
+[LIBRARY::RPC_NDR_EFS]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_efs_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_EFS
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_LSA]
+[LIBRARY::RPC_NDR_LSA]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_lsa_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_LSA
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_DFS]
+[LIBRARY::RPC_NDR_DFS]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_dfs_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_DFS
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_DRSUAPI]
+[LIBRARY::RPC_NDR_DRSUAPI]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_drsuapi_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_DRSUAPI
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_DRSBLOBS]
-OBJ_FILES = gen_ndr/ndr_drsblobs_c.o
-REQUIRED_SUBSYSTEMS = dcerpc NDR_DRSBLOBS
-NOPROTO = YES
-
-[SUBSYSTEM::RPC_NDR_POLICYAGENT]
+[LIBRARY::RPC_NDR_POLICYAGENT]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_policyagent_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_POLICYAGENT
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_UNIXINFO]
+[LIBRARY::RPC_NDR_UNIXINFO]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_unixinfo_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_UNIXINFO
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_SAMR]
+[LIBRARY::RPC_NDR_SAMR]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_samr_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_SAMR
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_SPOOLSS]
+[LIBRARY::RPC_NDR_SPOOLSS]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_spoolss_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_SPOOLSS
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_WKSSVC]
+[LIBRARY::RPC_NDR_WKSSVC]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_wkssvc_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_WKSSVC
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_SRVSVC]
+[LIBRARY::RPC_NDR_SRVSVC]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_srvsvc_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_SRVSVC
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_SVCCTL]
+[LIBRARY::RPC_NDR_SVCCTL]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_svcctl_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_SVCCTL
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_ATSVC]
+[LIBRARY::RPC_NDR_ATSVC]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_atsvc_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_ATSVC
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_EVENTLOG]
+[LIBRARY::RPC_NDR_EVENTLOG]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_eventlog_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_EVENTLOG
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_EPMAPPER]
+[LIBRARY::RPC_NDR_EPMAPPER]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_epmapper_c.o
REQUIRED_SUBSYSTEMS = NDR_EPMAPPER
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_DBGIDL]
+[LIBRARY::RPC_NDR_DBGIDL]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_dbgidl_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_DBGIDL
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_DSSETUP]
+[LIBRARY::RPC_NDR_DSSETUP]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_dssetup_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_DSSETUP
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_MSGSVC]
+[LIBRARY::RPC_NDR_MSGSVC]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_msgsvc_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_MSGSVC
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_WINS]
+[LIBRARY::RPC_NDR_WINS]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_wins_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_WINS
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_WINREG]
+[LIBRARY::RPC_NDR_WINREG]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_winreg_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_WINREG
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_INITSHUTDOWN]
+[LIBRARY::RPC_NDR_INITSHUTDOWN]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_initshutdown_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_INITSHUTDOWN
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_MGMT]
+[LIBRARY::RPC_NDR_MGMT]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_mgmt_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_MGMT
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_PROTECTED_STORAGE]
+[LIBRARY::RPC_NDR_PROTECTED_STORAGE]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_protected_storage_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_PROTECTED_STORAGE
NOPROTO = YES
-[SUBSYSTEM::DCOM_PROXY_DCOM]
+[LIBRARY::DCOM_PROXY_DCOM]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_dcom_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_DCOM
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_OXIDRESOLVER]
+[LIBRARY::RPC_NDR_OXIDRESOLVER]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_oxidresolver_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_OXIDRESOLVER
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_REMACT]
+[LIBRARY::RPC_NDR_REMACT]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_remact_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_REMACT
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_WZCSVC]
+[LIBRARY::RPC_NDR_WZCSVC]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_wzcsvc_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_WZCSVC
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_BROWSER]
-OBJ_FILES = gen_ndr/ndr_browser_c.o
-REQUIRED_SUBSYSTEMS = dcerpc NDR_BROWSER
-NOPROTO = YES
-
-[SUBSYSTEM::RPC_NDR_W32TIME]
+[LIBRARY::RPC_NDR_W32TIME]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_w32time_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_W32TIME
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_SCERPC]
+[LIBRARY::RPC_NDR_SCERPC]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_scerpc_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_SCERPC
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_NTSVCS]
+[LIBRARY::RPC_NDR_NTSVCS]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_ntsvcs_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_NTSVCS
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_NETLOGON]
+[LIBRARY::RPC_NDR_NETLOGON]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_netlogon_c.o
REQUIRED_SUBSYSTEMS = NDR_NETLOGON
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_TRKWKS]
+[LIBRARY::RPC_NDR_TRKWKS]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_trkwks_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_TRKWKS
NOPROTO = YES
-[SUBSYSTEM::RPC_NDR_KEYSVC]
+[LIBRARY::RPC_NDR_KEYSVC]
+MAJOR_VERSION = 0
+MINOR_VERSION = 0
+RELEASE_VERSION = 1
+DESCRIPTION =
OBJ_FILES = gen_ndr/ndr_keysvc_c.o
REQUIRED_SUBSYSTEMS = dcerpc NDR_KEYSVC
NOPROTO = YES
@@ -738,7 +876,7 @@ NOPROTO = YES
[SUBSYSTEM::NDR_DCERPC]
OBJ_FILES = gen_ndr/ndr_dcerpc.o
NOPROTO = YES
-REQUIRED_SUBSYSTEMS = LIBNDR
+REQUIRED_SUBSYSTEMS = LIBNDR NDR_MISC
################################################
# Start SUBSYSTEM dcerpc
@@ -759,7 +897,12 @@ OBJ_FILES = \
rpc/dcerpc_smb2.o \
rpc/dcerpc_sock.o \
rpc/dcerpc_connect.o
-REQUIRED_SUBSYSTEMS = SOCKET LIBNDR LIBSMB NDR_MISC NDR_DCERPC NDR_SCHANNEL NDR_LSA NDR_NETLOGON NDR_SAMR NDR_UNIXINFO RPC_NDR_NETLOGON RPC_NDR_EPMAPPER gensec
+REQUIRED_SUBSYSTEMS = \
+ SOCKET LIBSMB \
+ LIBNDR NDR_DCERPC \
+ RPC_NDR_EPMAPPER \
+ NDR_SCHANNEL RPC_NDR_NETLOGON \
+ gensec
# End SUBSYSTEM dcerpc
################################################