NetBSD/lib/libcom_err/compile_et/Makefile
tv 71ae6595ec Fix this correctly: simply don't include strl{cat,cpy} from libc.
At this point, if using USETOOLS={no,never}, the host's libc should be
new enough to have these functions available.
2002-02-02 06:17:56 +00:00

42 lines
986 B
Makefile

# $NetBSD: Makefile,v 1.12 2002/02/02 06:17:56 tv Exp $
NOMAN= # defined
.include <bsd.own.mk>
DIST= ${.CURDIR}/../../../crypto/dist
.PATH: ${DIST}/heimdal/lib/com_err ${DIST}/heimdal/lib/roken ${DIST}/heimdal/lib/vers
HOSTPROG= compile_et
SRCS+= compile_et.c parse.y lex.l \
getarg.c print_version.c warnerr.c strupr.c get_window_size.c
YHEADER= # defined
BINDIR= /usr/bin
LIBROKEN!= cd ${.CURDIR}/../../libroken && ${PRINTOBJDIR}
HOST_CPPFLAGS+= -I. \
-I${.CURDIR}/../../../include/heimdal \
-I${LIBROKEN} \
-I${DIST}/heimdal/lib/com_err \
-I${DIST}/heimdal/lib/roken \
-DHAVE_CONFIG_H
DPSRCS= print_version.h
make-print-version.lo: ${.CURDIR}/../../../include/heimdal/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
.include <bsd.hostprog.mk>