mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-29 04:21:26 +01:00
6579f34131
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.
18 lines
452 B
Makefile
18 lines
452 B
Makefile
LIB = forms
|
|
SHLIB_MAJOR= 3
|
|
SHLIB_MINOR= 0
|
|
|
|
SRCS = debug.c bindings.c parser.y lex.l forms.c objects.c ncurses.c
|
|
|
|
CFLAGS += -I. -I${.CURDIR} -DHASH_STATS #-g -DDEBUG -Wall -ansi -pedantic -Dlint
|
|
LDFLAGS += -ll
|
|
|
|
CLEANFILES+= lex.c parser.c y.tab.h
|
|
|
|
beforeinstall:
|
|
@(cd ${.CURDIR}; cmp -s forms.h ${DESTDIR}/usr/include/forms.h || \
|
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 forms.h \
|
|
${DESTDIR}/usr/include/forms.h;)
|
|
|
|
.include <bsd.lib.mk>
|