freebsd-dev/gnu/usr.bin/groff/eqn/Makefile

23 lines
565 B
Makefile
Raw Normal View History

1995-01-15 08:30:25 +00:00
# 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
1995-05-30 05:05:38 +00:00
OBJS= eqn.o
1995-01-15 08:30:25 +00:00
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>