summaryrefslogtreecommitdiff
path: root/lib/libkeynote/Makefile
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-05-23 22:32:14 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1999-05-23 22:32:14 +0000
commit84cc11a72186694a1ed4feb87a683df98076c0b9 (patch)
tree637f0d55c4916653855b69fcc987b0ab58d39b71 /lib/libkeynote/Makefile
parent92e9829e3a4ca8f9154c3729f5112a1d4200fe24 (diff)
Work with "make obj;make"
Diffstat (limited to 'lib/libkeynote/Makefile')
-rw-r--r--lib/libkeynote/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libkeynote/Makefile b/lib/libkeynote/Makefile
index a39407f390b..e2976a539a8 100644
--- a/lib/libkeynote/Makefile
+++ b/lib/libkeynote/Makefile
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile,v 1.1 1999/05/23 22:11:04 angelos Exp $
+# $OpenBSD: Makefile,v 1.2 1999/05/23 22:32:06 angelos Exp $
LIB= keynote
-MAN= man/keynote.3 man/keynote.4
+MAN= keynote.3 keynote.4
-CFLAGS+= -DCRYPTO
+CFLAGS+= -DCRYPTO -I. -I${.CURDIR}
LEXFLAGS = -Cr -Pkn -s -i
YACCFLAGS = -d -p kn -b k
@@ -14,16 +14,16 @@ SRCS= k.tab.c lex.kn.c environment.c parse_assertion.c signature.c aux.c \
CLEANFILES+= k.tab.c lex.kn.c k.tab.h
k.tab.c: keynote.y environment.h signature.h
- $(YACC) $(YACCFLAGS) keynote.y
+ $(YACC.y) $(YACCFLAGS) ${.CURDIR}/keynote.y
-lex.kn.c: keynote.l k.tab.h environment.h assertion.h signature.h
- $(LEX.l) $(LEXFLAGS) keynote.l
+lex.kn.c: keynote.l keynote.y environment.h assertion.h signature.h
+ $(LEX.l) $(LEXFLAGS) ${.CURDIR}/keynote.l
includes:
@cd ${.CURDIR}; for i in $(HDRS); do \
j="cmp -s $$i ${DESTDIR}/usr/include/$$i || \
- ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 $$i \
- ${DESTDIR}/usr/include"; \
+ ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
+ $$i ${DESTDIR}/usr/include"; \
echo $$j; \
eval "$$j"; \
done