NetBSD/usr.bin/menuc/Makefile
tv 9fbd88883c Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
  sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
2002-01-31 22:43:33 +00:00

21 lines
335 B
Makefile

# $NetBSD: Makefile,v 1.10 2002/01/31 22:43:55 tv Exp $
.include <bsd.own.mk>
PROG= menuc
SRCS= main.c parse.y scan.l avl.c mdb.c util.c
CPPFLAGS+= -I. -I${.CURDIR}
YHEADER=
.if ${MKSHARE} != "no"
FILES= menu_sys.def
FILESDIR= /usr/share/misc
.endif
.ifndef HOSTPROG
LDADD+= -ll
DPADD+= ${LIBL}
.include <bsd.prog.mk>
.endif