1994-10-11 23:30:51 +00:00
|
|
|
# Makefile for libdialog
|
1994-10-20 21:56:45 +00:00
|
|
|
# $Id: Makefile,v 1.2 1994/10/12 01:54:38 ache Exp $
|
1994-10-11 23:30:51 +00:00
|
|
|
|
|
|
|
LIB= dialog
|
|
|
|
SRCS= kernel.c rc.c checklist.c inputbox.c menubox.c msgbox.c \
|
|
|
|
radiolist.c textbox.c yesno.c
|
|
|
|
|
1994-10-20 21:56:45 +00:00
|
|
|
CFLAGS+= -Wall -Wstrict-prototypes -DLOCALE
|
1994-10-11 23:30:51 +00:00
|
|
|
|
1994-10-12 01:54:38 +00:00
|
|
|
LDADD+= -lncurses -lmytinfo
|
1994-10-11 23:30:51 +00:00
|
|
|
|
|
|
|
beforeinstall:
|
|
|
|
-cd ${.CURDIR}; cmp -s dialog.h ${DESTDIR}/usr/include/dialog.h || \
|
|
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 dialog.h \
|
|
|
|
${DESTDIR}/usr/include
|
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|