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