2002-09-19 15:31:21 +04:00
|
|
|
# $NetBSD: Makefile,v 1.12 2002/09/19 11:31:22 lukem 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=
|
|
|
|
|
2000-07-06 23:30:11 +04:00
|
|
|
MLINKS+= msgc.1 msg_window.1 \
|
|
|
|
msgc.1 msg_window.1 \
|
|
|
|
msgc.1 msg_string.1 \
|
|
|
|
msgc.1 msg_clear.1 \
|
|
|
|
msgc.1 msg_standout.1 \
|
|
|
|
msgc.1 msg_standend.1 \
|
|
|
|
msgc.1 msg_display.1 \
|
|
|
|
msgc.1 msg_display_add.1 \
|
|
|
|
msgc.1 msg_prompt.1 \
|
|
|
|
msgc.1 msg_prompt_add.1 \
|
|
|
|
msgc.1 msg_prompt_noecho.1 \
|
|
|
|
msgc.1 msg_table_add.1
|
|
|
|
|
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}
|
|
|
|
|
1997-10-11 15:37:21 +04:00
|
|
|
.include <bsd.prog.mk>
|
2001-10-06 02:54:51 +04:00
|
|
|
.endif
|