1# Makefile for libdialog
| 1# Makefile for libdialog
|
2# $Id: Makefile,v 1.5 1994/10/28 03:08:14 ache Exp $
| 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 \
| 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
| 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
|
7 8CFLAGS+= -I${.CURDIR} -Wall -Wstrict-prototypes -DLOCALE 9 10LDADD+= -lncurses -lmytinfo
| 8 9CFLAGS+= -I${.CURDIR} -Wall -Wstrict-prototypes -DLOCALE 10 11LDADD+= -lncurses -lmytinfo
|
| 12DPADD+= ${LIBNCURSES} ${LIBMYTINFO}
|
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>
| 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>
|