1 # $NetBSD: Makefile,v 1.3 2011/08/28 10:28:35 elric Exp $
6 .
include <${.CURDIR
}/..
/..
/..
/Makefile.inc
>
8 .PATH
: ${HEIMDIST}/lib
/com_err \
9 ${HEIMDIST}/lib
/roken \
14 SRCS
+= compile_et.c parse.y
lex.l \
15 getarg.c print_version.c warnerr.c strupr.c get_window_size.c \
22 LIBROKEN
!= cd
${HEIMBASE}/lib
/libroken
&& ${PRINTOBJDIR}
25 -I
${HEIMDIST}/lib
/roken
27 # -I${DESTDIR}/usr/include \
30 -I
${HEIMBASE}/include \
31 -I
${HEIMBASE}/include/krb5 \
33 -I
${HEIMDIST}/lib
/com_err \
34 -I
${HEIMDIST}/lib
/roken \
38 DPSRCS
= print_version.h
40 make-print-version.lo
: ${HEIMBASE}/include/version.h
42 make-print-version
: make-print-version.lo
43 ${HOST_CC} ${HOST_LDFLAGS} -o
${.TARGET
} ${.ALLSRC
}
45 print_version.h
: make-print-version
46 .
/make-print-version print_version.h
48 CLEANFILES
+= print_version.h make-print-version make-print-version.lo
51 [ -h krb5
] || ln
-sf . krb5
52 ln
-sf
${HEIMBASE}/include/roken.h
53 ln
-sf
${HEIMBASE}/dist/lib
/roken
/roken-common.h
54 ln
-sf
${HEIMBASE}/dist/lib
/roken
/getarg.h
56 CLEANFILES
+= krb5 roken.h roken-common.h getarg.h
60 .
include <bsd.hostprog.mk
>