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

26 lines
568 B
Makefile
Raw Normal View History

1999-08-27 23:37:10 +00:00
# $FreeBSD$
1996-09-08 01:27:58 +00:00
PROG= eqn
SRCS= eqn.cc eqn.tab.h main.cc lex.cc \
box.cc limit.cc list.cc over.cc text.cc \
1996-09-08 01:27:58 +00:00
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
1996-09-08 01:27:58 +00:00
all: neqn
1996-09-08 01:27:58 +00:00
beforeinstall:
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} neqn \
${DESTDIR}${BINDIR}
1996-09-08 01:27:58 +00:00
eqn.tab.h: eqn.cc
1996-09-08 01:27:58 +00:00
.include "../Makefile.cfg"
.include <bsd.prog.mk>
neqn: ${DIST_DIR}/neqn.sh
sed -e 's/@g@/${g}/g' ${.ALLSRC} > ${.TARGET}