]> www.fi.muni.cz Git - evince.git/commitdiff
Added Automake setup -miguel
authorArturo Espinosa <unammx@src.gnome.org>
Wed, 4 Aug 1999 00:48:23 +0000 (00:48 +0000)
committerArturo Espinosa <unammx@src.gnome.org>
Wed, 4 Aug 1999 00:48:23 +0000 (00:48 +0000)
pdf/goo/Makefile.am [new file with mode: 0644]
pdf/goo/Makefile.in
pdf/xpdf/Makefile.am [new file with mode: 0644]
pdf/xpdf/Makefile.in
pdf/xpdf/gpdf.cc

diff --git a/pdf/goo/Makefile.am b/pdf/goo/Makefile.am
new file mode 100644 (file)
index 0000000..a80aaef
--- /dev/null
@@ -0,0 +1,20 @@
+lib_LIBRARIES = libgoo.a
+
+libgoo_a_SOURCES =     \
+       GString.cc      \
+       gmempp.cc       \
+       gfile.cc        \
+       gmem.c          \
+       parseargs.c     \
+       GString.h       \
+       gfile.h         \
+       gmem.h          \
+       gtypes.h        \
+       parseargs.h
+       
+EXTRA_DIST =           \
+       vms_dirent.h    \
+       vms_sys_dirent.h\
+       vms_unix_time.h \
+       makefile.w32    \
+       vms_make.com
\ No newline at end of file
index d50866d2dc4cb09ee4c849e7514d399b60f0fb48..45e1cdfdc62267b407c0cde2a1f8c55e79f12b07 100644 (file)
-#========================================================================
-#
-# Goo library Makefile
-#
-# Copyright 1996 Derek B. Noonburg
-#
-#========================================================================
+# Makefile.in generated automatically by automake 1.4 from Makefile.am
+
+# 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.
+
+# 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.
+
+
+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@
 
-CFLAGS = @CFLAGS@ @DEFS@ @OPTIONS@ -I$(srcdir)
-CXXFLAGS = @CXXFLAGS@ @DEFS@ @OPTIONS@ -I$(srcdir)
+INSTALL = @INSTALL@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+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@
-AR = @AR@
+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@
+VERSION = @VERSION@
+XPM_LIBS = @XPM_LIBS@
+YACC = @YACC@
+ZVT_LIBS = @ZVT_LIBS@
+cflags_set = @cflags_set@
+cxxflags_set = @cxxflags_set@
 
