freebsd-dev/gnu/usr.bin/groff/eqn/Makefile
1995-01-15 09:06:50 +00:00

23 lines
566 B
Makefile

# 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 ${MANDEPEND}
afterinstall:
sed -e 's/@g@/${g}/g' ${.CURDIR}/neqn.sh > ${DESTDIR}${BINDIR}/neqn
chown ${BINOWN}.${BINGRP} ${DESTDIR}${BINDIR}/neqn
chmod ${BINMODE} ${DESTDIR}${BINDIR}/neqn
beforedepend: eqn.cc
.include "../Makefile.cfg"
.include <bsd.prog.mk>