summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-07-20 20:05:59 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-07-20 20:05:59 +0000
commitb3e4c9525e741ff2fe8c2827177937f5efabe206 (patch)
treee528eeee230085caa8cb60e38f81a8eb1c3209a0
parentf306a2b49207a3896d25e5fbcbe3cbe3313d08a1 (diff)
let make do it's job, not dupping pieces from included files here
-rw-r--r--usr.bin/keynote/Makefile34
1 files changed, 12 insertions, 22 deletions
diff --git a/usr.bin/keynote/Makefile b/usr.bin/keynote/Makefile
index 800c924c2e6..1b668e23c19 100644
--- a/usr.bin/keynote/Makefile
+++ b/usr.bin/keynote/Makefile
@@ -1,31 +1,21 @@
-# $OpenBSD: Makefile,v 1.8 1999/10/01 01:53:39 angelos Exp $
+# $OpenBSD: Makefile,v 1.9 2001/07/20 20:05:58 mickey Exp $
PROG= 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
-
-CFLAGS+= -Wall -DCRYPTO -DHAVE_CONFIG_H -I. -I${.CURDIR}
-LEXFLAGS2 = -Pkv -s -i
-YACCFLAGS2 = -d -p kv -b z
-
-KEYNOTEDIST= lib/libkeynote
-KEYNOTE_SRC= ${.CURDIR}/../../${KEYNOTEDIST}
-
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
-z.tab.c: keynote-ver.y keynote.h header.h
- $(YACC.y) $(YACCFLAGS2) ${KEYNOTE_SRC}/keynote-ver.y
+.PATH: ${.CURDIR}/../../lib/libkeynote
-lex.kv.c: keynote-ver.l keynote.h header.h
- $(LEX.l) $(LEXFLAGS2) ${KEYNOTE_SRC}/keynote-ver.l
+z.tab.c: keynote-ver.y
+ $(YACC.y) $(YACCFLAGS2) $>
-.PATH: ${KEYNOTE_SRC}
+lex.kv.c: keynote-ver.l
+ $(LEX.l) $(LEXFLAGS2) $>
.include<bsd.prog.mk>