freebsd-dev/crypto/heimdal/tools/Makefile.am

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

55 lines
1.2 KiB
Makefile
Raw Normal View History

2011-10-05 07:23:29 +00:00
# $Id$
2001-02-13 16:46:19 +00:00
include $(top_srcdir)/Makefile.am.common
2008-05-07 13:39:42 +00:00
bin_SCRIPTS = krb5-config
2001-02-13 16:46:19 +00:00
2008-05-07 13:39:42 +00:00
pkgconfigdir = $(libdir)/pkgconfig
2001-02-13 16:46:19 +00:00
2008-05-07 13:39:42 +00:00
pkgconfig_DATA = heimdal-gssapi.pc
2001-02-13 16:46:19 +00:00
man_MANS = krb5-config.1
2008-05-07 13:39:42 +00:00
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" \
2011-10-05 07:23:29 +00:00
-e "s!@PTHREAD_LIBADD\@!$(PTHREAD_LIBADD)!g" \
2008-05-07 13:39:42 +00:00
-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"
2001-02-13 16:46:19 +00:00
krb5-config: krb5-config.in
2008-05-07 13:39:42 +00:00
$(subst) $(srcdir)/krb5-config.in > $@.new
mv $@.new $@
2001-02-13 16:46:19 +00:00
chmod +x $@
2008-05-07 13:39:42 +00:00
heimdal-gssapi.pc: heimdal-gssapi.pc.in
$(subst) $(srcdir)/heimdal-gssapi.pc.in > $@.new
mv $@.new $@
EXTRA_DIST = \
2011-10-05 07:23:29 +00:00
NTMakefile \
2008-05-07 13:39:42 +00:00
$(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