Home | History | Annotate | Line # | Download | only in krb5-config
Makefile revision 1.1
      1 #	$NetBSD: Makefile,v 1.1 2011/04/13 19:16:46 elric Exp $
      2 
      3 .include <bsd.own.mk>
      4 .include <${.CURDIR}/../../Makefile.inc>
      5 
      6 .PATH:          ${HEIMDIST}/tools
      7 
      8 SCRIPTS=	krb5-config
      9 MAN=		krb5-config.1
     10 
     11 CLEANFILES+=	krb5-config
     12 
     13 krb5-config: krb5-config.in
     14 	${TOOL_SED} -e "s!@PACKAGE\@!heimdal!g" \
     15 	        -e "s!@VERSION\@!1.5pre1!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!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!@PTHREAD_LIBADD\@!-lpthread!g" \
     28 	        -e "s!@LIBS\@!!g" \
     29 	        ${HEIMDIST}/tools/krb5-config.in > $@
     30 	chmod +x $@
     31 
     32 .include <bsd.prog.mk>
     33