NetBSD/usr.bin/msgc/Makefile

24 lines
433 B
Makefile

# $NetBSD: Makefile,v 1.18 2009/10/29 14:37:56 christos Exp $
WARNS?= 1 # XXX -Wshadow -Wcast-qual issues
.include <bsd.own.mk>
PROG= msgc
SRCS= msgmain.c msgparse.y msgscan.l msgdb.c util.c avl.c
.PATH: ${NETBSDSRCDIR}/usr.bin/menuc
CPPFLAGS+= -I. -I${.CURDIR}
YHEADER=
.if ${MKSHARE} != "no"
FILES= msg_sys.def
FILESDIR= /usr/share/misc
.endif
.ifndef HOSTPROG
LDADD+= -ll
DPADD+= ${LIBL}
.endif
.include <bsd.prog.mk>