Drop main() prototype. Syncs with NetBSD-8
[minix.git] / usr.bin / msgc / Makefile
blob770e94ba6d9a25f89dd576cbd0dc8cf78fe22d3a
1 # $NetBSD: Makefile,v 1.18 2009/10/29 14:37:56 christos Exp $
3 WARNS?= 1 # XXX -Wshadow -Wcast-qual issues
5 .include <bsd.own.mk>
7 PROG= msgc
8 SRCS= msgmain.c msgparse.y msgscan.l msgdb.c util.c avl.c
9 .PATH: ${NETBSDSRCDIR}/usr.bin/menuc
10 CPPFLAGS+= -I. -I${.CURDIR}
11 YHEADER=
13 .if ${MKSHARE} != "no"
14 FILES= msg_sys.def
15 FILESDIR= /usr/share/misc
16 .endif
18 .ifndef HOSTPROG
19 LDADD+= -ll
20 DPADD+= ${LIBL}
21 .endif
23 .include <bsd.prog.mk>