1 # $NetBSD: Makefile,v 1.3 2011/04/15 21:02:47 elric Exp $
6 .
include <${.CURDIR
}/..
/..
/..
/Makefile.inc
>
8 .PATH
: ${HEIMDIST}/lib
/sl
${HEIMDIST}/lib
/roken
${HEIMDIST}/lib
/vers
12 SRCS
+= slc-gram.y slc-lex.l getarg.c rand.c get_window_size.c \
13 strupr.c print_version.c
18 -I
${HEIMBASE}/include \
19 -I
${HEIMBASE}/include/krb5 \
20 -I
${HEIMDIST}/lib
/sl \
21 -I
${HEIMDIST}/lib
/roken \
22 -I
${HEIMDIST}/lib
/vers \
25 DPSRCS
= print_version.h
27 make-print-version.lo
: ${HEIMBASE}/include/version.h
29 make-print-version
: make-print-version.lo
30 ${HOST_CC} ${HOST_LDFLAGS} -o
${.TARGET
} ${.ALLSRC
}
32 print_version.h
: make-print-version
33 .
/make-print-version print_version.h
35 .NOPATH
: print_version.h make-print-version
38 [ -h krb5
] || ln
-sf . krb5
39 ln
-sf
${HEIMBASE}/include/roken.h
40 ln
-sf
${HEIMBASE}/dist/lib
/roken
/roken-common.h
41 ln
-sf
${HEIMBASE}/dist/lib
/roken
/getarg.h
43 CLEANFILES
+= krb5 roken.h roken-common.h getarg.h \
44 print_version.h make-print-version \
47 # HOSTPROG will be set already if this is a src/tools build.
50 .
include <bsd.hostprog.mk
>