summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
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
)