2009-10-29 17:37:56 +03:00
|
|
|
# $NetBSD: Makefile,v 1.18 2009/10/29 14:37:56 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-27 01:16:38 +04:00
|
|
|
|
2001-11-12 23:26:55 +03:00
|
|
|
PROG= msgc
|
|
|
|
SRCS= msgmain.c msgparse.y msgscan.l msgdb.c util.c avl.c
|
2002-09-19 15:31:21 +04:00
|
|
|
.PATH: ${NETBSDSRCDIR}/usr.bin/menuc
|
2009-10-29 17:37:56 +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= msg_sys.def
|
|
|
|
FILESDIR= /usr/share/misc
|
1998-09-27 21:22:03 +04:00
|
|
|
.endif
|
1997-09-27 01:16:38 +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>
|