2003-09-25 22:32:10 +04:00
|
|
|
# $NetBSD: Makefile,v 1.15 2003/09/25 18:32:10 dsl Exp $
|
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
|
2001-11-12 23:26:55 +03:00
|
|
|
CPPFLAGS+= -I. -I${.CURDIR}
|
|
|
|
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>
|