2003-11-16 17:14:18 +03:00
|
|
|
# $NetBSD: Makefile,v 1.5 2003/11/16 14:14:18 lukem Exp $
|
2001-09-22 03:01:08 +04:00
|
|
|
|
2002-12-08 23:19:56 +03:00
|
|
|
HOSTPROGNAME= ${_TOOL_PREFIX}compile_et
|
2001-09-22 03:01:08 +04:00
|
|
|
HOST_SRCDIR= usr.bin/compile_et
|
|
|
|
HOST_SRCS= getarg.c print_version.c warnerr.c strupr.c get_window_size.c
|
|
|
|
HOST_CPPFLAGS= -I${DIST}/heimdal/lib/roken
|
|
|
|
|
|
|
|
# uncommon library functions
|
|
|
|
.PATH: ${.CURDIR}/../../lib/libc/string
|
|
|
|
HOST_SRCS+= strlcpy.c strlcat.c
|
|
|
|
|
2003-11-16 17:14:18 +03:00
|
|
|
make-print-version.lo: ${.CURDIR}/../../include/heimdal/version.h
|
|
|
|
make-print-version: make-print-version.lo
|
|
|
|
${_MKTARGET_LINK}
|
|
|
|
${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC}
|
|
|
|
|
2001-09-22 03:01:08 +04:00
|
|
|
DPSRCS= print_version.h
|
2003-11-16 17:14:18 +03:00
|
|
|
print_version.h: make-print-version
|
|
|
|
${_MKTARGET_CREATE}
|
2001-09-22 03:01:08 +04:00
|
|
|
./make-print-version print_version.h
|
|
|
|
|
|
|
|
.include "${.CURDIR}/../Makefile.host"
|
|
|
|
|
|
|
|
.PATH: ${DIST}/heimdal/lib/roken ${DIST}/heimdal/lib/vers
|
|
|
|
CLEANFILES+= print_version.h make-print-version make-print-version.lo
|