blob: 7554645641943519dedb2382c8a68879de6e506f (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
PROG=eqn$(EXEEXT)
MAN1=eqn.n neqn.n
XLIBS=$(LIBGROFF)
OBJS=\
eqn.$(OBJEXT) \
main.$(OBJEXT) \
lex.$(OBJEXT) \
box.$(OBJEXT) \
limit.$(OBJEXT) \
list.$(OBJEXT) \
over.$(OBJEXT) \
text.$(OBJEXT) \
script.$(OBJEXT) \
mark.$(OBJEXT) \
other.$(OBJEXT) \
delim.$(OBJEXT) \
sqrt.$(OBJEXT) \
pile.$(OBJEXT) \
special.$(OBJEXT)
CCSRCS=\
$(srcdir)/main.cpp \
$(srcdir)/lex.cpp \
$(srcdir)/box.cpp \
$(srcdir)/limit.cpp \
$(srcdir)/list.cpp \
$(srcdir)/over.cpp \
$(srcdir)/text.cpp \
$(srcdir)/script.cpp \
$(srcdir)/mark.cpp \
$(srcdir)/other.cpp \
$(srcdir)/delim.cpp \
$(srcdir)/sqrt.cpp \
$(srcdir)/pile.cpp \
$(srcdir)/special.cpp
HDRS=\
$(srcdir)/box.h \
$(srcdir)/eqn.h \
$(srcdir)/pbox.h
GRAM=$(srcdir)/eqn.y
YTABC=eqn.cpp
YTABH=eqn_tab.h
NAMEPREFIX=$(g)
CLEANADD=neqn
all: neqn
neqn: neqn.sh
-rm -f $@
sed -e 's/@g@/$(g)/g' \
-e 's|@BINDIR@|$(bindir)|g' \
-e 's|@SEP@|$(SEP)|g' \
-e $(SH_SCRIPT_SED_CMD) $(srcdir)/neqn.sh >$@
chmod +x $@
install_data: neqn
-rm -f $(bindir)/$(NAMEPREFIX)neqn
$(INSTALL_SCRIPT) neqn $(bindir)/$(NAMEPREFIX)neqn
uninstall_sub:
-rm -f $(bindir)/$(NAMEPREFIX)neqn
|