freebsd-dev/gnu/usr.bin/groff/eqn/Makefile
1998-04-19 13:25:54 +00:00

26 lines
609 B
Makefile

# $Id: Makefile,v 1.10 1998/03/20 12:03:53 bde Exp $
PROG= eqn
SRCS= eqn.cc eqn.tab.h 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
CFLAGS+= -I.
DPADD= ${LIBGROFF}
LDADD= ${LIBGROFF}
MAN1= eqn.1 neqn.1
CLEANFILES= eqn.cc eqn.tab.h ${MAN1} neqn y.tab.c y.tab.h
all: neqn
beforeinstall:
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} neqn \
${DESTDIR}${BINDIR}
eqn.tab.h: eqn.cc
.include "../Makefile.cfg"
.include <bsd.prog.mk>
neqn: ${DIST_DIR}/neqn.sh
sed -e 's/@g@/${g}/g' ${.ALLSRC} > ${.TARGET}