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