Makefile.sub revision 104862
175584SruLIB=groff 275584SruOBJS=\ 3104862Sru assert.$(OBJEXT) \ 4104862Sru change_lf.$(OBJEXT) \ 5104862Sru cmap.$(OBJEXT) \ 6104862Sru color.$(OBJEXT) \ 7104862Sru cset.$(OBJEXT) \ 8104862Sru device.$(OBJEXT) \ 9104862Sru errarg.$(OBJEXT) \ 10104862Sru error.$(OBJEXT) \ 11104862Sru fatal.$(OBJEXT) \ 12104862Sru filename.$(OBJEXT) \ 13104862Sru font.$(OBJEXT) \ 14104862Sru fontfile.$(OBJEXT) \ 15104862Sru geometry.$(OBJEXT) \ 16104862Sru getopt.$(OBJEXT) \ 17104862Sru getopt1.$(OBJEXT) \ 18104862Sru htmlhint.$(OBJEXT) \ 19104862Sru invalid.$(OBJEXT) \ 20104862Sru lf.$(OBJEXT) \ 21104862Sru lineno.$(OBJEXT) \ 22104862Sru macropath.$(OBJEXT) \ 23104862Sru maxfilename.$(OBJEXT) \ 24104862Sru mksdir.$(OBJEXT) \ 25104862Sru nametoindex.$(OBJEXT) \ 26104862Sru new.$(OBJEXT) \ 27104862Sru paper.$(OBJEXT) \ 28104862Sru prime.$(OBJEXT) \ 29104862Sru progname.$(OBJEXT) \ 30104862Sru ptable.$(OBJEXT) \ 31104862Sru searchpath.$(OBJEXT) \ 32104862Sru string.$(OBJEXT) \ 33104862Sru strsave.$(OBJEXT) \ 34104862Sru tmpfile.$(OBJEXT) \ 35104862Sru tmpname.$(OBJEXT) \ 36104862Sru iftoa.$(OBJEXT) \ 37104862Sru itoa.$(OBJEXT) \ 38104862Sru matherr.$(OBJEXT) \ 39104862Sru version.$(OBJEXT) \ 4075584Sru $(LIBOBJS) 4175584SruCCSRCS=\ 4275584Sru $(srcdir)/assert.cc \ 4375584Sru $(srcdir)/change_lf.cc \ 4475584Sru $(srcdir)/cmap.cc \ 45104862Sru $(srcdir)/color.cc \ 4675584Sru $(srcdir)/cset.cc \ 4775584Sru $(srcdir)/device.cc \ 4875584Sru $(srcdir)/errarg.cc \ 4975584Sru $(srcdir)/error.cc \ 5075584Sru $(srcdir)/fatal.cc \ 5175584Sru $(srcdir)/filename.cc \ 5275584Sru $(srcdir)/font.cc \ 5375584Sru $(srcdir)/fontfile.cc \ 54104862Sru $(srcdir)/geometry.cc \ 55104862Sru $(srcdir)/htmlhint.cc \ 56104862Sru $(srcdir)/invalid.cc \ 5775584Sru $(srcdir)/lf.cc \ 5875584Sru $(srcdir)/lineno.cc \ 5975584Sru $(srcdir)/macropath.cc \ 6079543Sru $(srcdir)/maxfilename.cc \ 61104862Sru $(srcdir)/mksdir.cc \ 62104862Sru $(srcdir)/mkstemp.cc \ 6375584Sru $(srcdir)/nametoindex.cc \ 6475584Sru $(srcdir)/new.cc \ 65104862Sru $(srcdir)/paper.cc \ 6675584Sru $(srcdir)/prime.cc \ 6775584Sru $(srcdir)/progname.cc \ 6875584Sru $(srcdir)/ptable.cc \ 6975584Sru $(srcdir)/searchpath.cc \ 7075584Sru $(srcdir)/string.cc \ 7175584Sru $(srcdir)/strsave.cc \ 7275584Sru $(srcdir)/tmpfile.cc \ 73104862Sru $(srcdir)/tmpname.cc \ 7475584Sru version.cc 7575584SruCSRCS=\ 7675584Sru $(srcdir)/fmod.c \ 7775584Sru $(srcdir)/getcwd.c \ 7875584Sru $(srcdir)/getopt.c \ 7975584Sru $(srcdir)/getopt1.c \ 8075584Sru $(srcdir)/iftoa.c \ 8175584Sru $(srcdir)/itoa.c \ 8275584Sru $(srcdir)/matherr.c \ 8375584Sru $(srcdir)/putenv.c \ 8475584Sru $(srcdir)/strerror.c \ 85104862Sru $(srcdir)/strtol.c \ 86104862Sru $(srcdir)/../snprintf/snprintf.c 8775584SruGENSRCS=\ 8875584Sru version.cc 8975584Sru 90104862Srusrc_version=`cat $(top_srcdir)/VERSION` 91104862Srusrc_revision=`cat $(top_srcdir)/REVISION` 9275584Sru 9375584Sruversion.cc: $(top_srcdir)/VERSION $(top_srcdir)/REVISION 9475584Sru @echo Making version.cc 95104862Sru @echo const char \*version_string = \"$(src_version)\"\; >$@ 96104862Sru @echo const char \*revision_string = \"$(src_revision)\"\; >>$@ 97104862Sru @echo extern \"C\" const char \*Version_string = \"$(src_version).$(src_revision)\"\; | \ 9875584Sru sed -e 's/\.0\"/\"/' >>$@ 99104862Sru 100104862Sru# We have to avoid $(COMPILE.c) since we must not use groff's `assert.h' 101104862Srusnprintf.$(OBJEXT): $(srcdir)/../snprintf/snprintf.c 102104862Sru $(CC) -c $(CDEFINES) $(CFLAGS) $(CPPFLAGS) \ 103104862Sru $(srcdir)/../snprintf/snprintf.c 104