PageRenderTime 63ms CodeModel.GetById 55ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/groff/src/preproc/eqn/Makefile.sub

https://bitbucket.org/freebsd/freebsd-head/
Unknown | 60 lines | 56 code | 4 blank | 0 comment | 0 complexity | a1fa7a3d39da0f45a1d8c02b50ec0782 MD5 | raw file
 1PROG=eqn$(EXEEXT)
 2MAN1=eqn.n neqn.n
 3XLIBS=$(LIBGROFF)
 4MLIB=$(LIBM)
 5OBJS=\
 6  eqn.$(OBJEXT) \
 7  main.$(OBJEXT) \
 8  lex.$(OBJEXT) \
 9  box.$(OBJEXT) \
10  limit.$(OBJEXT) \
11  list.$(OBJEXT) \
12  over.$(OBJEXT) \
13  text.$(OBJEXT) \
14  script.$(OBJEXT) \
15  mark.$(OBJEXT) \
16  other.$(OBJEXT) \
17  delim.$(OBJEXT) \
18  sqrt.$(OBJEXT) \
19  pile.$(OBJEXT) \
20  special.$(OBJEXT)
21CCSRCS=\
22  $(srcdir)/main.cpp \
23  $(srcdir)/lex.cpp \
24  $(srcdir)/box.cpp \
25  $(srcdir)/limit.cpp \
26  $(srcdir)/list.cpp \
27  $(srcdir)/over.cpp \
28  $(srcdir)/text.cpp \
29  $(srcdir)/script.cpp \
30  $(srcdir)/mark.cpp \
31  $(srcdir)/other.cpp \
32  $(srcdir)/delim.cpp \
33  $(srcdir)/sqrt.cpp \
34  $(srcdir)/pile.cpp \
35  $(srcdir)/special.cpp
36HDRS=\
37  $(srcdir)/box.h \
38  $(srcdir)/eqn.h \
39  $(srcdir)/pbox.h
40GRAM=$(srcdir)/eqn.y
41YTABC=eqn.cpp
42YTABH=eqn_tab.h
43NAMEPREFIX=$(g)
44CLEANADD=neqn
45
46all: neqn
47
48neqn: neqn.sh $(SH_DEPS_SED_SCRIPT)
49	-rm -f $@
50	sed -e 's/@g@/$(g)/g' \
51	-f $(SH_DEPS_SED_SCRIPT) \
52	-e $(SH_SCRIPT_SED_CMD) $(srcdir)/neqn.sh >$@
53	chmod +x $@
54
55install_data: neqn
56	-rm -f $(bindir)/$(NAMEPREFIX)neqn
57	$(INSTALL_SCRIPT) neqn $(bindir)/$(NAMEPREFIX)neqn
58
59uninstall_sub:
60	-rm -f $(bindir)/$(NAMEPREFIX)neqn