1994-10-12 00:30:51 +01:00
|
|
|
# Makefile for libdialog
|
1994-10-28 06:36:38 +01:00
|
|
|
# $Id: Makefile,v 1.5 1994/10/28 03:08:14 ache Exp $
|
1994-10-12 00:30:51 +01:00
|
|
|
|
|
|
|
LIB= dialog
|
|
|
|
SRCS= kernel.c rc.c checklist.c inputbox.c menubox.c msgbox.c \
|
1994-10-28 04:08:28 +01:00
|
|
|
lineedit.c radiolist.c textbox.c yesno.c prgbox.c raw_popen.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
|
1994-10-12 00:30:51 +01: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>
|