xref: /freebsd/gnu/lib/libdialog/Makefile (revision faa28a39e99bd4cf81d47157ed0502628d4f9136)
13728ed9cSAndrey A. Chernov# Makefile for libdialog
2faa28a39SJordan K. Hubbard# $Id: Makefile,v 1.5 1994/10/28 03:08:14 ache Exp $
33728ed9cSAndrey A. Chernov
43728ed9cSAndrey A. ChernovLIB=    dialog
53728ed9cSAndrey A. ChernovSRCS=   kernel.c rc.c checklist.c inputbox.c menubox.c msgbox.c \
63f20de5aSAndrey A. Chernov	lineedit.c radiolist.c textbox.c yesno.c prgbox.c raw_popen.c
73728ed9cSAndrey A. Chernov
8faa28a39SJordan K. HubbardCFLAGS+= -I${.CURDIR} -Wall -Wstrict-prototypes -DLOCALE
93728ed9cSAndrey A. Chernov
10ad371209SAndrey A. ChernovLDADD+= -lncurses -lmytinfo
113728ed9cSAndrey A. Chernov
123728ed9cSAndrey A. Chernovbeforeinstall:
133728ed9cSAndrey A. Chernov	-cd ${.CURDIR}; cmp -s dialog.h ${DESTDIR}/usr/include/dialog.h || \
143728ed9cSAndrey A. Chernov	    install -c -o ${BINOWN} -g ${BINGRP} -m 444 dialog.h \
153728ed9cSAndrey A. Chernov	    ${DESTDIR}/usr/include
163728ed9cSAndrey A. Chernov
173728ed9cSAndrey A. Chernov.include <bsd.lib.mk>
18