Add pkg-config files for krb5 libraries

* These can be used along side krb5-config

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
This commit is contained in:
Stef Walter
2012-09-27 13:51:27 +02:00
committed by Love Hornquist Astrand
parent 9ba23d7da8
commit b0b94a445a
8 changed files with 63 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
# $Id$
SUFFIXES = .et .h
SUFFIXES = .et .h .pc.in .pc
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include

View File

@@ -6,7 +6,13 @@ bin_SCRIPTS = krb5-config
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = heimdal-gssapi.pc
pkgconfig_DATA = \
heimdal-gssapi.pc \
kafs.pc \
kadm-client.pc \
kadm-server.pc \
krb5.pc \
krb5-gssapi.pc
man_MANS = krb5-config.1
@@ -35,8 +41,8 @@ krb5-config: krb5-config.in
mv $@.new $@
chmod +x $@
heimdal-gssapi.pc: heimdal-gssapi.pc.in
$(subst) $(srcdir)/heimdal-gssapi.pc.in > $@.new
.pc.in.pc:
$(subst) $< > $@.new
mv $@.new $@
EXTRA_DIST = \

View File

@@ -8,7 +8,6 @@ Name: @PACKAGE@
Description: Heimdal is an implementation of Kerberos 5, freely available under a three clause BSD style license.
Version: @VERSION@
URL: http://www.pdc.kth.se/heimdal/
#Requires: foo = 1.3.1
#Conflicts: bar <= 4.5
Libs: -L${libdir} -lgssapi -lheimntlm -lkrb5 @LIB_pkinit@ -lcom_err @LIB_hcrypto_appl@ -lasn1 -lwind -lroken @LIB_crypt@ @LIB_dlopen@ @LIB_door_create@ @LIBS@
Requires: krb5
Libs: -L${libdir} -lgssapi -lheimntlm @LIB_crypt@
Cflags: -I${includedir}

10
tools/kadm-client.pc.in Normal file
View File

@@ -0,0 +1,10 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: kadm-client
Description: Kadmin client library.
Version: @VERSION@
Requires: krb5-gssapi
Libs: -lkadm5clnt

10
tools/kadm-server.pc.in Normal file
View File

@@ -0,0 +1,10 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: kadm-server
Description: Kadmin server library.
Version: @VERSION@
Requires: krb5-gssapi
Libs: -lkadm5srv @LIB_dbopen@

10
tools/kafs.pc.in Normal file
View File

@@ -0,0 +1,10 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: kafs
Description: Libraries for application that uses kafs.
Version: @VERSION@
Requires: krb5
Libs: -lkafs

10
tools/krb5-gssapi.pc.in Normal file
View File

@@ -0,0 +1,10 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
vendor=Heimdal
Name: krb5-gssapi
Description: Kerberos implementation of the GSS API.
Version: @VERSION@
Requires: heimdal-gssapi

11
tools/krb5.pc.in Normal file
View File

@@ -0,0 +1,11 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
vendor=Heimdal
Name: krb5
Description: Heimdal implementation of the kerberos network authentication.
Version: @VERSION@
Libs: -L${libdir} -lkrb5 @LIB_pkinit@ -lcom_err @LIB_hcrypto_appl@ -lasn1 -lwind -lheimbase -lroken @LIB_crypt@ @PTHREAD_LIBADD@ @LIB_dlopen@ @LIB_door_create@ @LIBS@
Cflags: -I${includedir}