2008-03-23 11:24:18 +03:00
|
|
|
# $NetBSD: Makefile,v 1.2 2008/03/23 08:24:18 mlelstv Exp $
|
2008-03-22 12:24:06 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
DIST= ${NETBSDSRCDIR}/crypto/dist
|
|
|
|
.PATH: ${DIST}/heimdal/tools
|
|
|
|
|
|
|
|
WARNS?= 1
|
|
|
|
|
|
|
|
PROG= krb5-config
|
|
|
|
MAN= krb5-config.1
|
|
|
|
|
|
|
|
krb5-config: krb5-config.in
|
|
|
|
sed -e "s!@PACKAGE\@!heimdal!g" \
|
2008-03-23 11:24:18 +03:00
|
|
|
-e "s!@VERSION\@!1.1!g" \
|
2008-03-22 12:24:06 +03:00
|
|
|
-e "s!@prefix\@!/!g" \
|
|
|
|
-e "s!@exec_prefix\@!/!g" \
|
|
|
|
-e "s!@libdir\@!/usr/lib!g" \
|
|
|
|
-e "s!@includedir\@!/usr/include!g" \
|
|
|
|
-e "s!@LIB_crypt\@!-lcrypt!g" \
|
|
|
|
-e "s!@LIB_dbopen\@!!g" \
|
|
|
|
-e "s!@INCLUDE_hcrypto\@!!g" \
|
|
|
|
-e "s!@LIB_hcrypto_appl\@!-lcrypto!g" \
|
|
|
|
-e "s!@LIB_dlopen\@!!g" \
|
|
|
|
-e "s!@LIB_door_create\@!!g" \
|
|
|
|
-e "s!@LIB_pkinit\@!-lhx509!g" \
|
|
|
|
-e "s!@LIBS\@!!g" \
|
|
|
|
$(DIST)/heimdal/tools/krb5-config.in > $@
|
|
|
|
chmod +x $@
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|