Remove building with NOCRYPTO option
[minix.git] / crypto / external / bsd / heimdal / lib / libsl / slc / Makefile
blob5caef7727df037313bb32eeaa43eb27d69d917c6
1 # $NetBSD: Makefile,v 1.3 2011/04/15 21:02:47 elric Exp $
3 NOMAN= # defined
5 .include <bsd.own.mk>
6 .include <${.CURDIR}/../../../Makefile.inc>
8 .PATH: ${HEIMDIST}/lib/sl ${HEIMDIST}/lib/roken ${HEIMDIST}/lib/vers
10 PROG=slc
12 SRCS+= slc-gram.y slc-lex.l getarg.c rand.c get_window_size.c \
13 strupr.c print_version.c
15 YHEADER= # defined
17 HOST_CPPFLAGS+= -I. \
18 -I${HEIMBASE}/include \
19 -I${HEIMBASE}/include/krb5 \
20 -I${HEIMDIST}/lib/sl \
21 -I${HEIMDIST}/lib/roken \
22 -I${HEIMDIST}/lib/vers \
23 -DHAVE_CONFIG_H
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
37 beforedepend:
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 \
45 make-print-version.lo
47 # HOSTPROG will be set already if this is a src/tools build.
48 .ifndef HOSTPROG
49 HOSTPROG= ${PROG}
50 .include <bsd.hostprog.mk>
51 .endif