| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.2 2011/04/15 19:41:11 elric Exp $ | | 1 | # $NetBSD: Makefile,v 1.3 2011/08/28 10:28:35 elric Exp $ |
2 | | | 2 | |
3 | NOMAN= # defined | | 3 | NOMAN= # defined |
4 | | | 4 | |
5 | .include <bsd.own.mk> | | 5 | .include <bsd.own.mk> |
6 | .include <${.CURDIR}/../../../Makefile.inc> | | 6 | .include <${.CURDIR}/../../../Makefile.inc> |
7 | | | 7 | |
8 | .PATH: ${HEIMDIST}/lib/com_err \ | | 8 | .PATH: ${HEIMDIST}/lib/com_err \ |
9 | ${HEIMDIST}/lib/roken \ | | 9 | ${HEIMDIST}/lib/roken \ |
10 | ${HEIMDIST}/lib/vers | | 10 | ${HEIMDIST}/lib/vers |
11 | | | 11 | |
12 | PROG= compile_et | | 12 | PROG= compile_et |
13 | | | 13 | |
14 | SRCS+= compile_et.c parse.y lex.l \ | | 14 | SRCS+= compile_et.c parse.y lex.l \ |
| @@ -27,27 +27,27 @@ CPPFLAGS+= \ | | | @@ -27,27 +27,27 @@ CPPFLAGS+= \ |
27 | # -I${DESTDIR}/usr/include \ | | 27 | # -I${DESTDIR}/usr/include \ |
28 | | | 28 | |
29 | HOST_CPPFLAGS+= -I. \ | | 29 | HOST_CPPFLAGS+= -I. \ |
30 | -I${HEIMBASE}/include \ | | 30 | -I${HEIMBASE}/include \ |
31 | -I${HEIMBASE}/include/krb5 \ | | 31 | -I${HEIMBASE}/include/krb5 \ |
32 | -I${LIBROKEN} \ | | 32 | -I${LIBROKEN} \ |
33 | -I${HEIMDIST}/lib/com_err \ | | 33 | -I${HEIMDIST}/lib/com_err \ |
34 | -I${HEIMDIST}/lib/roken \ | | 34 | -I${HEIMDIST}/lib/roken \ |
35 | -DKRB5=1 \ | | 35 | -DKRB5=1 \ |
36 | -DHAVE_CONFIG_H | | 36 | -DHAVE_CONFIG_H |
37 | | | 37 | |
38 | DPSRCS= print_version.h | | 38 | DPSRCS= print_version.h |
39 | | | 39 | |
40 | make-print-version.lo: ${NETBSDSRCDIR}/include/heimdal/version.h | | 40 | make-print-version.lo: ${HEIMBASE}/include/version.h |
41 | | | 41 | |
42 | make-print-version: make-print-version.lo | | 42 | make-print-version: make-print-version.lo |
43 | ${HOST_CC} ${HOST_LDFLAGS} -o ${.TARGET} ${.ALLSRC} | | 43 | ${HOST_CC} ${HOST_LDFLAGS} -o ${.TARGET} ${.ALLSRC} |
44 | | | 44 | |
45 | print_version.h: make-print-version | | 45 | print_version.h: make-print-version |
46 | ./make-print-version print_version.h | | 46 | ./make-print-version print_version.h |
47 | | | 47 | |
48 | CLEANFILES+= print_version.h make-print-version make-print-version.lo | | 48 | CLEANFILES+= print_version.h make-print-version make-print-version.lo |
49 | | | 49 | |
50 | beforedepend: | | 50 | beforedepend: |
51 | [ -h krb5 ] || ln -sf . krb5 | | 51 | [ -h krb5 ] || ln -sf . krb5 |
52 | ln -sf ${HEIMBASE}/include/roken.h | | 52 | ln -sf ${HEIMBASE}/include/roken.h |
53 | ln -sf ${HEIMBASE}/dist/lib/roken/roken-common.h | | 53 | ln -sf ${HEIMBASE}/dist/lib/roken/roken-common.h |