diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-10-01 01:53:40 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-10-01 01:53:40 +0000 |
commit | 777f1af928213adc8d8503e3f91fae846f4c5138 (patch) | |
tree | 320c1afce65136bdf61e1e7c1dd34cee6e2b4a98 /usr.bin | |
parent | b60a9ec831a09f0eb19935b1d8ef77d18d68b231 (diff) |
Fix
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/keynote/Makefile | 36 |
1 files changed, 26 insertions, 10 deletions
diff --git a/usr.bin/keynote/Makefile b/usr.bin/keynote/Makefile index aa0628e747b..800c924c2e6 100644 --- a/usr.bin/keynote/Makefile +++ b/usr.bin/keynote/Makefile @@ -1,15 +1,31 @@ -# $OpenBSD: Makefile,v 1.7 1999/10/01 01:08:29 angelos Exp $ +# $OpenBSD: Makefile,v 1.8 1999/10/01 01:53:39 angelos Exp $ -all: - @cd ${.CURDIR}/../../lib && ${MAKE} libkeynote +PROG= keynote -install: - @cd ${.CURDIR}/../../lib/libkeynote && ${MAKE} -f Makefile.bsd-wrapper install-keynote +BINOWN= root +BINGRP= bin +BINMODE= 555 +BINDIR= /usr/bin +LDADD= -lkeynote -lm -lcrypto +MAN= keynote.1 +CLEANFILES+= lex.kv.c z.tab.c z.tab.h -clean: - @cd ${.CURDIR}/../../lib/libkeynote && ${MAKE} -f Makefile.bsd-wrapper clean +CFLAGS+= -Wall -DCRYPTO -DHAVE_CONFIG_H -I. -I${.CURDIR} +LEXFLAGS2 = -Pkv -s -i +YACCFLAGS2 = -d -p kv -b z -cleandir: - @cd ${.CURDIR}/../../lib/libkeynote && ${MAKE} -f Makefile.bsd-wrapper cleandir +KEYNOTEDIST= lib/libkeynote +KEYNOTE_SRC= ${.CURDIR}/../../${KEYNOTEDIST} -.include <bsd.prog.mk> +SRCS= keynote-sign.c keynote-keygen.c keynote-sigver.c keynote-verify.c \ + keynote-main.c z.tab.c lex.kv.c + +z.tab.c: keynote-ver.y keynote.h header.h + $(YACC.y) $(YACCFLAGS2) ${KEYNOTE_SRC}/keynote-ver.y + +lex.kv.c: keynote-ver.l keynote.h header.h + $(LEX.l) $(LEXFLAGS2) ${KEYNOTE_SRC}/keynote-ver.l + +.PATH: ${KEYNOTE_SRC} + +.include<bsd.prog.mk> |