Makefile revision 3524
1# Makefile for libdialog
2# $Id: Makefile,v 1.1.1.1 1994/10/11 23:30:50 ache Exp $
3
4LIB=    dialog
5SRCS=   kernel.c rc.c checklist.c inputbox.c menubox.c msgbox.c \
6	radiolist.c textbox.c yesno.c
7
8CFLAGS+= -Wall -Wstrict-prototypes -DHAVE_NCURSES -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