1995-06-11 00:37:55 +04:00
|
|
|
# $Id: Makefile,v 1.9 1995/06/10 20:37:55 mycroft Exp $
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
PROG= eqn
|
1993-07-15 00:43:49 +04:00
|
|
|
SRCS= main.cc lex.cc box.cc limit.cc list.cc over.cc text.cc\
|
1993-07-17 17:58:32 +04:00
|
|
|
script.cc mark.cc other.cc delim.cc sqrt.cc pile.cc special.cc\
|
|
|
|
eqn.cc
|
1993-07-15 00:43:49 +04:00
|
|
|
CFLAGS+= -I. -I$(.CURDIR)/../include
|
|
|
|
LDADD+= $(LIBGROFF)
|
|
|
|
DPADD+= $(LIBGROFF)
|
|
|
|
|
|
|
|
CLEANFILES+= eqn.cc eqn.tab.h
|
|
|
|
|
1993-07-18 17:50:33 +04:00
|
|
|
lex.o: eqn.cc
|
|
|
|
|
1993-07-15 00:43:49 +04:00
|
|
|
afterinstall:
|
1995-06-11 00:37:55 +04:00
|
|
|
rm -f ${DESTDIR}${BINDIR}/neqn
|
1993-07-15 00:43:49 +04:00
|
|
|
sed -e 's/@g@/$(g)/g' $(.CURDIR)/neqn.sh > $(DESTDIR)$(BINDIR)/neqn
|
1993-10-01 03:16:44 +03:00
|
|
|
chown ${BINOWN}:${BINGRP} $(DESTDIR)$(BINDIR)/neqn
|
1993-07-15 00:43:49 +04:00
|
|
|
chmod ${BINMODE} $(DESTDIR)$(BINDIR)/neqn
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1993-07-15 00:43:49 +04:00
|
|
|
.include "../../Makefile.inc"
|
|
|
|
.include "../Makefile.cfg"
|
1993-07-18 16:46:09 +04:00
|
|
|
.include <bsd.prog.mk>
|