1# Makefile for libdialog 2# $Id: Makefile,v 1.5 1994/10/28 03:08:14 ache 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 8CFLAGS+= -I${.CURDIR} -Wall -Wstrict-prototypes -DLOCALE 9 10LDADD+= -lncurses -lmytinfo 11 12beforeinstall: 13 -cd ${.CURDIR}; cmp -s dialog.h ${DESTDIR}/usr/include/dialog.h || \ 14 install -c -o ${BINOWN} -g ${BINGRP} -m 444 dialog.h \ 15 ${DESTDIR}/usr/include 16 17.include <bsd.lib.mk> 18