2009-10-29 17:35:25 +03:00
|
|
|
# $NetBSD: Makefile,v 1.14 2009/10/29 14:36:14 christos Exp $
|
2009-04-15 02:15:16 +04:00
|
|
|
|
|
|
|
WARNS?= 1 # XXX -Wshadow -Wcast-qual issues
|
1999-02-13 05:54:17 +03:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
1997-09-26 21:54:09 +04:00
|
|
|
|
2001-11-12 23:26:55 +03:00
|
|
|
PROG= menuc
|
|
|
|
SRCS= main.c parse.y scan.l avl.c mdb.c util.c
|
2009-10-29 17:35:25 +03:00
|
|
|
CPPFLAGS+= -I. -I${.CURDIR}
|
2001-11-12 23:26:55 +03:00
|
|
|
YHEADER=
|
|
|
|
|
1999-02-13 05:54:17 +03:00
|
|
|
.if ${MKSHARE} != "no"
|
2001-11-12 23:26:55 +03:00
|
|
|
FILES= menu_sys.def
|
|
|
|
FILESDIR= /usr/share/misc
|
1998-09-27 21:22:03 +04:00
|
|
|
.endif
|
1997-09-26 21:54:09 +04:00
|
|
|
|
2001-10-06 02:54:51 +04:00
|
|
|
.ifndef HOSTPROG
|
2002-02-01 01:43:33 +03:00
|
|
|
LDADD+= -ll
|
|
|
|
DPADD+= ${LIBL}
|
2003-05-18 11:57:31 +04:00
|
|
|
.endif
|
2002-02-01 01:43:33 +03:00
|
|
|
|
1997-10-11 15:37:21 +04:00
|
|
|
.include <bsd.prog.mk>
|