summaryrefslogtreecommitdiff
path: root/usr.bin/keynote/Makefile
blob: 1b668e23c19a5ae08776d5ba90657091b46718b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#	$OpenBSD: Makefile,v 1.9 2001/07/20 20:05:58 mickey Exp $

PROG=	keynote
SRCS=	keynote-sign.c keynote-keygen.c keynote-sigver.c keynote-verify.c \
	keynote-main.c z.tab.c lex.kv.c
CFLAGS+= -Wall -DCRYPTO -DHAVE_CONFIG_H -I. -I${.CURDIR}
LEXFLAGS2= -Pkv -s -i
YACCFLAGS2= -d -p kv -b z
LDADD=	-lkeynote -lm -lcrypto
CLEANFILES+= lex.kv.c z.tab.c z.tab.h
MAN=	keynote.1

.PATH:	${.CURDIR}/../../lib/libkeynote

z.tab.c: keynote-ver.y
	$(YACC.y) $(YACCFLAGS2) $>

lex.kv.c: keynote-ver.l
	$(LEX.l) $(LEXFLAGS2) $>

.include<bsd.prog.mk>