blob: b077a089a6250fa76b771f4931b5f120c495112c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# $NetBSD: Makefile,v 1.3 2011/08/28 10:28:35 elric Exp $
NOMAN= # defined
.include <bsd.own.mk>
.include <${.CURDIR}/../../../Makefile.inc>
.PATH: ${HEIMDIST}/lib/com_err \
${HEIMDIST}/lib/roken \
${HEIMDIST}/lib/vers
PROG= compile_et
SRCS+= compile_et.c parse.y lex.l \
getarg.c print_version.c warnerr.c strupr.c get_window_size.c \
rand.c
YHEADER= # defined
BINDIR= /usr/bin
LIBROKEN!= cd ${HEIMBASE}/lib/libroken && ${PRINTOBJDIR}
CPPFLAGS+= \
-I${HEIMDIST}/lib/roken
# -I${DESTDIR}/usr/include \
HOST_CPPFLAGS+= -I. \
-I${HEIMBASE}/include \
-I${HEIMBASE}/include/krb5 \
-I${LIBROKEN} \
-I${HEIMDIST}/lib/com_err \
-I${HEIMDIST}/lib/roken \
-DKRB5=1 \
-DHAVE_CONFIG_H
DPSRCS= print_version.h
make-print-version.lo: ${HEIMBASE}/include/version.h
make-print-version: make-print-version.lo
${HOST_CC} ${HOST_LDFLAGS} -o ${.TARGET} ${.ALLSRC}
print_version.h: make-print-version
./make-print-version print_version.h
CLEANFILES+= print_version.h make-print-version make-print-version.lo
beforedepend:
[ -h krb5 ] || ln -sf . krb5
ln -sf ${HEIMBASE}/include/roken.h
ln -sf ${HEIMBASE}/dist/lib/roken/roken-common.h
ln -sf ${HEIMBASE}/dist/lib/roken/getarg.h
CLEANFILES+= krb5 roken.h roken-common.h getarg.h
.ifndef HOSTPROG
HOSTPROG= ${PROG}
.include <bsd.hostprog.mk>
.endif
|