freebsd-dev/gnu/lib/libdialog/Makefile
Bruce Evans 48cfb668fc Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.

Previously I missed dozens of Makefiles that skip the install after
using `cmp -s' to decide that the install isn't necessary.
1995-08-06 12:24:38 +00:00

22 lines
637 B
Makefile

# Makefile for libdialog
# $Id: Makefile,v 1.12 1995/05/04 09:45:29 ache Exp $
LIB= dialog
SHLIB_MAJOR= 3
SHLIB_MINOR= 0
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>