mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-26 11:47:31 +00:00
25 lines
558 B
Makefile
25 lines
558 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 neqn ${MANDEPEND}
|
|
|
|
neqn:
|
|
sed -e 's/@g@/${g}/g' ${DIST_DIR}/neqn.sh > neqn
|
|
|
|
afterinstall: neqn
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} neqn \
|
|
${DESTDIR}${BINDIR}
|
|
|
|
beforedepend: eqn.cc
|
|
|
|
.include "../Makefile.cfg"
|
|
.include <bsd.prog.mk>
|