PageRenderTime 32ms CodeModel.GetById 18ms app.highlight 11ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/groff/src/libs/libgroff/Makefile.sub

https://bitbucket.org/freebsd/freebsd-head/
Unknown | 126 lines | 123 code | 3 blank | 0 comment | 0 complexity | 4dc0930aed295e9ba585cd788839b9a8 MD5 | raw file
  1LIB=groff
  2EXTRA_CFLAGS=-D__GETOPT_PREFIX=groff_
  3OBJS=\
  4  assert.$(OBJEXT) \
  5  change_lf.$(OBJEXT) \
  6  cmap.$(OBJEXT) \
  7  color.$(OBJEXT) \
  8  cset.$(OBJEXT) \
  9  device.$(OBJEXT) \
 10  errarg.$(OBJEXT) \
 11  error.$(OBJEXT) \
 12  fatal.$(OBJEXT) \
 13  filename.$(OBJEXT) \
 14  font.$(OBJEXT) \
 15  fontfile.$(OBJEXT) \
 16  geometry.$(OBJEXT) \
 17  getopt.$(OBJEXT) \
 18  getopt1.$(OBJEXT) \
 19  glyphuni.$(OBJEXT) \
 20  htmlhint.$(OBJEXT) \
 21  hypot.$(OBJEXT) \
 22  iftoa.$(OBJEXT) \
 23  invalid.$(OBJEXT) \
 24  itoa.$(OBJEXT) \
 25  lf.$(OBJEXT) \
 26  lineno.$(OBJEXT) \
 27  macropath.$(OBJEXT) \
 28  matherr.$(OBJEXT) \
 29  maxfilename.$(OBJEXT) \
 30  maxpathname.$(OBJEXT) \
 31  mksdir.$(OBJEXT) \
 32  nametoindex.$(OBJEXT) \
 33  new.$(OBJEXT) \
 34  paper.$(OBJEXT) \
 35  prime.$(OBJEXT) \
 36  progname.$(OBJEXT) \
 37  ptable.$(OBJEXT) \
 38  quotearg.$(OBJEXT) \
 39  relocate.$(OBJEXT) \
 40  searchpath.$(OBJEXT) \
 41  spawnvp.$(OBJEXT) \
 42  string.$(OBJEXT) \
 43  strsave.$(OBJEXT) \
 44  symbol.$(OBJEXT) \
 45  tmpfile.$(OBJEXT) \
 46  tmpname.$(OBJEXT) \
 47  unicode.$(OBJEXT) \
 48  uniglyph.$(OBJEXT) \
 49  uniuni.$(OBJEXT) \
 50  version.$(OBJEXT) \
 51  $(LIBOBJS)
 52CCSRCS=\
 53  $(srcdir)/assert.cpp \
 54  $(srcdir)/change_lf.cpp \
 55  $(srcdir)/cmap.cpp \
 56  $(srcdir)/color.cpp \
 57  $(srcdir)/cset.cpp \
 58  $(srcdir)/device.cpp \
 59  $(srcdir)/errarg.cpp \
 60  $(srcdir)/error.cpp \
 61  $(srcdir)/fatal.cpp \
 62  $(srcdir)/filename.cpp \
 63  $(srcdir)/font.cpp \
 64  $(srcdir)/fontfile.cpp \
 65  $(srcdir)/geometry.cpp \
 66  $(srcdir)/glyphuni.cpp \
 67  $(srcdir)/htmlhint.cpp \
 68  $(srcdir)/hypot.cpp \
 69  $(srcdir)/invalid.cpp \
 70  $(srcdir)/lf.cpp \
 71  $(srcdir)/lineno.cpp \
 72  $(srcdir)/macropath.cpp \
 73  $(srcdir)/maxfilename.cpp \
 74  $(srcdir)/maxpathname.cpp \
 75  $(srcdir)/mksdir.cpp \
 76  $(srcdir)/mkstemp.cpp \
 77  $(srcdir)/nametoindex.cpp \
 78  $(srcdir)/new.cpp \
 79  $(srcdir)/paper.cpp \
 80  $(srcdir)/prime.cpp \
 81  $(srcdir)/ptable.cpp \
 82  $(srcdir)/relocate.cpp \
 83  $(srcdir)/searchpath.cpp \
 84  $(srcdir)/string.cpp \
 85  $(srcdir)/strsave.cpp \
 86  $(srcdir)/symbol.cpp \
 87  $(srcdir)/tmpfile.cpp \
 88  $(srcdir)/tmpname.cpp \
 89  $(srcdir)/unicode.cpp \
 90  $(srcdir)/uniglyph.cpp \
 91  $(srcdir)/uniuni.cpp \
 92  version.cpp
 93CSRCS=\
 94  $(srcdir)/fmod.c \
 95  $(srcdir)/getcwd.c \
 96  $(srcdir)/getopt.c \
 97  $(srcdir)/getopt1.c \
 98  $(srcdir)/iftoa.c \
 99  $(srcdir)/itoa.c \
100  $(srcdir)/matherr.c \
101  $(srcdir)/progname.c \
102  $(srcdir)/putenv.c \
103  $(srcdir)/quotearg.c \
104  $(srcdir)/spawnvp.c \
105  $(srcdir)/strcasecmp.c \
106  $(srcdir)/strerror.c \
107  $(srcdir)/strncasecmp.c \
108  $(srcdir)/strtol.c \
109  $(srcdir)/../snprintf/snprintf.c
110GENSRCS=\
111  version.cpp
112
113src_version=`cat $(top_srcdir)/VERSION`
114src_revision=`cat $(top_srcdir)/REVISION`
115
116version.cpp: $(top_srcdir)/VERSION $(top_srcdir)/REVISION
117	@echo Making version.cpp
118	@echo const char \*version_string = \"$(src_version)\"\; >$@
119	@echo const char \*revision_string = \"$(src_revision)\"\; >>$@
120	@echo extern \"C\" const char \*Version_string = \"$(src_version).$(src_revision)\"\; | \
121	  sed -e 's/\.0\"/\"/' >>$@
122
123# We have to avoid $(COMPILE.c) since we must not use groff's `assert.h'
124snprintf.$(OBJEXT): $(srcdir)/../snprintf/snprintf.c
125	$(CC) -c $(CDEFINES) $(CFLAGS) $(CPPFLAGS) \
126	  $(srcdir)/../snprintf/snprintf.c