Files
heimdal/tools/Makefile.am
Jelmer Vernooij 87a0e11a80 Add heimdal-krb5.pc file, with krb5.pc depending on it.
This makes it easier to install Heimdal and MIT kerberos on
the same system by just providing the heimdal-krb5.pc file;
the krb5.pc file is provided by both.

This is similar to what's done with heimdal-gssapi.pc/krb5-gssapi.pc.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2013-11-24 14:39:14 +00:00

62 lines
1.3 KiB
Makefile

# $Id$
include $(top_srcdir)/Makefile.am.common
bin_SCRIPTS = krb5-config
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = \
heimdal-gssapi.pc \
heimdal-krb5.pc \
kafs.pc \
kadm-client.pc \
kadm-server.pc \
krb5.pc \
krb5-gssapi.pc
man_MANS = krb5-config.1
if PKINIT
LIB_pkinit = -lhx509
endif
subst = sed -e "s!@PACKAGE\@!$(PACKAGE)!g" \
-e "s!@VERSION\@!$(VERSION)!g" \
-e "s!@prefix\@!$(prefix)!g" \
-e "s!@exec_prefix\@!$(exec_prefix)!g" \
-e "s!@libdir\@!$(libdir)!g" \
-e "s!@includedir\@!$(includedir)!g" \
-e "s!@PTHREAD_LIBADD\@!$(PTHREAD_LIBADD)!g" \
-e "s!@LIB_crypt\@!$(LIB_crypt)!g" \
-e "s!@LIB_dbopen\@!$(LIB_dbopen)!g" \
-e "s!@INCLUDE_hcrypto\@!$(INCLUDE_hcrypto)!g" \
-e "s!@LIB_hcrypto_appl\@!$(LIB_hcrypto_appl)!g" \
-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"
krb5-config: krb5-config.in
$(subst) $(srcdir)/krb5-config.in > $@.new
mv $@.new $@
chmod +x $@
.pc.in.pc:
$(subst) $< > $@.new
mv $@.new $@
EXTRA_DIST = \
NTMakefile \
$(man_MANS) \
krb5-config.in \
heimdal-gssapi.pc.in \
kdc-log-analyze.pl
CLEANFILES = \
krb5-config \
krb5-config.new \
heimdal-gssapi.pc \
heimdal-gssapi.pc.new