1993-08-02 21:38:43 +04:00
|
|
|
# $Id: Makefile,v 1.7 1993/08/02 17:42:41 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:
|
|
|
|
sed -e 's/@g@/$(g)/g' $(.CURDIR)/neqn.sh > $(DESTDIR)$(BINDIR)/neqn
|
|
|
|
chown ${BINOWN}.${BINGRP} $(DESTDIR)$(BINDIR)/neqn
|
|
|
|
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>
|