freebsd-dev/kerberos5/usr.bin/krb5-config/Makefile
Jacques Vidrine b97d597ffc = We need -lcrypt' and -lcom_err' to when building Kerberos
applications.
= The Heimdal version number is hiding here also.  Correct it.
2002-05-09 00:50:49 +00:00

24 lines
531 B
Makefile

# $FreeBSD$
SCRIPTS= krb5-config
MAN= krb5-config.1
CLEANFILES= krb5-config
krb5-config: krb5-config.in
sed -e "s,@PACKAGE\@,FreeBSD heimdal,g" \
-e "s,@VERSION\@,0.4e,g" \
-e "s,@prefix\@,/,g" \
-e "s,@exec_prefix\@,/,g" \
-e "s,@libdir\@,${LIBDIR},g" \
-e "s,@includedir\@,${INCDIR},g" \
-e "s,@LIB_crypt\@,-lcrypt,g" \
-e "s,@LIB_dbopen\@,,g" \
-e "s,@LIB_des_appl\@,-lcrypto,g" \
-e "s,@LIBS\@,-lcom_err,g" \
${.ALLSRC} > ${.TARGET}
chmod +x ${.TARGET}
.include <bsd.prog.mk>
.PATH: ${KRB5DIR}/tools