1 # $NetBSD: Makefile,v 1.6 2008/10/25 22:27:38 apb Exp $
5 DIST
= ${NETBSDSRCDIR}/crypto
/dist
6 .PATH
: ${DIST}/heimdal
/tools
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" \
28 $(DIST
)/heimdal
/tools
/krb5-config.in
> $@
31 .
include <bsd.prog.mk
>