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