1 # $NetBSD: Makefile,v 1.2 2011/04/15 19:41:11 elric Exp $
7 .
include <${.CURDIR
}/..
/..
/..
/Makefile.inc
>
9 .PATH
: ${HEIMDIST}/lib
/asn1 \
10 ${HEIMDIST}/lib
/roken \
15 .if
${USETOOLS} != "yes"
49 SRCS
= $(asn1_compile_SRCS
) \
55 -I
${HEIMBASE}/include \
56 -I
${HEIMBASE}/include/krb5 \
57 -I
${HEIMBASE}/lib
/libkrb5 \
58 -I
${HEIMDIST}/lib
/asn1 \
59 -I
${HEIMDIST}/lib
/roken \
63 DPSRCS
= print_version.h
65 make-print-version.lo
: ${HEIMBASE}/include/version.h
67 make-print-version
: make-print-version.lo
68 ${HOST_CC} ${HOST_LDFLAGS} -o
${.TARGET
} ${.ALLSRC
}
70 print_version.h
: make-print-version
71 .
/make-print-version print_version.h
73 .NOPATH
: print_version.h make-print-version
75 CLEANFILES
+= print_version.h make-print-version make-print-version.lo
78 [ -h krb5
] || ln
-sf . krb5
79 ln
-sf
${HEIMBASE}/include/der-protos.h
80 ln
-sf
${HEIMBASE}/include/roken.h
81 ln
-sf
${HEIMBASE}/include/krb5-types.h
82 ln
-sf
${HEIMBASE}/dist/lib
/asn1
/der.h
83 ln
-sf
${HEIMBASE}/dist/lib
/roken
/roken-common.h
84 ln
-sf
${HEIMBASE}/dist/lib
/roken
/getarg.h
85 ln
-sf
${HEIMBASE}/dist/lib
/asn1
/asn1-common.h
87 CLEANFILES
+= krb5 der-protos.h roken.h krb5-types.h der.h \
88 roken-common.h getarg.h asn1-common.h
90 # HOSTPROG will be set already if this is a src/tools build.
93 .
include <bsd.hostprog.mk
>