NetBSD/crypto/dist/krb4/tools/Makefile.am
2002-09-12 12:22:01 +00:00

27 lines
719 B
Makefile

# $KTH-KRB: Makefile.am,v 1.4 2002/05/17 16:05:58 joda Exp $
# $NetBSD: Makefile.am,v 1.1.1.2 2002/09/12 12:22:14 joda Exp $
include $(top_srcdir)/Makefile.am.common
EXTRA_DIST = krb4-config.1
CLEANFILES = krb4-config
bin_SCRIPTS = krb4-config
man_MANS = krb4-config.1
krb4-config: krb4-config.in
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;@LIB_des_appl\@;$(LIB_des_appl);g" \
-e "s;@INCLUDE_des\@;$(INCLUDE_des);g" \
-e "s;@LIBS\@;$(LIBS);g" \
-e "s;@DBLIB\@;$(DBLIB);g" \
$(srcdir)/krb4-config.in > $@
chmod +x $@