HardenedBSD/gnu/lib/libdialog/Makefile
Jordan K. Hubbard faa28a39e9 Add a -I${.CURDIR} so that the next time Andrew changes dialog.h, the
whole build doesn't fall over before installation.
1994-10-28 05:36:38 +00:00

18 lines
507 B
Makefile

# Makefile for libdialog
# $Id: Makefile,v 1.5 1994/10/28 03:08:14 ache Exp $
LIB= dialog
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
CFLAGS+= -I${.CURDIR} -Wall -Wstrict-prototypes -DLOCALE
LDADD+= -lncurses -lmytinfo
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>