summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-14 11:21:21 +0100
committerGünther Deschner <gd@samba.org>2011-02-14 18:54:38 +0100
commit3722f6535938fe019f9cf019b06d30d57a819899 (patch)
tree8b9aea94f7c2cb2fe2374028fdfbbfb839a9bd4b /librpc
parentd6a41c2723cda59b3cd6ae9a1e77b62f25067663 (diff)
downloadsamba-3722f6535938fe019f9cf019b06d30d57a819899.tar.gz
samba-3722f6535938fe019f9cf019b06d30d57a819899.tar.bz2
samba-3722f6535938fe019f9cf019b06d30d57a819899.zip
librpc: make NDR_KRB5PAC a shared library (libndr-krb5pac.so).
Simo, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Feb 14 18:54:38 CET 2011 on sn-devel-104
Diffstat (limited to 'librpc')
-rw-r--r--librpc/ndr_krb5pac.pc.in11
-rw-r--r--librpc/wscript_build12
2 files changed, 18 insertions, 5 deletions
diff --git a/librpc/ndr_krb5pac.pc.in b/librpc/ndr_krb5pac.pc.in
new file mode 100644
index 0000000000..21ecb55db7
--- /dev/null
+++ b/librpc/ndr_krb5pac.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: ndr-krb5pac
+Description: NDR marshallers for the KRB5 PAC formats
+Requires: ndr
+Version: 0.0.1
+Libs: @LIB_RPATH@ -L${libdir} -lndr-krb5pac
+Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1 -D_GNU_SOURCE=1
diff --git a/librpc/wscript_build b/librpc/wscript_build
index 2870388cc8..60637fe5f8 100644
--- a/librpc/wscript_build
+++ b/librpc/wscript_build
@@ -12,7 +12,7 @@ bld.SAMBA_SUBSYSTEM('NDR_AUTH',
source='gen_ndr/ndr_auth.c',
public_headers='gen_ndr/auth.h',
header_path='gen_ndr',
- public_deps='ndr NDR_SECURITY'
+ public_deps='ndr NDR_SECURITY ndr-krb5pac'
)
bld.SAMBA_SUBSYSTEM('NDR_NAMED_PIPE_AUTH',
@@ -266,11 +266,13 @@ bld.SAMBA_SUBSYSTEM('NDR_DRSBLOBS',
public_deps='ndr NDR_DRSUAPI'
)
-bld.SAMBA_SUBSYSTEM('NDR_KRB5PAC',
+bld.SAMBA_LIBRARY('ndr-krb5pac',
source='ndr/ndr_krb5pac.c gen_ndr/ndr_krb5pac.c',
public_deps='ndr ndr-standard NDR_SECURITY',
- public_headers='gen_ndr/krb5pac.h',
- header_path='gen_ndr'
+ public_headers='gen_ndr/krb5pac.h gen_ndr/ndr_krb5pac.h',
+ header_path='gen_ndr',
+ pc_files='ndr_krb5pac.pc',
+ vnum='0.0.1'
)
@@ -506,7 +508,7 @@ bld.SAMBA_SUBSYSTEM('RPC_NDR_DNSP',
# a grouping library for NDR subsystems that may be used by more than one target
bld.SAMBA_LIBRARY('ndr-samba',
source=[],
- deps='NDR_DRSBLOBS NDR_DRSUAPI NDR_IDMAP NDR_NTLMSSP NDR_SCHANNEL NDR_MGMT NDR_KRB5PAC NDR_DNSP NDR_EPMAPPER NDR_XATTR NDR_UNIXINFO NDR_NAMED_PIPE_AUTH NDR_DCOM',
+ deps='NDR_DRSBLOBS NDR_DRSUAPI NDR_IDMAP NDR_NTLMSSP NDR_SCHANNEL NDR_MGMT NDR_DNSP NDR_EPMAPPER NDR_XATTR NDR_UNIXINFO NDR_NAMED_PIPE_AUTH NDR_DCOM',
private_library=True,
grouping_library=True
)