Makefile.sub revision 151497
175584SruLIB=groff 2151497SruEXTRA_CFLAGS=-D__GETOPT_PREFIX=groff_ 375584SruOBJS=\ 4104862Sru assert.$(OBJEXT) \ 5104862Sru change_lf.$(OBJEXT) \ 6104862Sru cmap.$(OBJEXT) \ 7104862Sru color.$(OBJEXT) \ 8104862Sru cset.$(OBJEXT) \ 9104862Sru device.$(OBJEXT) \ 10104862Sru errarg.$(OBJEXT) \ 11104862Sru error.$(OBJEXT) \ 12104862Sru fatal.$(OBJEXT) \ 13104862Sru filename.$(OBJEXT) \ 14104862Sru font.$(OBJEXT) \ 15104862Sru fontfile.$(OBJEXT) \ 16104862Sru geometry.$(OBJEXT) \ 17104862Sru getopt.$(OBJEXT) \ 18104862Sru getopt1.$(OBJEXT) \ 19151497Sru glyphuni.$(OBJEXT) \ 20104862Sru htmlhint.$(OBJEXT) \ 21151497Sru hypot.$(OBJEXT) \ 22151497Sru iftoa.$(OBJEXT) \ 23104862Sru invalid.$(OBJEXT) \ 24151497Sru itoa.$(OBJEXT) \ 25104862Sru lf.$(OBJEXT) \ 26104862Sru lineno.$(OBJEXT) \ 27104862Sru macropath.$(OBJEXT) \ 28151497Sru matherr.$(OBJEXT) \ 29104862Sru maxfilename.$(OBJEXT) \ 30151497Sru maxpathname.$(OBJEXT) \ 31104862Sru mksdir.$(OBJEXT) \ 32104862Sru nametoindex.$(OBJEXT) \ 33104862Sru new.$(OBJEXT) \ 34104862Sru paper.$(OBJEXT) \ 35104862Sru prime.$(OBJEXT) \ 36104862Sru progname.$(OBJEXT) \ 37104862Sru ptable.$(OBJEXT) \ 38151497Sru quotearg.$(OBJEXT) \ 39151497Sru relocate.$(OBJEXT) \ 40104862Sru searchpath.$(OBJEXT) \ 41151497Sru spawnvp.$(OBJEXT) \ 42104862Sru string.$(OBJEXT) \ 43104862Sru strsave.$(OBJEXT) \ 44151497Sru symbol.$(OBJEXT) \ 45104862Sru tmpfile.$(OBJEXT) \ 46104862Sru tmpname.$(OBJEXT) \ 47151497Sru unicode.$(OBJEXT) \ 48151497Sru uniglyph.$(OBJEXT) \ 49151497Sru uniuni.$(OBJEXT) \ 50104862Sru version.$(OBJEXT) \ 5175584Sru $(LIBOBJS) 5275584SruCCSRCS=\ 53114402Sru $(srcdir)/assert.cpp \ 54114402Sru $(srcdir)/change_lf.cpp \ 55114402Sru $(srcdir)/cmap.cpp \ 56114402Sru $(srcdir)/color.cpp \ 57114402Sru $(srcdir)/cset.cpp \ 58114402Sru $(srcdir)/device.cpp \ 59114402Sru $(srcdir)/errarg.cpp \ 60114402Sru $(srcdir)/error.cpp \ 61114402Sru $(srcdir)/fatal.cpp \ 62114402Sru $(srcdir)/filename.cpp \ 63114402Sru $(srcdir)/font.cpp \ 64114402Sru $(srcdir)/fontfile.cpp \ 65114402Sru $(srcdir)/geometry.cpp \ 66151497Sru $(srcdir)/glyphuni.cpp \ 67114402Sru $(srcdir)/htmlhint.cpp \ 68151497Sru $(srcdir)/hypot.cpp \ 69114402Sru $(srcdir)/invalid.cpp \ 70114402Sru $(srcdir)/lf.cpp \ 71114402Sru $(srcdir)/lineno.cpp \ 72114402Sru $(srcdir)/macropath.cpp \ 73114402Sru $(srcdir)/maxfilename.cpp \ 74151497Sru $(srcdir)/maxpathname.cpp \ 75114402Sru $(srcdir)/mksdir.cpp \ 76114402Sru $(srcdir)/mkstemp.cpp \ 77114402Sru $(srcdir)/nametoindex.cpp \ 78114402Sru $(srcdir)/new.cpp \ 79114402Sru $(srcdir)/paper.cpp \ 80114402Sru $(srcdir)/prime.cpp \ 81114402Sru $(srcdir)/ptable.cpp \ 82151497Sru $(srcdir)/relocate.cpp \ 83114402Sru $(srcdir)/searchpath.cpp \ 84114402Sru $(srcdir)/string.cpp \ 85114402Sru $(srcdir)/strsave.cpp \ 86151497Sru $(srcdir)/symbol.cpp \ 87114402Sru $(srcdir)/tmpfile.cpp \ 88114402Sru $(srcdir)/tmpname.cpp \ 89151497Sru $(srcdir)/unicode.cpp \ 90151497Sru $(srcdir)/uniglyph.cpp \ 91151497Sru $(srcdir)/uniuni.cpp \ 92114402Sru version.cpp 9375584SruCSRCS=\ 9475584Sru $(srcdir)/fmod.c \ 9575584Sru $(srcdir)/getcwd.c \ 9675584Sru $(srcdir)/getopt.c \ 9775584Sru $(srcdir)/getopt1.c \ 9875584Sru $(srcdir)/iftoa.c \ 9975584Sru $(srcdir)/itoa.c \ 10075584Sru $(srcdir)/matherr.c \ 101151497Sru $(srcdir)/progname.c \ 10275584Sru $(srcdir)/putenv.c \ 103151497Sru $(srcdir)/quotearg.c \ 104151497Sru $(srcdir)/spawnvp.c \ 105114402Sru $(srcdir)/strcasecmp.c \ 10675584Sru $(srcdir)/strerror.c \ 107114402Sru $(srcdir)/strncasecmp.c \ 108104862Sru $(srcdir)/strtol.c \ 109104862Sru $(srcdir)/../snprintf/snprintf.c 11075584SruGENSRCS=\ 111114402Sru version.cpp 11275584Sru 113104862Srusrc_version=`cat $(top_srcdir)/VERSION` 114104862Srusrc_revision=`cat $(top_srcdir)/REVISION` 11575584Sru 116114402Sruversion.cpp: $(top_srcdir)/VERSION $(top_srcdir)/REVISION 117114402Sru @echo Making version.cpp 118104862Sru @echo const char \*version_string = \"$(src_version)\"\; >$@ 119104862Sru @echo const char \*revision_string = \"$(src_revision)\"\; >>$@ 120104862Sru @echo extern \"C\" const char \*Version_string = \"$(src_version).$(src_revision)\"\; | \ 12175584Sru sed -e 's/\.0\"/\"/' >>$@ 122104862Sru 123104862Sru# We have to avoid $(COMPILE.c) since we must not use groff's `assert.h' 124104862Srusnprintf.$(OBJEXT): $(srcdir)/../snprintf/snprintf.c 125104862Sru $(CC) -c $(CDEFINES) $(CFLAGS) $(CPPFLAGS) \ 126104862Sru $(srcdir)/../snprintf/snprintf.c 127