mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 07:11:05 +01:00
22 lines
633 B
Makefile
22 lines
633 B
Makefile
# Makefile for libdialog
|
|
# $Id: Makefile,v 1.10 1995/04/21 10:18:33 jkh Exp $
|
|
|
|
LIB= dialog
|
|
SHLIB_MAJOR= 2
|
|
SHLIB_MINOR= 1
|
|
SRCS= kernel.c rc.c checklist.c inputbox.c menubox.c msgbox.c \
|
|
lineedit.c radiolist.c textbox.c yesno.c prgbox.c raw_popen.c \
|
|
fselect.c ui_objects.c dir.c notify.c help.c gauge.c
|
|
|
|
CFLAGS+= -I${.CURDIR} -Wall -Wstrict-prototypes -DLOCALE
|
|
|
|
LDADD+= -lncurses -lmytinfo
|
|
DPADD+= ${LIBNCURSES} ${LIBMYTINFO}
|
|
|
|
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>
|