1# $NetBSD: Makefile,v 1.5 2003/11/16 14:14:18 lukem Exp $ 2 3HOSTPROGNAME= ${_TOOL_PREFIX}compile_et 4HOST_SRCDIR= usr.bin/compile_et 5HOST_SRCS= getarg.c print_version.c warnerr.c strupr.c get_window_size.c 6HOST_CPPFLAGS= -I${DIST}/heimdal/lib/roken 7 8# uncommon library functions 9.PATH: ${.CURDIR}/../../lib/libc/string 10HOST_SRCS+= strlcpy.c strlcat.c 11 12make-print-version.lo: ${.CURDIR}/../../include/heimdal/version.h 13make-print-version: make-print-version.lo 14 ${_MKTARGET_LINK} 15 ${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC} 16 17DPSRCS= print_version.h 18print_version.h: make-print-version 19 ${_MKTARGET_CREATE} 20 ./make-print-version print_version.h 21 22.include "${.CURDIR}/../Makefile.host" 23 24.PATH: ${DIST}/heimdal/lib/roken ${DIST}/heimdal/lib/vers 25CLEANFILES+= print_version.h make-print-version make-print-version.lo 26