NetBSD/usr.bin/msgc/Makefile

35 lines
689 B
Makefile

# $NetBSD: Makefile,v 1.10 2001/11/12 20:26:55 tv Exp $
.include <bsd.own.mk>
PROG= msgc
SRCS= msgmain.c msgparse.y msgscan.l msgdb.c util.c avl.c
.PATH: ${.CURDIR}/../menuc
CPPFLAGS+= -I. -I${.CURDIR}
YHEADER=
LDADD+= -ll
DPADD+= ${LIBL}
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
.if ${MKSHARE} != "no"
FILES= msg_sys.def
FILESDIR= /usr/share/misc
.endif
.ifndef HOSTPROG
.include <bsd.prog.mk>
.endif