Add heimdal-gssapi.pc and install it into $(libdir)/pkgconfig
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21690 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -6,15 +6,17 @@ CLEANFILES = krb5-config krb5-config.new
|
||||
|
||||
bin_SCRIPTS = krb5-config
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
|
||||
pkgconfig_DATA = heimdal-gssapi.pc
|
||||
|
||||
man_MANS = krb5-config.1
|
||||
|
||||
if PKINIT
|
||||
LIB_pkinit = -lhx509
|
||||
endif
|
||||
|
||||
|
||||
krb5-config: krb5-config.in
|
||||
sed -e "s!@PACKAGE\@!$(PACKAGE)!g" \
|
||||
subst = sed -e "s!@PACKAGE\@!$(PACKAGE)!g" \
|
||||
-e "s!@VERSION\@!$(VERSION)!g" \
|
||||
-e "s!@prefix\@!$(prefix)!g" \
|
||||
-e "s!@exec_prefix\@!$(exec_prefix)!g" \
|
||||
@@ -27,9 +29,20 @@ krb5-config: krb5-config.in
|
||||
-e "s!@LIB_dlopen\@!$(LIB_dlopen)!g" \
|
||||
-e "s!@LIB_door_create\@!$(LIB_door_create)!g" \
|
||||
-e "s!@LIB_pkinit\@!$(LIB_pkinit)!g" \
|
||||
-e "s!@LIBS\@!$(LIBS)!g" \
|
||||
$(srcdir)/krb5-config.in > $@.new
|
||||
-e "s!@LIBS\@!$(LIBS)!g"
|
||||
|
||||
krb5-config: krb5-config.in
|
||||
$(subst) $(srcdir)/krb5-config.in > $@.new
|
||||
mv $@.new $@
|
||||
chmod +x $@
|
||||
|
||||
EXTRA_DIST = heimdal-build.sh krb5-config.in $(man_MANS)
|
||||
heimdal-gssapi.pc: heimdal-gssapi.pc.in
|
||||
$(subst) $(srcdir)/heimdal-gssapi.pc.in > $@.new
|
||||
mv $@.new $@
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(man_MANS) \
|
||||
heimdal-build.sh \
|
||||
krb5-config.in \
|
||||
heimdal-gssapi.pc.in
|
||||
|
||||
|
Reference in New Issue
Block a user