aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/groff/eqn
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/groff/eqn')
-rw-r--r--gnu/usr.bin/groff/eqn/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/usr.bin/groff/eqn/Makefile b/gnu/usr.bin/groff/eqn/Makefile
new file mode 100644
index 000000000000..e098130f6a14
--- /dev/null
+++ b/gnu/usr.bin/groff/eqn/Makefile
@@ -0,0 +1,24 @@
+# Makefile for eqn
+
+PROG= eqn
+SRCS= main.cc lex.cc box.cc limit.cc list.cc over.cc text.cc\
+ script.cc mark.cc other.cc delim.cc sqrt.cc pile.cc special.cc
+OBJS= eqn.o
+#CFLAGS+= -I. -I${.CURDIR}/../include
+LDADD+= ${LIBGROFF}
+DPADD+= ${LIBGROFF}
+
+MANDEPEND= eqn.1
+CLEANFILES+= eqn.cc eqn.tab.h neqn ${MANDEPEND}
+
+neqn:
+ sed -e 's/@g@/${g}/g' ${DISTDIR}/neqn.sh > neqn
+
+afterinstall: neqn
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} neqn \
+ ${DESTDIR}${BINDIR}
+
+beforedepend: eqn.cc
+
+.include "../Makefile.cfg"
+.include <bsd.prog.mk>