X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=pdf%2Fxpdf%2FMakefile.in;h=083721d6743dc2a8e12971daa35241dcd8dd691b;hb=e4328aef245464741c6d742bfc5aef4ee579ef23;hp=7f6f628e7758480a2a7d051955f13f9bc0271dfd;hpb=8db6ea908fea5d48ff174580a3398b67ee265717;p=evince.git diff --git a/pdf/xpdf/Makefile.in b/pdf/xpdf/Makefile.in index 7f6f628e..083721d6 100644 --- a/pdf/xpdf/Makefile.in +++ b/pdf/xpdf/Makefile.in @@ -1,274 +1,599 @@ -#======================================================================== -# -# Xpdf Makefile -# -# Copyright 1996 Derek B. Noonburg -# -#======================================================================== +# Makefile.in generated automatically by automake 1.4a from Makefile.am -srcdir = @srcdir@ -VPATH = @srcdir@ +# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -GOOSRCDIR = $(srcdir)/../goo -GOOLIBDIR = ../goo -LTKSRCDIR = $(srcdir)/../ltk -LTKLIBDIR = ../ltk +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. -#CXXFLAGS = @CXXFLAGS@ @DEFS@ @OPTIONS@ -I$(GOOSRCDIR) -I$(LTKSRCDIR) -I$(srcdir) @X_CFLAGS@ @Xpm_CFLAGS@ -CXXFLAGS = @CXXFLAGS@ @DEFS@ @OPTIONS@ -I$(GOOSRCDIR) `gnome-config --cflags gnomeui` -I$(srcdir) @X_CFLAGS@ -XLIBS = @Xpm_LIBS@ @X_PRE_LIBS@ @X_LIBS@ -lX11 @X_EXTRA_LIBS@ -OTHERLIBS = @LIBS@ +SHELL = @SHELL@ +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +bindir = @bindir@ +sbindir = @sbindir@ +libexecdir = @libexecdir@ +datadir = @datadir@ +sysconfdir = @sysconfdir@ +sharedstatedir = @sharedstatedir@ +localstatedir = @localstatedir@ +libdir = @libdir@ +infodir = @infodir@ +mandir = @mandir@ +includedir = @includedir@ +oldincludedir = /usr/include + +DESTDIR = + +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ + +top_builddir = .. + +ACLOCAL = @ACLOCAL@ +AUTOCONF = @AUTOCONF@ +AUTOMAKE = @AUTOMAKE@ +AUTOHEADER = @AUTOHEADER@ + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_FLAG = +transform = @program_transform_name@ + +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +host_alias = @host_alias@ +host_triplet = @host@ +AS = @AS@ +CC = @CC@ CXX = @CXX@ +DLLTOOL = @DLLTOOL@ +EXE = @EXE@ +EXTRA_GNOME_CFLAGS = @EXTRA_GNOME_CFLAGS@ +EXTRA_GNOME_LIBS = @EXTRA_GNOME_LIBS@ +GNOMEGNORBA_LIBS = @GNOMEGNORBA_LIBS@ +GNOMEUI_LIBS = @GNOMEUI_LIBS@ +GNOME_APPLETS_LIBS = @GNOME_APPLETS_LIBS@ +GNOME_CAPPLET_LIBS = @GNOME_CAPPLET_LIBS@ +GNOME_CONFIG = @GNOME_CONFIG@ +GNOME_INCLUDEDIR = @GNOME_INCLUDEDIR@ +GNOME_LIBDIR = @GNOME_LIBDIR@ +GNOME_LIBS = @GNOME_LIBS@ +GNORBA_CFLAGS = @GNORBA_CFLAGS@ +GNORBA_LIBS = @GNORBA_LIBS@ +GTKXMHTML_LIBS = @GTKXMHTML_LIBS@ +GTK_CFLAGS = @GTK_CFLAGS@ +GTK_CONFIG = @GTK_CONFIG@ +GTK_LIBS = @GTK_LIBS@ +LD = @LD@ +LIBPREFIX = @LIBPREFIX@ +LIBTOOL = @LIBTOOL@ +LN_S = @LN_S@ +MAINT = @MAINT@ +MAKEINFO = @MAKEINFO@ +NM = @NM@ +OPTIONS = @OPTIONS@ +ORBIT_CFLAGS = @ORBIT_CFLAGS@ +ORBIT_CONFIG = @ORBIT_CONFIG@ +ORBIT_IDL = @ORBIT_IDL@ +ORBIT_LIBS = @ORBIT_LIBS@ +PACKAGE = @PACKAGE@ +PTHREAD_LIB = @PTHREAD_LIB@ +RANLIB = @RANLIB@ STRIP = @STRIP@ +USE_SYMBOL_UNDERSCORE = @USE_SYMBOL_UNDERSCORE@ +VERSION = @VERSION@ +XPM_LIBS = @XPM_LIBS@ +YACC = @YACC@ +ZVT_LIBS = @ZVT_LIBS@ +cflags_set = @cflags_set@ +cxxflags_set = @cxxflags_set@ + +INCLUDES = -I$(top_srcdir)/goo -I$(top_srcdir)/ltk -DGPDF_GLADE_DIR=\""$(gladedir)"\" $(EXTRA_GNOME_CFLAGS) + +@WITH_GNOME_TRUE@gui = gpdf +@WITH_GNOME_FALSE@gui = xpdf + +bin_PROGRAMS = pdftops pdftotext pdfinfo pdftopbm pdfimages $(gui) bonobo-image-x-pdf + +common_sources = Array.cc BaseFile.h Catalog.cc Dict.cc Error.cc FontEncoding.cc FontEncoding.h FontFile.cc FontFile.h FontInfo.h Gfx.cc GfxFont.cc GfxState.cc Lexer.cc Link.cc Object.cc OutputDev.cc Page.cc Params.cc Parser.cc PDFDoc.cc Stream.cc TextOutputDev.cc XRef.cc + + +gpdf_CFLAGS = -DBONOBO_IO + + +gpdf_SOURCES = gpdf.cc + + +gpdf_LDADD = $(GTK_LIBS) $(GNOME_LIBDIR) -lbonobo $(GNOMEGNORBA_LIBS) $(EXTRA_GNOME_LIBS) $(INTLLIBS) + + +bonobo_image_x_pdf_SOURCES = $(common_sources) BonoboStream.h BonoboStream.cc GOutputDev.cc bonobo-image-x-pdf.cc + + +bonobo_image_x_pdf_CFLAGS = -DBONOBO_IO + + +bonobo_image_x_pdf_LDADD = ../goo/libgoo.a $(GTK_LIBS) $(GNOME_LIBDIR) -lbonobo $(GNOMEGNORBA_LIBS) $(INTLLIBS) + + +xpdf_SOURCES = $(common_sources) XOutputDev.cc LTKOutputDev.cc PSOutputDev.cc xpdf.cc + + +xpdf_CFLAGS = $(X_CFLAGS) +xpdf_LDADD = ../goo/libgoo.a ../ltk/libltk.a -lXpm $(EXTRA_GNOME_LIBS) + +pdfimages_SOURCES = $(common_sources) ImageOutputDev.cc pdfimages.cc -LIBPREFIX = @LIBPREFIX@ -EXE = @EXE@ -#------------------------------------------------------------------------ +pdfimages_LDADD = ../goo/libgoo.a -.SUFFIXES: .cc +pdftops_SOURCES = $(common_sources) PSOutputDev.cc pdftops.cc +pdftops_LDADD = ../goo/libgoo.a + +pdftotext_SOURCES = $(common_sources) pdftotext.cc + +pdftotext_LDADD = ../goo/libgoo.a + +pdfinfo_SOURCES = $(common_sources) pdfinfo.cc + +pdfinfo_LDADD = ../goo/libgoo.a + +pdftopbm_SOURCES = $(common_sources) PBMOutputDev.cc XOutputDev.cc pdftopbm.cc + + +pdftopbm_LDADD = ../goo/libgoo.a $(EXTRA_GNOME_LIBS) + +bitmaps = about.xbm dblLeftArrow.xbm dblRightArrow.xbm find.xbm leftArrow.xbm postscript.xbm rightArrow.xbm xpdfIcon.xpm zoomIn.xbm zoomOut.xbm + + +ltk = xpdf-flip.ltk xpdf-top.ltk xpdf.ltk + + +gladedir = $(datadir)/xpdf/glade + +glade_DATA = about.glade gpdf.glade + + +gnorbadir = $(sysconfdir)/CORBA/servers +gnorba_DATA = image-x-pdf.gnorba + +EXTRA_DIST = $(bitmaps) ChangeLog $(ltk) $(glade_DATA) $(gnorba_DATA) +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs +CONFIG_CLEAN_FILES = +PROGRAMS = $(bin_PROGRAMS) + + +DEFS = @DEFS@ -I. -I$(srcdir) +CPPFLAGS = @CPPFLAGS@ +LDFLAGS = @LDFLAGS@ +LIBS = @LIBS@ +X_CFLAGS = @X_CFLAGS@ +X_LIBS = @X_LIBS@ +X_EXTRA_LIBS = @X_EXTRA_LIBS@ +X_PRE_LIBS = @X_PRE_LIBS@ +pdftops_OBJECTS = Array.o Catalog.o Dict.o Error.o FontEncoding.o \ +FontFile.o Gfx.o GfxFont.o GfxState.o Lexer.o Link.o Object.o \ +OutputDev.o Page.o Params.o Parser.o PDFDoc.o Stream.o TextOutputDev.o \ +XRef.o PSOutputDev.o pdftops.o +pdftops_DEPENDENCIES = ../goo/libgoo.a +pdftops_LDFLAGS = +pdftotext_OBJECTS = Array.o Catalog.o Dict.o Error.o FontEncoding.o \ +FontFile.o Gfx.o GfxFont.o GfxState.o Lexer.o Link.o Object.o \ +OutputDev.o Page.o Params.o Parser.o PDFDoc.o Stream.o TextOutputDev.o \ +XRef.o pdftotext.o +pdftotext_DEPENDENCIES = ../goo/libgoo.a +pdftotext_LDFLAGS = +pdfinfo_OBJECTS = Array.o Catalog.o Dict.o Error.o FontEncoding.o \ +FontFile.o Gfx.o GfxFont.o GfxState.o Lexer.o Link.o Object.o \ +OutputDev.o Page.o Params.o Parser.o PDFDoc.o Stream.o TextOutputDev.o \ +XRef.o pdfinfo.o +pdfinfo_DEPENDENCIES = ../goo/libgoo.a +pdfinfo_LDFLAGS = +pdftopbm_OBJECTS = Array.o Catalog.o Dict.o Error.o FontEncoding.o \ +FontFile.o Gfx.o GfxFont.o GfxState.o Lexer.o Link.o Object.o \ +OutputDev.o Page.o Params.o Parser.o PDFDoc.o Stream.o TextOutputDev.o \ +XRef.o PBMOutputDev.o XOutputDev.o pdftopbm.o +pdftopbm_DEPENDENCIES = ../goo/libgoo.a +pdftopbm_LDFLAGS = +pdfimages_OBJECTS = Array.o Catalog.o Dict.o Error.o FontEncoding.o \ +FontFile.o Gfx.o GfxFont.o GfxState.o Lexer.o Link.o Object.o \ +OutputDev.o Page.o Params.o Parser.o PDFDoc.o Stream.o TextOutputDev.o \ +XRef.o ImageOutputDev.o pdfimages.o +pdfimages_DEPENDENCIES = ../goo/libgoo.a +pdfimages_LDFLAGS = +gpdf_OBJECTS = gpdf.o +gpdf_DEPENDENCIES = +gpdf_LDFLAGS = +xpdf_OBJECTS = Array.o Catalog.o Dict.o Error.o FontEncoding.o \ +FontFile.o Gfx.o GfxFont.o GfxState.o Lexer.o Link.o Object.o \ +OutputDev.o Page.o Params.o Parser.o PDFDoc.o Stream.o TextOutputDev.o \ +XRef.o XOutputDev.o LTKOutputDev.o PSOutputDev.o xpdf.o +xpdf_DEPENDENCIES = ../goo/libgoo.a ../ltk/libltk.a +xpdf_LDFLAGS = +bonobo_image_x_pdf_OBJECTS = Array.o Catalog.o Dict.o Error.o \ +FontEncoding.o FontFile.o Gfx.o GfxFont.o GfxState.o Lexer.o Link.o \ +Object.o OutputDev.o Page.o Params.o Parser.o PDFDoc.o Stream.o \ +TextOutputDev.o XRef.o BonoboStream.o GOutputDev.o bonobo-image-x-pdf.o +bonobo_image_x_pdf_DEPENDENCIES = ../goo/libgoo.a +bonobo_image_x_pdf_LDFLAGS = +CXXFLAGS = @CXXFLAGS@ +CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +CXXLD = $(CXX) +CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ +CFLAGS = @CFLAGS@ +COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ +DATA = $(glade_DATA) $(gnorba_DATA) + +DIST_COMMON = ChangeLog Makefile.am Makefile.in + + +DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) + +TAR = gtar +GZIP_ENV = --best +DEP_FILES = .deps/Array.P .deps/BonoboStream.P .deps/Catalog.P \ +.deps/Dict.P .deps/Error.P .deps/FontEncoding.P .deps/FontFile.P \ +.deps/GOutputDev.P .deps/Gfx.P .deps/GfxFont.P .deps/GfxState.P \ +.deps/ImageOutputDev.P .deps/LTKOutputDev.P .deps/Lexer.P .deps/Link.P \ +.deps/Object.P .deps/OutputDev.P .deps/PBMOutputDev.P .deps/PDFDoc.P \ +.deps/PSOutputDev.P .deps/Page.P .deps/Params.P .deps/Parser.P \ +.deps/Stream.P .deps/TextOutputDev.P .deps/XOutputDev.P .deps/XRef.P \ +.deps/bonobo-image-x-pdf.P .deps/gpdf.P .deps/pdfimages.P \ +.deps/pdfinfo.P .deps/pdftopbm.P .deps/pdftops.P .deps/pdftotext.P \ +.deps/xpdf.P +SOURCES = $(pdftops_SOURCES) $(pdftotext_SOURCES) $(pdfinfo_SOURCES) $(pdftopbm_SOURCES) $(pdfimages_SOURCES) $(gpdf_SOURCES) $(xpdf_SOURCES) $(bonobo_image_x_pdf_SOURCES) +OBJECTS = $(pdftops_OBJECTS) $(pdftotext_OBJECTS) $(pdfinfo_OBJECTS) $(pdftopbm_OBJECTS) $(pdfimages_OBJECTS) $(gpdf_OBJECTS) $(xpdf_OBJECTS) $(bonobo_image_x_pdf_OBJECTS) + +all: all-redirect +.SUFFIXES: +.SUFFIXES: .S .c .cc .lo .o .s +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) + cd $(top_srcdir) && $(AUTOMAKE) --gnu xpdf/Makefile + +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES) + cd $(top_builddir) \ + && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + + +mostlyclean-binPROGRAMS: + +clean-binPROGRAMS: + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) + +distclean-binPROGRAMS: + +maintainer-clean-binPROGRAMS: + +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(bindir) + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + if test -f $$p; then \ + echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ + $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + else :; fi; \ + done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + list='$(bin_PROGRAMS)'; for p in $$list; do \ + rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + done + +.s.o: + $(COMPILE) -c $< + +.S.o: + $(COMPILE) -c $< + +mostlyclean-compile: + -rm -f *.o core *.core + +clean-compile: + +distclean-compile: + -rm -f *.tab.c + +maintainer-clean-compile: + +.s.lo: + $(LIBTOOL) --mode=compile $(COMPILE) -c $< + +.S.lo: + $(LIBTOOL) --mode=compile $(COMPILE) -c $< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + +maintainer-clean-libtool: + +pdftops: $(pdftops_OBJECTS) $(pdftops_DEPENDENCIES) + @rm -f pdftops + $(CXXLINK) $(pdftops_LDFLAGS) $(pdftops_OBJECTS) $(pdftops_LDADD) $(LIBS) + +pdftotext: $(pdftotext_OBJECTS) $(pdftotext_DEPENDENCIES) + @rm -f pdftotext + $(CXXLINK) $(pdftotext_LDFLAGS) $(pdftotext_OBJECTS) $(pdftotext_LDADD) $(LIBS) + +pdfinfo: $(pdfinfo_OBJECTS) $(pdfinfo_DEPENDENCIES) + @rm -f pdfinfo + $(CXXLINK) $(pdfinfo_LDFLAGS) $(pdfinfo_OBJECTS) $(pdfinfo_LDADD) $(LIBS) + +pdftopbm: $(pdftopbm_OBJECTS) $(pdftopbm_DEPENDENCIES) + @rm -f pdftopbm + $(CXXLINK) $(pdftopbm_LDFLAGS) $(pdftopbm_OBJECTS) $(pdftopbm_LDADD) $(LIBS) + +pdfimages: $(pdfimages_OBJECTS) $(pdfimages_DEPENDENCIES) + @rm -f pdfimages + $(CXXLINK) $(pdfimages_LDFLAGS) $(pdfimages_OBJECTS) $(pdfimages_LDADD) $(LIBS) + +gpdf: $(gpdf_OBJECTS) $(gpdf_DEPENDENCIES) + @rm -f gpdf + $(CXXLINK) $(gpdf_LDFLAGS) $(gpdf_OBJECTS) $(gpdf_LDADD) $(LIBS) + +xpdf: $(xpdf_OBJECTS) $(xpdf_DEPENDENCIES) + @rm -f xpdf + $(CXXLINK) $(xpdf_LDFLAGS) $(xpdf_OBJECTS) $(xpdf_LDADD) $(LIBS) + +bonobo-image-x-pdf: $(bonobo_image_x_pdf_OBJECTS) $(bonobo_image_x_pdf_DEPENDENCIES) + @rm -f bonobo-image-x-pdf + $(CXXLINK) $(bonobo_image_x_pdf_LDFLAGS) $(bonobo_image_x_pdf_OBJECTS) $(bonobo_image_x_pdf_LDADD) $(LIBS) .cc.o: - $(CXX) $(CXXFLAGS) -c $< - -#------------------------------------------------------------------------ - -CXX_SRC = \ - $(srcdir)/Array.cc \ - $(srcdir)/Catalog.cc \ - $(srcdir)/Dict.cc \ - $(srcdir)/Error.cc \ - $(srcdir)/Gfx.cc \ - $(srcdir)/GfxFont.cc \ - $(srcdir)/GfxState.cc \ - $(srcdir)/ImageOutputDev.cc \ - $(srcdir)/Lexer.cc \ - $(srcdir)/Link.cc \ - $(srcdir)/LTKOutputDev.cc \ - $(srcdir)/Object.cc \ - $(srcdir)/OutputDev.cc \ - $(srcdir)/Page.cc \ - $(srcdir)/Params.cc \ - $(srcdir)/Parser.cc \ - $(srcdir)/PBMOutputDev.cc \ - $(srcdir)/PDFDoc.cc \ - $(srcdir)/PSOutputDev.cc \ - $(srcdir)/Stream.cc \ - $(srcdir)/TextOutputDev.cc \ - $(srcdir)/XOutputDev.cc \ - $(srcdir)/XRef.cc \ - $(srcdir)/xpdf.cc \ - $(srcdir)/pdftops.cc \ - $(srcdir)/pdftotext.cc \ - $(srcdir)/pdfinfo.cc \ - $(srcdir)/pdftopbm.cc \ - $(srcdir)/pdfimages.cc - -#------------------------------------------------------------------------ - -all: gpdf - -all: xpdf$(EXE) pdftops$(EXE) pdftotext$(EXE) pdfinfo$(EXE) \ - pdftopbm$(EXE) pdfimages$(EXE) - -#------------------------------------------------------------------------ - -XPDF_OBJS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \ - GfxState.o Lexer.o Link.o LTKOutputDev.o Object.o OutputDev.o \ - Page.o Params.o Parser.o PDFDoc.o PSOutputDev.o Stream.o \ - TextOutputDev.o XOutputDev.o XRef.o xpdf.o - -GPDF_OBJS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \ - GfxState.o Lexer.o Link.o GOutputDev.o Object.o OutputDev.o \ - Page.o Params.o Parser.o PDFDoc.o PSOutputDev.o Stream.o \ - TextOutputDev.o XOutputDev.o XRef.o gpdf.o - -XPDF_LIBS = -L$(LTKLIBDIR) -lLTK -L$(GOOLIBDIR) -lGoo $(XLIBS) $(OTHERLIBS) -lm - -GPDF_LIBS = -L$(GOOLIBDIR) $(OTHERLIBS) -lGoo `gnome-config --libs gnomeui` -lm - -gpdf: $(GPDF_OBJS) - $(CXX) $(CXXFLAGS) -o gpdf $(GPDF_OBJS) $(GPDF_LIBS) - -xpdf$(EXE): $(XPDF_OBJS) - $(CXX) $(CXXFLAGS) -o xpdf$(EXE) $(XPDF_OBJS) $(XPDF_LIBS) - $(STRIP) xpdf$(EXE) + $(CXXCOMPILE) -c $< +.cc.lo: + $(LTCXXCOMPILE) -c $< + +install-gladeDATA: $(glade_DATA) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(gladedir) + @list='$(glade_DATA)'; for p in $$list; do \ + if test -f $(srcdir)/$$p; then \ + echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(gladedir)/$$p"; \ + $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(gladedir)/$$p; \ + else if test -f $$p; then \ + echo " $(INSTALL_DATA) $$p $(DESTDIR)$(gladedir)/$$p"; \ + $(INSTALL_DATA) $$p $(DESTDIR)$(gladedir)/$$p; \ + fi; fi; \ + done + +uninstall-gladeDATA: + @$(NORMAL_UNINSTALL) + list='$(glade_DATA)'; for p in $$list; do \ + rm -f $(DESTDIR)$(gladedir)/$$p; \ + done + +install-gnorbaDATA: $(gnorba_DATA) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(gnorbadir) + @list='$(gnorba_DATA)'; for p in $$list; do \ + if test -f $(srcdir)/$$p; then \ + echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(gnorbadir)/$$p"; \ + $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(gnorbadir)/$$p; \ + else if test -f $$p; then \ + echo " $(INSTALL_DATA) $$p $(DESTDIR)$(gnorbadir)/$$p"; \ + $(INSTALL_DATA) $$p $(DESTDIR)$(gnorbadir)/$$p; \ + fi; fi; \ + done + +uninstall-gnorbaDATA: + @$(NORMAL_UNINSTALL) + list='$(gnorba_DATA)'; for p in $$list; do \ + rm -f $(DESTDIR)$(gnorbadir)/$$p; \ + done + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + here=`pwd` && cd $(srcdir) \ + && mkid -f$$here/ID $$unique $(LISP) + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS)'; \ + unique=`for i in $$list; do echo $$i; done | \ + awk ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ + || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) + +mostlyclean-tags: + +clean-tags: + +distclean-tags: + -rm -f TAGS ID + +maintainer-clean-tags: + +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) + +subdir = xpdf + +distdir: $(DISTFILES) + here=`cd $(top_builddir) && pwd`; \ + top_distdir=`cd $(top_distdir) && pwd`; \ + distdir=`cd $(distdir) && pwd`; \ + cd $(top_srcdir) \ + && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu xpdf/Makefile + @for file in $(DISTFILES); do \ + d=$(srcdir); \ + if test -d $$d/$$file; then \ + cp -pr $$d/$$file $(distdir)/$$file; \ + else \ + test -f $(distdir)/$$file \ + || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ + || cp -p $$d/$$file $(distdir)/$$file || :; \ + fi; \ + done + +DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :) + +-include $(DEP_FILES) + +mostlyclean-depend: + +clean-depend: + +distclean-depend: + -rm -rf .deps + +maintainer-clean-depend: + +%.o: %.c + @echo '$(COMPILE) -c $<'; \ + $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-cp .deps/$(*F).pp .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm .deps/$(*F).pp + +%.lo: %.c + @echo '$(LTCOMPILE) -c $<'; \ + $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ + < .deps/$(*F).pp > .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm -f .deps/$(*F).pp + +%.o: %.cc + @echo '$(CXXCOMPILE) -c $<'; \ + $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-cp .deps/$(*F).pp .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm .deps/$(*F).pp + +%.lo: %.cc + @echo '$(LTCXXCOMPILE) -c $<'; \ + $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $< + @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \ + < .deps/$(*F).pp > .deps/$(*F).P; \ + tr ' ' '\012' < .deps/$(*F).pp \ + | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \ + >> .deps/$(*F).P; \ + rm -f .deps/$(*F).pp +info-am: +info: info-am +dvi-am: +dvi: dvi-am +check-am: all-am +check: check-am +installcheck-am: +installcheck: installcheck-am +install-exec-am: install-binPROGRAMS +install-exec: install-exec-am + +install-data-am: install-gladeDATA install-gnorbaDATA +install-data: install-data-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +install: install-am +uninstall-am: uninstall-binPROGRAMS uninstall-gladeDATA \ + uninstall-gnorbaDATA +uninstall: uninstall-am +all-am: Makefile $(PROGRAMS) $(DATA) +all-redirect: all-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install +installdirs: + $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(gladedir) \ + $(DESTDIR)$(gnorbadir) + + +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + -rm -f config.cache config.log stamp-h stamp-h[0-9]* + +maintainer-clean-generic: +mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \ + mostlyclean-libtool mostlyclean-tags mostlyclean-depend \ + mostlyclean-generic + +mostlyclean: mostlyclean-am + +clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \ + clean-depend clean-generic mostlyclean-am + +clean: clean-am + +distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \ + distclean-tags distclean-depend distclean-generic \ + clean-am + -rm -f libtool + +distclean: distclean-am + +maintainer-clean-am: maintainer-clean-binPROGRAMS \ + maintainer-clean-compile maintainer-clean-libtool \ + maintainer-clean-tags maintainer-clean-depend \ + maintainer-clean-generic distclean-am + @echo "This command is intended for maintainers to use;" + @echo "it deletes files that may require special tools to rebuild." + +maintainer-clean: maintainer-clean-am + +.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \ +maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ +mostlyclean-compile distclean-compile clean-compile \ +maintainer-clean-compile mostlyclean-libtool distclean-libtool \ +clean-libtool maintainer-clean-libtool uninstall-gladeDATA \ +install-gladeDATA uninstall-gnorbaDATA install-gnorbaDATA tags \ +mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \ +distdir mostlyclean-depend distclean-depend clean-depend \ +maintainer-clean-depend info-am info dvi-am dvi check check-am \ +installcheck-am installcheck install-exec-am install-exec \ +install-data-am install-data install-am install uninstall-am uninstall \ +all-redirect all-am all installdirs mostlyclean-generic \ +distclean-generic clean-generic maintainer-clean-generic clean \ +mostlyclean distclean maintainer-clean + xpdf-ltk.h: xpdf.ltk rm -f $@ - $(LTKLIBDIR)/ltkbuild $@.new + $(top_srcdir)/ltk/ltkbuild $@.new mv $@.new $@ -#------------------------------------------------------------------------ - -PDFTOPS_OBJS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \ - GfxState.o Lexer.o Link.o Object.o OutputDev.o Page.o Params.o \ - Parser.o PDFDoc.o PSOutputDev.o Stream.o XRef.o pdftops.o -PDFTOPS_LIBS = -L$(GOOLIBDIR) -lGoo $(OTHERLIBS) -lm - -pdftops$(EXE): $(PDFTOPS_OBJS) - $(CXX) $(CXXFLAGS) -o pdftops$(EXE) $(PDFTOPS_OBJS) $(PDFTOPS_LIBS) - $(STRIP) pdftops$(EXE) - -#------------------------------------------------------------------------ - -PDFTOTEXT_OBJS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \ - GfxState.o Lexer.o Link.o Object.o OutputDev.o Page.o Params.o \ - Parser.o PDFDoc.o TextOutputDev.o Stream.o XRef.o pdftotext.o -PDFTOTEXT_LIBS = -L$(GOOLIBDIR) -lGoo $(OTHERLIBS) -lm - -pdftotext$(EXE): $(PDFTOTEXT_OBJS) - $(CXX) $(CXXFLAGS) -o pdftotext$(EXE) $(PDFTOTEXT_OBJS) \ - $(PDFTOTEXT_LIBS) - $(STRIP) pdftotext$(EXE) - -#------------------------------------------------------------------------ - -PDFINFO_OBJS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \ - GfxState.o Lexer.o Link.o Object.o OutputDev.o Page.o \ - Params.o Parser.o PDFDoc.o Stream.o XRef.o pdfinfo.o -PDFINFO_LIBS = -L$(GOOLIBDIR) -lGoo $(OTHERLIBS) -lm - -pdfinfo$(EXE): $(PDFINFO_OBJS) - $(CXX) $(CXXFLAGS) -o pdfinfo$(EXE) $(PDFINFO_OBJS) $(PDFINFO_LIBS) - $(STRIP) pdfinfo$(EXE) - -#------------------------------------------------------------------------ - -PDFTOPBM_OBJS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \ - GfxState.o Lexer.o Link.o Object.o OutputDev.o PBMOutputDev.o \ - Page.o Params.o Parser.o PDFDoc.o Stream.o TextOutputDev.o \ - XOutputDev.o XRef.o pdftopbm.o -PDFTOPBM_LIBS = -L$(GOOLIBDIR) -lGoo $(XLIBS) $(OTHERLIBS) -lm - -pdftopbm$(EXE): $(PDFTOPBM_OBJS) - $(CXX) $(CXXFLAGS) -o pdftopbm$(EXE) $(PDFTOPBM_OBJS) $(PDFTOPBM_LIBS) - $(STRIP) pdftopbm$(EXE) - -#------------------------------------------------------------------------ - -PDFIMAGES_OBJS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \ - GfxState.o ImageOutputDev.o Lexer.o Link.o Object.o OutputDev.o \ - Page.o Params.o Parser.o PDFDoc.o Stream.o XRef.o pdfimages.o -PDFIMAGES_LIBS = -L$(GOOLIBDIR) -lGoo $(OTHERLIBS) -lm - -pdfimages$(EXE): $(PDFIMAGES_OBJS) - $(CXX) $(CXXFLAGS) -o pdfimages$(EXE) $(PDFIMAGES_OBJS) \ - $(PDFIMAGES_LIBS) - $(STRIP) pdfimages$(EXE) - -#------------------------------------------------------------------------ - -clean: - rm -f $(XPDF_OBJS) xpdf-ltk.h.new xpdf$(EXE) - rm -f $(PDFTOPS_OBJS) pdftops$(EXE) - rm -f $(PDFTOTEXT_OBJS) pdftotext$(EXE) - rm -f $(PDFINFO_OBJS) pdfinfo$(EXE) - rm -f $(PDFTOPBM_OBJS) pdftopbm$(EXE) - rm -f $(PDFIMAGES_OBJS) pdfimages$(EXE) - -#------------------------------------------------------------------------ - -distdepend: - cp Makefile.in Makefile.in.bak - sed '/^#----- dependences -----/q' Makefile.in.bak >Makefile.in - $(CXX) $(CXXFLAGS) -MM $(CXX_SRC) >>Makefile.in - -#----- dependences ----- -Array.o: ./Array.cc ../goo/gmem.h Object.h ../goo/gtypes.h \ - ../goo/GString.h Array.h Dict.h Stream.h -Catalog.o: ./Catalog.cc ../goo/gmem.h Object.h ../goo/gtypes.h \ - ../goo/GString.h Array.h Dict.h Stream.h Page.h Error.h config.h \ - Link.h Catalog.h -Dict.o: ./Dict.cc ../goo/gmem.h Object.h ../goo/gtypes.h \ - ../goo/GString.h Array.h Dict.h Stream.h XRef.h -Error.o: ./Error.cc ../goo/gtypes.h Params.h Error.h config.h -Gfx.o: ./Gfx.cc ../goo/gmem.h Object.h ../goo/gtypes.h \ - ../goo/GString.h Array.h Dict.h Stream.h Lexer.h Parser.h GfxFont.h \ - GfxState.h OutputDev.h Params.h Error.h config.h Gfx.h -GfxFont.o: ./GfxFont.cc ../goo/GString.h ../goo/gmem.h ../goo/gfile.h \ - ../goo/gtypes.h config.h Object.h Array.h Dict.h Stream.h Error.h \ - Params.h GfxFont.h FontInfo.h -GfxState.o: ./GfxState.cc ../goo/gmem.h Error.h config.h Object.h \ - ../goo/gtypes.h ../goo/GString.h Array.h Dict.h Stream.h GfxState.h -ImageOutputDev.o: ./ImageOutputDev.cc ../goo/gmem.h config.h Error.h \ - GfxState.h ../goo/gtypes.h Object.h ../goo/GString.h Array.h Dict.h \ - Stream.h ImageOutputDev.h OutputDev.h -Lexer.o: ./Lexer.cc Lexer.h Object.h ../goo/gtypes.h ../goo/gmem.h \ - ../goo/GString.h Array.h Dict.h Stream.h Error.h config.h -Link.o: ./Link.cc ../goo/gmem.h ../goo/GString.h Error.h config.h \ - Object.h ../goo/gtypes.h Array.h Dict.h Stream.h Link.h -LTKOutputDev.o: ./LTKOutputDev.cc ../goo/gmem.h ../goo/GString.h \ - ../ltk/LTKWindow.h ../goo/gtypes.h ../ltk/LTKScrollingCanvas.h \ - ../ltk/LTKWidget.h Object.h Array.h Dict.h Stream.h GfxState.h \ - GfxFont.h Error.h config.h Params.h LTKOutputDev.h XOutputDev.h \ - OutputDev.h -Object.o: ./Object.cc Object.h ../goo/gtypes.h ../goo/gmem.h \ - ../goo/GString.h Array.h Dict.h Stream.h Error.h config.h XRef.h -OutputDev.o: ./OutputDev.cc Object.h ../goo/gtypes.h ../goo/gmem.h \ - ../goo/GString.h Array.h Dict.h Stream.h GfxState.h OutputDev.h -Page.o: ./Page.cc Object.h ../goo/gtypes.h ../goo/gmem.h \ - ../goo/GString.h Array.h Dict.h Stream.h XRef.h OutputDev.h Gfx.h \ - Error.h config.h Params.h Page.h -Params.o: ./Params.cc ../goo/gtypes.h ../goo/gmem.h ../goo/GString.h \ - ../goo/gfile.h Params.h -Parser.o: ./Parser.cc Object.h ../goo/gtypes.h ../goo/gmem.h \ - ../goo/GString.h Array.h Dict.h Stream.h Parser.h Lexer.h Error.h \ - config.h -PBMOutputDev.o: ./PBMOutputDev.cc ../goo/gmem.h ../goo/GString.h \ - Object.h ../goo/gtypes.h Array.h Dict.h Stream.h GfxState.h GfxFont.h \ - Error.h config.h Params.h PBMOutputDev.h XOutputDev.h OutputDev.h -PDFDoc.o: ./PDFDoc.cc ../goo/GString.h config.h Page.h Object.h \ - ../goo/gtypes.h ../goo/gmem.h Array.h Dict.h Stream.h Catalog.h \ - XRef.h Link.h OutputDev.h Params.h Error.h PDFDoc.h -PSOutputDev.o: ./PSOutputDev.cc ../goo/GString.h config.h Object.h \ - ../goo/gtypes.h ../goo/gmem.h Array.h Dict.h Stream.h Error.h \ - GfxState.h GfxFont.h Catalog.h Page.h PSOutputDev.h OutputDev.h -Stream.o: ./Stream.cc ../goo/gmem.h config.h Error.h Object.h \ - ../goo/gtypes.h ../goo/GString.h Array.h Dict.h Stream.h \ - Stream-CCITT.h -TextOutputDev.o: ./TextOutputDev.cc ../goo/GString.h ../goo/gmem.h \ - config.h Error.h GfxState.h ../goo/gtypes.h GfxFont.h Object.h \ - Array.h Dict.h Stream.h TextOutputDev.h OutputDev.h \ - TextOutputFontInfo.h -XOutputDev.o: ./XOutputDev.cc ../goo/gmem.h ../goo/GString.h Object.h \ - ../goo/gtypes.h Array.h Dict.h Stream.h GfxState.h GfxFont.h Error.h \ - config.h Params.h TextOutputDev.h OutputDev.h XOutputDev.h \ - XOutputFontInfo.h -XRef.o: ./XRef.cc ../goo/gmem.h Object.h ../goo/gtypes.h \ - ../goo/GString.h Array.h Dict.h Stream.h Lexer.h Parser.h Error.h \ - config.h XRef.h -xpdf.o: ./xpdf.cc ../goo/gtypes.h ../goo/GString.h ../goo/parseargs.h \ - ../goo/gfile.h ../goo/gmem.h ../ltk/LTKAll.h ../ltk/LTKApp.h \ - ../ltk/LTKWindow.h ../ltk/LTKMenu.h ../ltk/LTKWidget.h \ - ../ltk/LTKCompoundWidget.h ../ltk/LTKBox.h ../ltk/LTKBorder.h \ - ../ltk/LTKButtonDialog.h ../ltk/LTKButton.h ../ltk/LTKCanvas.h \ - ../ltk/LTKDblBufCanvas.h ../ltk/LTKEmpty.h ../ltk/LTKFileReq.h \ - ../ltk/LTKLabel.h ../ltk/LTKList.h ../ltk/LTKScrollbar.h \ - ../ltk/LTKScrollingCanvas.h ../ltk/LTKTextIn.h ../ltk/LTKResources.h \ - Object.h Array.h Dict.h Stream.h XRef.h Catalog.h Page.h Link.h \ - PDFDoc.h XOutputDev.h config.h OutputDev.h LTKOutputDev.h \ - PSOutputDev.h TextOutputDev.h Params.h Error.h xpdfIcon.xpm \ - leftArrow.xbm dblLeftArrow.xbm rightArrow.xbm dblRightArrow.xbm \ - zoomIn.xbm zoomOut.xbm find.xbm postscript.xbm about.xbm xpdf-ltk.h -pdftops.o: ./pdftops.cc ../goo/parseargs.h ../goo/gtypes.h \ - ../goo/GString.h ../goo/gmem.h Object.h Array.h Dict.h Stream.h \ - XRef.h Catalog.h Page.h PDFDoc.h Link.h PSOutputDev.h config.h \ - OutputDev.h Params.h Error.h -pdftotext.o: ./pdftotext.cc ../goo/parseargs.h ../goo/gtypes.h \ - ../goo/GString.h ../goo/gmem.h Object.h Array.h Dict.h Stream.h \ - XRef.h Catalog.h Page.h PDFDoc.h Link.h TextOutputDev.h OutputDev.h \ - Params.h Error.h config.h -pdfinfo.o: ./pdfinfo.cc ../goo/parseargs.h ../goo/gtypes.h \ - ../goo/GString.h ../goo/gmem.h Object.h Array.h Dict.h Stream.h \ - XRef.h Catalog.h Page.h PDFDoc.h Link.h Params.h Error.h config.h -pdftopbm.o: ./pdftopbm.cc ../goo/parseargs.h ../goo/gtypes.h \ - ../goo/GString.h ../goo/gmem.h Object.h Array.h Dict.h Stream.h \ - XRef.h Catalog.h Page.h PDFDoc.h Link.h PBMOutputDev.h config.h \ - XOutputDev.h OutputDev.h Params.h Error.h -pdfimages.o: ./pdfimages.cc ../goo/parseargs.h ../goo/gtypes.h \ - ../goo/GString.h ../goo/gmem.h Object.h Array.h Dict.h Stream.h \ - XRef.h Catalog.h Page.h PDFDoc.h Link.h ImageOutputDev.h OutputDev.h \ - Params.h Error.h config.h +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: