mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
26 lines
568 B
Makefile
26 lines
568 B
Makefile
# $FreeBSD$
|
|
|
|
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}
|