summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-03-20 12:04:59 +0000
committerbde <bde@FreeBSD.org>1998-03-20 12:04:59 +0000
commited4eec97216daf331ec5a4d6beacb74d862d1013 (patch)
tree4d8ef9b959a8ca05637815b26d9929df5f1a1b84
parentc9fc11ea7ec65b0f43509948be736de56da2eb13 (diff)
downloadFreeBSD-src-ed4eec97216daf331ec5a4d6beacb74d862d1013.zip
FreeBSD-src-ed4eec97216daf331ec5a4d6beacb74d862d1013.tar.gz
Don't use beforedepend to complicate and break things. Just put
generated source files in SRCS. Don't use MANDEPEND to complicate things. Just put the generated man page in CLEANFILES. Partly fixed yacc header brokenness, as in ../eqn/Makefile. Added temporary files to CLEANFILES. Fixed some style bugs.
-rw-r--r--gnu/usr.bin/groff/pic/Makefile20
1 files changed, 9 insertions, 11 deletions
diff --git a/gnu/usr.bin/groff/pic/Makefile b/gnu/usr.bin/groff/pic/Makefile
index 5a0e171..e991184 100644
--- a/gnu/usr.bin/groff/pic/Makefile
+++ b/gnu/usr.bin/groff/pic/Makefile
@@ -1,16 +1,14 @@
-# Makefile for pic
+# $Id$
PROG= pic
-SRCS= lex.cc main.cc object.cc common.cc troff.cc tex.cc
-OBJS= pic.o
-CFLAGS+= -I. -I${.CURDIR}/../include
-LDADD+= ${LIBGROFF} -lm
-DPADD+= ${LIBGROFF} ${LIBM}
-
-MANDEPEND= pic.1
-CLEANFILES+= pic.cc pic.tab.h ${MANDEPEND}
-
-beforedepend: pic.cc
+SRCS= lex.cc main.cc object.cc pic.cc pic.tab.h \
+ common.cc troff.cc tex.cc
+CFLAGS+= -I.
+DPADD= ${LIBGROFF} ${LIBM}
+LDADD= ${LIBGROFF} -lm
+CLEANFILES= ${MAN1} pic.cc pic.tab.h y.tab.c y.tab.h
+
+pic.tab.h: pic.cc
.include "../Makefile.cfg"
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud