summaryrefslogtreecommitdiffstats
path: root/lib/libforms/Makefile
blob: 3703960c41aaa87b958c058e2f859fe2b88b33b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
LIB = forms

SRCS = forms.c parser.y lex.l menu.c fields.c

CFLAGS += -I. -I${.CURDIR} -Wall -g -DHASH_STATS
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