# $NetBSD: Makefile,v 1.12 2009/04/14 22:15:23 lukem Exp $ WARNS?= 1 # XXX -Wshadow -Wcast-qual issues .include 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} .endif .include