PageRenderTime 10ms CodeModel.GetById 1ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/groff/src/roff/troff/Makefile.sub

https://bitbucket.org/freebsd/freebsd-head/
Unknown | 48 lines | 47 code | 1 blank | 0 comment | 0 complexity | 6d72ae70f0c8e0085b66be257495bbbf MD5 | raw file
 1PROG=troff$(EXEEXT)
 2MAN1=troff.n
 3XLIBS=$(LIBGROFF)
 4MLIB=$(LIBM)
 5OBJS=\
 6  dictionary.$(OBJEXT) \
 7  div.$(OBJEXT) \
 8  env.$(OBJEXT) \
 9  input.$(OBJEXT) \
10  majorminor.$(OBJEXT) \
11  mtsm.$(OBJEXT) \
12  node.$(OBJEXT) \
13  number.$(OBJEXT) \
14  reg.$(OBJEXT)
15CCSRCS=\
16  $(srcdir)/dictionary.cpp \
17  $(srcdir)/div.cpp \
18  $(srcdir)/env.cpp \
19  $(srcdir)/input.cpp \
20  majorminor.cpp \
21  $(srcdir)/mtsm.cpp \
22  $(srcdir)/node.cpp \
23  $(srcdir)/number.cpp \
24  $(srcdir)/reg.cpp
25HDRS=\
26  $(srcdir)/charinfo.h \
27  $(srcdir)/dictionary.h \
28  $(srcdir)/div.h \
29  $(srcdir)/env.h \
30  $(srcdir)/hvunits.h \
31  $(srcdir)/input.h \
32  $(srcdir)/mtsm.h \
33  $(srcdir)/node.h \
34  $(srcdir)/reg.h \
35  $(srcdir)/request.h \
36  $(srcdir)/token.h \
37  $(srcdir)/troff.h
38GENSRCS=majorminor.cpp
39NAMEPREFIX=$(g)
40
41majorminor.cpp: $(top_srcdir)/VERSION $(top_srcdir)/REVISION
42	@echo Making $@
43	@-rm -f $@
44	@echo const char \*major_version = \
45	\"`sed -e 's/^\([^.]*\)\..*$$/\1/' $(top_srcdir)/VERSION`\"\; >$@
46	@echo const char \*minor_version = \
47	\"`sed -e 's/^[^.]*\.\([0-9]*\).*$$/\1/' $(top_srcdir)/VERSION`\"\; >>$@
48	@echo const char \*revision = \"`cat $(top_srcdir)/REVISION`\"\; >>$@