xref: /minix3/usr.bin/msgc/Makefile (revision d44a5ed1c177718aebe860f2bd736ea12fb19804)
1*d44a5ed1SThomas Cort#	$NetBSD: Makefile,v 1.18 2009/10/29 14:37:56 christos Exp $
2*d44a5ed1SThomas Cort
3*d44a5ed1SThomas CortWARNS?= 1	# XXX -Wshadow -Wcast-qual issues
4*d44a5ed1SThomas Cort
5*d44a5ed1SThomas Cort.include <bsd.own.mk>
6*d44a5ed1SThomas Cort
7*d44a5ed1SThomas CortPROG=		msgc
8*d44a5ed1SThomas CortSRCS=		msgmain.c msgparse.y msgscan.l msgdb.c util.c avl.c
9*d44a5ed1SThomas Cort.PATH:		${NETBSDSRCDIR}/usr.bin/menuc
10*d44a5ed1SThomas CortCPPFLAGS+=	-I. -I${.CURDIR}
11*d44a5ed1SThomas CortYHEADER=
12*d44a5ed1SThomas Cort
13*d44a5ed1SThomas Cort.if ${MKSHARE} != "no"
14*d44a5ed1SThomas CortFILES=		msg_sys.def
15*d44a5ed1SThomas CortFILESDIR=	/usr/share/misc
16*d44a5ed1SThomas Cort.endif
17*d44a5ed1SThomas Cort
18*d44a5ed1SThomas Cort.ifndef HOSTPROG
19*d44a5ed1SThomas CortLDADD+=		-ll
20*d44a5ed1SThomas CortDPADD+=		${LIBL}
21*d44a5ed1SThomas Cort.endif
22*d44a5ed1SThomas Cort
23*d44a5ed1SThomas Cort.include <bsd.prog.mk>
24