summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-08-20 02:32:58 +0200
committerJelmer Vernooij <jelmer@samba.org>2011-08-21 03:22:04 +0200
commit7ebdd3f68306d7d36ee5dfbc294815603525b6db (patch)
treeab5948a88a7db1ee4ff9db83e07c237d5c7632b4 /source4/auth
parente25345a7a68e93626066d83185ed1944f6bdd044 (diff)
downloadsamba-7ebdd3f68306d7d36ee5dfbc294815603525b6db.tar.gz
samba-7ebdd3f68306d7d36ee5dfbc294815603525b6db.tar.bz2
samba-7ebdd3f68306d7d36ee5dfbc294815603525b6db.zip
samba-credentials: Add pkg-config file.
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/credentials/samba-credentials.pc.in11
-rw-r--r--source4/auth/credentials/wscript_build1
2 files changed, 12 insertions, 0 deletions
diff --git a/source4/auth/credentials/samba-credentials.pc.in b/source4/auth/credentials/samba-credentials.pc.in
new file mode 100644
index 0000000000..9a0db509ee
--- /dev/null
+++ b/source4/auth/credentials/samba-credentials.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+modulesdir=${prefix}/modules/gensec
+
+Name: samba-credentials
+Description: Credentials management
+Version: @PACKAGE_VERSION@
+Libs: @LIB_RPATH@ -L${libdir} -lsamba-credentials
+Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1
diff --git a/source4/auth/credentials/wscript_build b/source4/auth/credentials/wscript_build
index c708e7e574..2c46b43b21 100644
--- a/source4/auth/credentials/wscript_build
+++ b/source4/auth/credentials/wscript_build
@@ -4,6 +4,7 @@ bld.SAMBA_LIBRARY('samba-credentials',
source='credentials.c',
autoproto='credentials_proto.h',
public_headers='credentials.h',
+ pc_files='samba-credentials.pc',
deps='LIBCRYPTO errors events LIBCLI_AUTH security CREDENTIALS_SECRETS CREDENTIALS_KRB5',
vnum='0.0.1'
)