1# Makefile for libdialog 2# $Id: Makefile,v 1.6 1994/10/28 05:36:38 jkh Exp $ 3 4LIB= dialog 5SRCS= kernel.c rc.c checklist.c inputbox.c menubox.c msgbox.c \ 6 lineedit.c radiolist.c textbox.c yesno.c prgbox.c raw_popen.c \ 7 fselect.c ui_objects.c dir.c notify.c help.c 8 9CFLAGS+= -I${.CURDIR} -Wall -Wstrict-prototypes -DLOCALE 10 11LDADD+= -lncurses -lmytinfo 12DPADD+= ${LIBNCURSES} ${LIBMYTINFO} 13 14beforeinstall: 15 -cd ${.CURDIR}; cmp -s dialog.h ${DESTDIR}/usr/include/dialog.h || \ 16 install -c -o ${BINOWN} -g ${BINGRP} -m 444 dialog.h \ 17 ${DESTDIR}/usr/include 18 19.include <bsd.lib.mk> 20