1994-10-11 23:30:51 +00:00
|
|
|
# Makefile for libdialog
|
1995-05-04 09:45:29 +00:00
|
|
|
# $Id: Makefile,v 1.11 1995/05/03 18:53:19 ache Exp $
|
1994-10-11 23:30:51 +00:00
|
|
|
|
|
|
|
LIB= dialog
|
1995-05-04 09:45:29 +00:00
|
|
|
SHLIB_MAJOR= 3
|
|
|
|
SHLIB_MINOR= 0
|
1994-10-11 23:30:51 +00:00
|
|
|
SRCS= kernel.c rc.c checklist.c inputbox.c menubox.c msgbox.c \
|
1995-02-15 19:44:08 +00:00
|
|
|
lineedit.c radiolist.c textbox.c yesno.c prgbox.c raw_popen.c \
|
1995-04-20 17:39:37 +00:00
|
|
|
fselect.c ui_objects.c dir.c notify.c help.c gauge.c
|
1994-10-11 23:30:51 +00:00
|
|
|
|
1994-10-28 05:36:38 +00:00
|
|
|
CFLAGS+= -I${.CURDIR} -Wall -Wstrict-prototypes -DLOCALE
|
1994-10-11 23:30:51 +00:00
|
|
|
|
1994-10-12 01:54:38 +00:00
|
|
|
LDADD+= -lncurses -lmytinfo
|
1995-02-15 19:44:08 +00:00
|
|
|
DPADD+= ${LIBNCURSES} ${LIBMYTINFO}
|
1994-10-11 23:30:51 +00:00
|
|
|
|
|
|
|
beforeinstall:
|
|
|
|
-cd ${.CURDIR}; cmp -s dialog.h ${DESTDIR}/usr/include/dialog.h || \
|
1995-04-21 10:15:31 +00:00
|
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 dialog.h \
|
|
|
|
${DESTDIR}/usr/include
|
1994-10-11 23:30:51 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|