NetBSD/gnu/usr.bin/groff/eqn/Makefile

24 lines
624 B
Makefile
Raw Normal View History

# $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\
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
lex.o: eqn.cc
1993-07-15 00:43:49 +04:00
afterinstall:
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
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"
.include <bsd.prog.mk>