Makefile.sub revision 114402
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=\ 42114402Sru $(srcdir)/assert.cpp \ 43114402Sru $(srcdir)/change_lf.cpp \ 44114402Sru $(srcdir)/cmap.cpp \ 45114402Sru $(srcdir)/color.cpp \ 46114402Sru $(srcdir)/cset.cpp \ 47114402Sru $(srcdir)/device.cpp \ 48114402Sru $(srcdir)/errarg.cpp \ 49114402Sru $(srcdir)/error.cpp \ 50114402Sru $(srcdir)/fatal.cpp \ 51114402Sru $(srcdir)/filename.cpp \ 52114402Sru $(srcdir)/font.cpp \ 53114402Sru $(srcdir)/fontfile.cpp \ 54114402Sru $(srcdir)/geometry.cpp \ 55114402Sru $(srcdir)/htmlhint.cpp \ 56114402Sru $(srcdir)/invalid.cpp \ 57114402Sru $(srcdir)/lf.cpp \ 58114402Sru $(srcdir)/lineno.cpp \ 59114402Sru $(srcdir)/macropath.cpp \ 60114402Sru $(srcdir)/maxfilename.cpp \ 61114402Sru $(srcdir)/mksdir.cpp \ 62114402Sru $(srcdir)/mkstemp.cpp \ 63114402Sru $(srcdir)/nametoindex.cpp \ 64114402Sru $(srcdir)/new.cpp \ 65114402Sru $(srcdir)/paper.cpp \ 66114402Sru $(srcdir)/prime.cpp \ 67114402Sru $(srcdir)/progname.cpp \ 68114402Sru $(srcdir)/ptable.cpp \ 69114402Sru $(srcdir)/searchpath.cpp \ 70114402Sru $(srcdir)/string.cpp \ 71114402Sru $(srcdir)/strsave.cpp \ 72114402Sru $(srcdir)/tmpfile.cpp \ 73114402Sru $(srcdir)/tmpname.cpp \ 74114402Sru version.cpp 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 \ 84114402Sru $(srcdir)/strcasecmp.c \ 8575584Sru $(srcdir)/strerror.c \ 86114402Sru $(srcdir)/strncasecmp.c \ 87104862Sru $(srcdir)/strtol.c \ 88104862Sru $(srcdir)/../snprintf/snprintf.c 8975584SruGENSRCS=\ 90114402Sru version.cpp 9175584Sru 92104862Srusrc_version=`cat $(top_srcdir)/VERSION` 93104862Srusrc_revision=`cat $(top_srcdir)/REVISION` 9475584Sru 95114402Sruversion.cpp: $(top_srcdir)/VERSION $(top_srcdir)/REVISION 96114402Sru @echo Making version.cpp 97104862Sru @echo const char \*version_string = \"$(src_version)\"\; >$@ 98104862Sru @echo const char \*revision_string = \"$(src_revision)\"\; >>$@ 99104862Sru @echo extern \"C\" const char \*Version_string = \"$(src_version).$(src_revision)\"\; | \ 10075584Sru sed -e 's/\.0\"/\"/' >>$@ 101104862Sru 102104862Sru# We have to avoid $(COMPILE.c) since we must not use groff's `assert.h' 103104862Srusnprintf.$(OBJEXT): $(srcdir)/../snprintf/snprintf.c 104104862Sru $(CC) -c $(CDEFINES) $(CFLAGS) $(CPPFLAGS) \ 105104862Sru $(srcdir)/../snprintf/snprintf.c 106