blob: df50b6e1958887c77ddce97b0798be574722c415 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
PROG=eqn
MAN1=eqn.1
XLIBS=$(LIBGROFF)
OBJS=eqn.o main.o lex.o box.o limit.o list.o over.o text.o script.o \
mark.o other.o delim.o sqrt.o pile.o special.o
CCSRCS=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
HDRS=box.h eqn.h pbox.h
GRAM=eqn.y
YTABC=eqn.cc
YTABH=eqn.tab.h
NAMEPREFIX=$(g)
CLEANADD=neqn
all: neqn
neqn: neqn.sh
-rm -f neqn
sed -e 's/@g@/$(g)/g' -e "$(SH_SCRIPT_SED_CMD)" $(srcdir)/neqn.sh >neqn
chmod +x neqn
install_data: neqn
-rm -f $(bindir)/$(NAMEPREFIX)neqn
$(INSTALL_PROGRAM) neqn $(bindir)/$(NAMEPREFIX)neqn
uninstall_sub:
-rm -f $(bindir)/$(NAMEPREFIX)neqn
|