Sync usage with man page.
[netbsd-mini2440.git] / usr.bin / krb5-config / Makefile
blob34fe5f807891694b6f733600e92d5de2861c9357
1 # $NetBSD: Makefile,v 1.6 2008/10/25 22:27:38 apb Exp $
3 .include <bsd.own.mk>
5 DIST= ${NETBSDSRCDIR}/crypto/dist
6 .PATH: ${DIST}/heimdal/tools
8 SCRIPTS= krb5-config
9 MAN= krb5-config.1
11 CLEANFILES+= krb5-config
13 krb5-config: krb5-config.in
14 ${TOOL_SED} -e "s!@PACKAGE\@!heimdal!g" \
15 -e "s!@VERSION\@!1.1!g" \
16 -e "s!@prefix\@!/!g" \
17 -e "s!@exec_prefix\@!/!g" \
18 -e "s!@libdir\@!/usr/lib!g" \
19 -e "s!@includedir\@!/usr/include/krb5!g" \
20 -e "s!@LIB_crypt\@!-lcrypt!g" \
21 -e "s!@LIB_dbopen\@!!g" \
22 -e "s!@INCLUDE_hcrypto\@!!g" \
23 -e "s!@LIB_hcrypto_appl\@!-lcrypto!g" \
24 -e "s!@LIB_dlopen\@!!g" \
25 -e "s!@LIB_door_create\@!!g" \
26 -e "s!@LIB_pkinit\@!-lhx509!g" \
27 -e "s!@LIBS\@!!g" \
28 $(DIST)/heimdal/tools/krb5-config.in > $@
29 chmod +x $@
31 .include <bsd.prog.mk>