summaryrefslogtreecommitdiffstats
path: root/lib/libforms/Makefile
blob: 36b0c4f88f836b6f39fae782118c55c9a14c854d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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>
OpenPOWER on IntegriCloud