-LIBPREFIX = @LIBPREFIX@
+lib_LIBRARIES = libgoo.a
+
+libgoo_a_SOURCES =     GString.cc              gmempp.cc               gfile.cc                gmem.c                  parseargs.c             GString.h               gfile.h                 gmem.h                  gtypes.h                parseargs.h
+
+
+EXTRA_DIST =   vms_dirent.h            vms_sys_dirent.h        vms_unix_time.h         makefile.w32            vms_make.com
+
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_CLEAN_FILES = 
+LIBRARIES =  $(lib_LIBRARIES)
+
+
+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@
+libgoo_a_LIBADD = 
+libgoo_a_OBJECTS =  GString.o gmempp.o gfile.o gmem.o parseargs.o
+AR = ar
+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 $@
+DIST_COMMON =  Makefile.am Makefile.in
+
+
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
+
+TAR = tar
+GZIP_ENV = --best
+DEP_FILES =  .deps/GString.P .deps/gfile.P .deps/gmem.P .deps/gmempp.P \
+.deps/parseargs.P
+SOURCES = $(libgoo_a_SOURCES)
+OBJECTS = $(libgoo_a_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 goo/Makefile
+
+Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
+       cd $(top_builddir) \
+         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
+
+
+mostlyclean-libLIBRARIES:
+
+clean-libLIBRARIES:
+       -test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
+
+distclean-libLIBRARIES:
+
+maintainer-clean-libLIBRARIES:
+
+install-libLIBRARIES: $(lib_LIBRARIES)
+       @$(NORMAL_INSTALL)
+       $(mkinstalldirs) $(DESTDIR)$(libdir)
+       @list='$(lib_LIBRARIES)'; for p in $$list; do \
+         if test -f $$p; then \
+           echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \
+           $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \
+         else :; fi; \
+       done
+       @$(POST_INSTALL)
+       @list='$(lib_LIBRARIES)'; for p in $$list; do \
+         if test -f $$p; then \
+           echo " $(RANLIB) $(DESTDIR)$(libdir)/$$p"; \
+           $(RANLIB) $(DESTDIR)$(libdir)/$$p; \
+         else :; fi; \
+       done
+
+uninstall-libLIBRARIES:
+       @$(NORMAL_UNINSTALL)
+       list='$(lib_LIBRARIES)'; for p in $$list; do \
+         rm -f $(DESTDIR)$(libdir)/$$p; \
+       done
+
+.s.o:
+       $(COMPILE) -c $<
+
+.S.o:
+       $(COMPILE) -c $<
+
+mostlyclean-compile:
+       -rm -f *.o core *.core
+
+clean-compile:
 
-#------------------------------------------------------------------------
+distclean-compile:
+       -rm -f *.tab.c
 
-.SUFFIXES: .cc
+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:
+
+libgoo.a: $(libgoo_a_OBJECTS) $(libgoo_a_DEPENDENCIES)
+       -rm -f libgoo.a
+       $(AR) cru libgoo.a $(libgoo_a_OBJECTS) $(libgoo_a_LIBADD)
+       $(RANLIB) libgoo.a
 .cc.o:
-       $(CXX) $(CXXFLAGS) -c $<
+       $(CXXCOMPILE) -c $<
+.cc.lo:
+       $(LTCXXCOMPILE) -c $<
+
+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 = goo
+
+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 goo/Makefile
+       @for file in $(DISTFILES); do \
+         d=$(srcdir); \
+         if test -d $$d/$$file; then \
+           cp -pr $$/$$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-libLIBRARIES
+install-exec: install-exec-am
+
+install-data-am:
+install-data: install-data-am
+
+install-am: all-am
+       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+install: install-am
+uninstall-am: uninstall-libLIBRARIES
+uninstall: uninstall-am
+all-am: Makefile $(LIBRARIES)
+all-redirect: all-am
+install-strip:
+       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+installdirs:
+       $(mkinstalldirs)  $(DESTDIR)$(libdir)
+
+
+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-libLIBRARIES mostlyclean-compile \
+               mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
+               mostlyclean-generic
 
-CXX_SRC = \
-       $(srcdir)/GString.cc \
-       $(srcdir)/gmempp.cc \
-       $(srcdir)/gfile.cc
+mostlyclean: mostlyclean-am
 
-C_SRC = \
-       $(srcdir)/gmem.c \
-       $(srcdir)/parseargs.c
+clean-am:  clean-libLIBRARIES clean-compile clean-libtool clean-tags \
+               clean-depend clean-generic mostlyclean-am
 
-#------------------------------------------------------------------------
+clean: clean-am
 
-GOO_CXX_OBJS = GString.o gmempp.o gfile.o
-GOO_C_OBJS = gmem.o parseargs.o
-GOO_OBJS = $(GOO_CXX_OBJS) $(GOO_C_OBJS)
+distclean-am:  distclean-libLIBRARIES distclean-compile \
+               distclean-libtool distclean-tags distclean-depend \
+               distclean-generic clean-am
+       -rm -f libtool
 
-$(LIBPREFIX)Goo.a: $(GOO_OBJS)
-       rm -f $(LIBPREFIX)Goo.a
-       $(AR) $(LIBPREFIX)Goo.a $(GOO_OBJS)
-       $(RANLIB) $(LIBPREFIX)Goo.a
+distclean: distclean-am
 
-#------------------------------------------------------------------------
+maintainer-clean-am:  maintainer-clean-libLIBRARIES \
+               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."
 
-clean:
-       rm -f $(GOO_OBJS) $(LIBPREFIX)Goo.a
+maintainer-clean: maintainer-clean-am
 
-#------------------------------------------------------------------------
+.PHONY: mostlyclean-libLIBRARIES distclean-libLIBRARIES \
+clean-libLIBRARIES maintainer-clean-libLIBRARIES uninstall-libLIBRARIES \
+install-libLIBRARIES mostlyclean-compile distclean-compile \
+clean-compile maintainer-clean-compile mostlyclean-libtool \
+distclean-libtool clean-libtool maintainer-clean-libtool 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
 
-distdepend:
-       cp Makefile.in Makefile.in.bak
-       sed '/^#----- dependences -----/q' Makefile.in.bak >Makefile.in
-       $(CXX) $(CXXFLAGS) -MM $(CXX_SRC) >>Makefile.in
-       $(CC) $(CFLAGS) -MM $(C_SRC) >>Makefile.in
 
-#----- dependences -----
-GString.o: ./GString.cc GString.h
-gmempp.o: ./gmempp.cc gmem.h
-gfile.o: ./gfile.cc GString.h gfile.h gtypes.h
-gmem.o: ./gmem.c gmem.h
-parseargs.o: ./parseargs.c parseargs.h gtypes.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:
diff --git a/pdf/xpdf/Makefile.am b/pdf/xpdf/Makefile.am
new file mode 100644 (file)
index 0000000..1d8534c
--- /dev/null
@@ -0,0 +1,107 @@
+
+INCLUDES =     \
+       -I$(top_srcdir)/goo     \
+       -I$(top_srcdir)/ltk     \
+       -DGPDF_GLADE_DIR=\""$(gladedir)"\"      \
+       $(EXTRA_GNOME_CFLAGS)
+       
+if WITH_GNOME
+gui = gpdf
+else
+gui = xpdf
+endif
+       
+bin_PROGRAMS = pdftops pdftotext pdfinfo pdftopbm pdfimages $(gui)
+
+common_sources =                       \
+       Array.cc                \
+       Catalog.cc              \
+       Dict.cc                 \
+       Error.cc                \
+       Gfx.cc                  \
+       GfxFont.cc              \
+       GfxState.cc             \
+       Lexer.cc                \
+       Link.cc                 \
+       Object.cc               \
+       OutputDev.cc            \
+       Page.cc                 \
+       Params.cc               \
+       Parser.cc               \
+       PDFDoc.cc               \
+       Stream.cc               \
+       XRef.cc
+
+gpdf_CFLAGS = 
+
+gpdf_SOURCES =                         \
+       $(common_sources)       \
+       TextOutputDev.cc        \
+       GOutputDev.cc           \
+       gpdf.cc
+
+gpdf_LDADD =                   \
+       $(EXTRA_GNOME_LIBS)     \
+       ../goo/libgoo.a
+
+xpdf_SOURCES =                 \
+       $(common_sources)       \
+       XOutputDev.cc
+       xpdf.cc
+
+xpdf_CFLAGS = $(X_CFLAGS)
+xpdf_LDADD = ../goo/libgoo.a ../ltk/libltk.a $(X_EXTRA_LIBS)
+
+pdfimages_SOURCES =            \
+       $(common_sources)       \
+       ImageOutputDev.cc       \
+       pdfimages.cc
+
+pdftops_SOURCES =              \
+       $(common_sources)       \
+       PSOutputDev.cc          \
+       pdftops.cc
+
+pdftotext_SOURCES =            \
+       $(common_sources)       \
+       TextOutputDev.cc        \
+       pdftotext.cc
+
+pdfinfo_SOURCES =              \
+       $(common_sources)       \
+       pdfinfo.cc
+
+pdftopbm_SOURCES =             \
+       $(common_sources)       \
+       XOutputDev.cc           \
+       pdftopbm.cc
+
+xpdf-ltk.h: xpdf.ltk
+       rm -f $@
+       $(LTKLIBDIR)/ltkbuild <xpdf.ltk >$@.new
+       mv $@.new $@
+
+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
+
+EXTRA_DIST = $(bitmaps) ChangeLog $(ltk) $(glade_DATA)
index f15f26ea7a3d543a45f83f1ed728c3f89a425f25..0175773b18756fdcbef80506deefa117585e8fd2 100644 (file)
-#========================================================================
-#
-# Xpdf Makefile
-#
-# Copyright 1996 Derek B. Noonburg
-#
-#========================================================================
+# Makefile.in generated automatically by automake 1.4 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) -I$(LTKSRCDIR) -Wall -g `gnome-config --cflags gnomeui` -I$(srcdir) @Xpm_CFLAGS@ @X_CFLAGS@
-XLIBS = @Xpm_LIBS@ @X_PRE_LIBS@ @X_LIBS@ -lX11 @X_EXTRA_LIBS@
 
-OTHERLIBS = @LIBS@ -lglade -lglade-gnome
+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@ $(AM_INSTALL_PROGRAM_FLAGS)
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+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@
+VERSION = @VERSION@
+XPM_LIBS = @XPM_LIBS@
+YACC = @YACC@
+ZVT_LIBS = @ZVT_LIBS@
+cflags_set = @cflags_set@
+cxxflags_set = @cxxflags_set@
 
-LIBPREFIX = @LIBPREFIX@
-EXE = @EXE@
+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)
+
+common_sources =       Array.cc                        Catalog.cc                      Dict.cc                         Error.cc                        Gfx.cc                          GfxFont.cc                      GfxState.cc                     Lexer.cc                        Link.cc                         Object.cc                       OutputDev.cc                    Page.cc                         Params.cc                       Parser.cc                       PDFDoc.cc                       Stream.cc                       XRef.cc
+
+
+gpdf_CFLAGS = 
+
+gpdf_SOURCES =         $(common_sources)               TextOutputDev.cc                GOutputDev.cc                   gpdf.cc
+
+
+gpdf_LDADD =   $(EXTRA_GNOME_LIBS)             ../goo/libgoo.a
+
+
+xpdf_SOURCES =         $(common_sources)               XOutputDev.cc
+
+
+xpdf_CFLAGS = $(X_CFLAGS)
+xpdf_LDADD = ../goo/libgoo.a ../ltk/libltk.a $(X_EXTRA_LIBS)
+
+pdfimages_SOURCES =    $(common_sources)               ImageOutputDev.cc               pdfimages.cc
+
+
+pdftops_SOURCES =      $(common_sources)               PSOutputDev.cc                  pdftops.cc
+
+
+pdftotext_SOURCES =    $(common_sources)               TextOutputDev.cc                pdftotext.cc
+
+
+pdfinfo_SOURCES =      $(common_sources)               pdfinfo.cc
+
+
+pdftopbm_SOURCES =     $(common_sources)               XOutputDev.cc                   pdftopbm.cc
+
+
+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
+
+
+EXTRA_DIST = $(bitmaps) ChangeLog $(ltk) $(glade_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 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 PSOutputDev.o pdftops.o
+pdftops_LDADD = $(LDADD)
+pdftops_DEPENDENCIES = 
+pdftops_LDFLAGS = 
+pdftotext_OBJECTS =  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 TextOutputDev.o pdftotext.o
+pdftotext_LDADD = $(LDADD)
+pdftotext_DEPENDENCIES = 
+pdftotext_LDFLAGS = 
+pdfinfo_OBJECTS =  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_LDADD = $(LDADD)
+pdfinfo_DEPENDENCIES = 
+pdfinfo_LDFLAGS = 
+pdftopbm_OBJECTS =  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 XOutputDev.o pdftopbm.o
+pdftopbm_LDADD = $(LDADD)
+pdftopbm_DEPENDENCIES = 
+pdftopbm_LDFLAGS = 
+pdfimages_OBJECTS =  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 ImageOutputDev.o pdfimages.o
+pdfimages_LDADD = $(LDADD)
+pdfimages_DEPENDENCIES = 
+pdfimages_LDFLAGS = 
+gpdf_OBJECTS =  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 TextOutputDev.o GOutputDev.o gpdf.o
+gpdf_DEPENDENCIES =  ../goo/libgoo.a
+gpdf_LDFLAGS = 
+xpdf_OBJECTS =  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 XOutputDev.o
+xpdf_DEPENDENCIES =  ../goo/libgoo.a ../ltk/libltk.a
+xpdf_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 $@
+DATA =  $(glade_DATA)
+
+DIST_COMMON =  ChangeLog Makefile.am Makefile.in
+
+
+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
+
+TAR = tar
+GZIP_ENV = --best
+DEP_FILES =  .deps/Array.P .deps/Catalog.P .deps/Dict.P .deps/Error.P \
+.deps/GOutputDev.P .deps/Gfx.P .deps/GfxFont.P .deps/GfxState.P \
+.deps/ImageOutputDev.P .deps/Lexer.P .deps/Link.P .deps/Object.P \
+.deps/OutputDev.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/gpdf.P .deps/pdfimages.P \
+.deps/pdfinfo.P .deps/pdftopbm.P .deps/pdftops.P .deps/pdftotext.P
+SOURCES = $(pdftops_SOURCES) $(pdftotext_SOURCES) $(pdfinfo_SOURCES) $(pdftopbm_SOURCES) $(pdfimages_SOURCES) $(gpdf_SOURCES) $(xpdf_SOURCES)
+OBJECTS = $(pdftops_OBJECTS) $(pdftotext_OBJECTS) $(pdfinfo_OBJECTS) $(pdftopbm_OBJECTS) $(pdfimages_OBJECTS) $(gpdf_OBJECTS) $(xpdf_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) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
+           $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$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)
 
-.SUFFIXES: .cc
+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)
 .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 xpdf
-
-#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 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
+
+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 $$/$$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-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: uninstall-am
+all-am: Makefile $(PROGRAMS) $(DATA)
+all-redirect: all-am
+install-strip:
+       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
+installdirs:
+       $(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(gladedir)
+
+
+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 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.cc
 
 xpdf-ltk.h: xpdf.ltk
        rm -f $@
        $(LTKLIBDIR)/ltkbuild <xpdf.ltk >$@.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:
index bba767ee7a5d857924d7c157637ea73298b1061d..21ffb7f71ef2536f78ea9f9ae0dde621bca0e9e3 100644 (file)
@@ -37,8 +37,6 @@
 #include "Error.h"
 #include "config.h"
 
-#define GPDF_GLADE_DIR "/opt/gnome/src/xpdf/xpdf"
-
 GBool printCommands = gFalse;
 gint  gpdf_debug=1;
 poptContext ctx;