NetBSD/usr.bin/msgc/Makefile

35 lines
689 B
Makefile

# $NetBSD: Makefile,v 1.11 2002/01/31 22:43:56 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=
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
LDADD+= -ll
DPADD+= ${LIBL}
.include <bsd.prog.mk>
.endif