Home | History | Annotate | Line # | Download | only in krb5-config
      1  1.5       mrg #	$NetBSD: Makefile,v 1.5 2020/07/23 07:53:35 mrg Exp $
      2  1.1     elric 
      3  1.1     elric .include <bsd.own.mk>
      4  1.1     elric .include <${.CURDIR}/../../Makefile.inc>
      5  1.1     elric 
      6  1.1     elric .PATH:          ${HEIMDIST}/tools
      7  1.1     elric 
      8  1.1     elric SCRIPTS=	krb5-config
      9  1.1     elric MAN=		krb5-config.1
     10  1.1     elric 
     11  1.1     elric CLEANFILES+=	krb5-config
     12  1.1     elric 
     13  1.5       mrg VERSION!= ${TOOL_SED} -ne 's/.*PACKAGE_VERSION[ 	]*"\([0-9.]*\)"/\1/p' ${HEIMBASE}/include/config.h
     14  1.5       mrg 
     15  1.1     elric krb5-config: krb5-config.in
     16  1.4  christos 	${TOOL_SED} \
     17  1.4  christos 		-e "s!@PACKAGE\@!heimdal!g" \
     18  1.4  christos 	        -e "s!@VERSION\@!${VERSION}!g" \
     19  1.1     elric 	        -e "s!@prefix\@!/!g" \
     20  1.1     elric 	        -e "s!@exec_prefix\@!/!g" \
     21  1.1     elric 	        -e "s!@libdir\@!/usr/lib!g" \
     22  1.1     elric 	        -e "s!@includedir\@!/usr/include!g" \
     23  1.1     elric 	        -e "s!@LIB_crypt\@!-lcrypt!g" \
     24  1.1     elric 	        -e "s!@LIB_dbopen\@!!g" \
     25  1.1     elric 	        -e "s!@INCLUDE_hcrypto\@!!g" \
     26  1.1     elric 	        -e "s!@LIB_hcrypto_appl\@!-lcrypto!g" \
     27  1.1     elric 	        -e "s!@LIB_dlopen\@!!g" \
     28  1.1     elric 	        -e "s!@LIB_door_create\@!!g" \
     29  1.1     elric 	        -e "s!@LIB_pkinit\@!-lhx509!g" \
     30  1.2     joerg 	        -e "s!@PTHREAD_LIBADD\@!!g" \
     31  1.1     elric 	        -e "s!@LIBS\@!!g" \
     32  1.4  christos 	        ${HEIMDIST}/tools/krb5-config.in | sh > $@
     33  1.1     elric 	chmod +x $@
     34  1.1     elric 
     35  1.1     elric .include <bsd.prog.mk>
     36