1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 top_srcdir = @top_srcdir@
20 exec_prefix = @exec_prefix@
24 libexecdir = @libexecdir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
46 AUTOHEADER = @AUTOHEADER@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
60 host_alias = @host_alias@
67 EXTRA_GNOME_CFLAGS = @EXTRA_GNOME_CFLAGS@
68 EXTRA_GNOME_LIBS = @EXTRA_GNOME_LIBS@
69 GNOMEGNORBA_LIBS = @GNOMEGNORBA_LIBS@
70 GNOMEUI_LIBS = @GNOMEUI_LIBS@
71 GNOME_APPLETS_LIBS = @GNOME_APPLETS_LIBS@
72 GNOME_CAPPLET_LIBS = @GNOME_CAPPLET_LIBS@
73 GNOME_CONFIG = @GNOME_CONFIG@
74 GNOME_INCLUDEDIR = @GNOME_INCLUDEDIR@
75 GNOME_LIBDIR = @GNOME_LIBDIR@
76 GNOME_LIBS = @GNOME_LIBS@
77 GNORBA_CFLAGS = @GNORBA_CFLAGS@
78 GNORBA_LIBS = @GNORBA_LIBS@
79 GTKXMHTML_LIBS = @GTKXMHTML_LIBS@
80 GTK_CFLAGS = @GTK_CFLAGS@
81 GTK_CONFIG = @GTK_CONFIG@
84 LIBPREFIX = @LIBPREFIX@
91 ORBIT_CFLAGS = @ORBIT_CFLAGS@
92 ORBIT_CONFIG = @ORBIT_CONFIG@
93 ORBIT_IDL = @ORBIT_IDL@
94 ORBIT_LIBS = @ORBIT_LIBS@
96 PTHREAD_LIB = @PTHREAD_LIB@
100 XPM_LIBS = @XPM_LIBS@
102 ZVT_LIBS = @ZVT_LIBS@
103 cflags_set = @cflags_set@
104 cxxflags_set = @cxxflags_set@
106 INCLUDES = -I$(top_srcdir)/goo -I$(top_srcdir)/ltk -DGPDF_GLADE_DIR=\""$(gladedir)"\" $(EXTRA_GNOME_CFLAGS)
108 @WITH_GNOME_TRUE@gui = gpdf
109 @WITH_GNOME_FALSE@gui = xpdf
111 bin_PROGRAMS = pdftops pdftotext pdfinfo pdftopbm pdfimages $(gui)
113 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 TextOutputDev.cc XRef.cc
118 gpdf_SOURCES = $(common_sources) GOutputDev.cc gpdf.cc
121 gpdf_LDADD = $(EXTRA_GNOME_LIBS) ../goo/libgoo.a
124 xpdf_SOURCES = $(common_sources) XOutputDev.cc LTKOutputDev.cc PSOutputDev.cc xpdf.cc
127 xpdf_CFLAGS = $(X_CFLAGS)
128 xpdf_LDADD = ../goo/libgoo.a ../ltk/libltk.a -lXpm $(EXTRA_GNOME_LIBS)
130 pdfimages_SOURCES = $(common_sources) ImageOutputDev.cc pdfimages.cc
133 pdfimages_LDADD = ../goo/libgoo.a
135 pdftops_SOURCES = $(common_sources) PSOutputDev.cc pdftops.cc
137 pdftops_LDADD = ../goo/libgoo.a
139 pdftotext_SOURCES = $(common_sources) pdftotext.cc
141 pdftotext_LDADD = ../goo/libgoo.a
143 pdfinfo_SOURCES = $(common_sources) pdfinfo.cc
145 pdfinfo_LDADD = ../goo/libgoo.a
147 pdftopbm_SOURCES = $(common_sources) PBMOutputDev.cc XOutputDev.cc pdftopbm.cc
150 pdftopbm_LDADD = ../goo/libgoo.a $(EXTRA_GNOME_LIBS)
152 bitmaps = about.xbm dblLeftArrow.xbm dblRightArrow.xbm find.xbm leftArrow.xbm postscript.xbm rightArrow.xbm xpdfIcon.xpm zoomIn.xbm zoomOut.xbm
155 ltk = xpdf-flip.ltk xpdf-top.ltk xpdf.ltk
158 gladedir = $(datadir)/xpdf/glade
160 glade_DATA = about.glade gpdf.glade
163 EXTRA_DIST = $(bitmaps) ChangeLog $(ltk) $(glade_DATA)
164 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
166 PROGRAMS = $(bin_PROGRAMS)
169 DEFS = @DEFS@ -I. -I$(srcdir)
170 CPPFLAGS = @CPPFLAGS@
173 X_CFLAGS = @X_CFLAGS@
175 X_EXTRA_LIBS = @X_EXTRA_LIBS@
176 X_PRE_LIBS = @X_PRE_LIBS@
177 pdftops_OBJECTS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
178 GfxState.o Lexer.o Link.o Object.o OutputDev.o Page.o Params.o Parser.o \
179 PDFDoc.o Stream.o TextOutputDev.o XRef.o PSOutputDev.o pdftops.o
180 pdftops_DEPENDENCIES = ../goo/libgoo.a
182 pdftotext_OBJECTS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
183 GfxState.o Lexer.o Link.o Object.o OutputDev.o Page.o Params.o Parser.o \
184 PDFDoc.o Stream.o TextOutputDev.o XRef.o pdftotext.o
185 pdftotext_DEPENDENCIES = ../goo/libgoo.a
187 pdfinfo_OBJECTS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
188 GfxState.o Lexer.o Link.o Object.o OutputDev.o Page.o Params.o Parser.o \
189 PDFDoc.o Stream.o TextOutputDev.o XRef.o pdfinfo.o
190 pdfinfo_DEPENDENCIES = ../goo/libgoo.a
192 pdftopbm_OBJECTS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
193 GfxState.o Lexer.o Link.o Object.o OutputDev.o Page.o Params.o Parser.o \
194 PDFDoc.o Stream.o TextOutputDev.o XRef.o PBMOutputDev.o XOutputDev.o \
196 pdftopbm_DEPENDENCIES = ../goo/libgoo.a
198 pdfimages_OBJECTS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
199 GfxState.o Lexer.o Link.o Object.o OutputDev.o Page.o Params.o Parser.o \
200 PDFDoc.o Stream.o TextOutputDev.o XRef.o ImageOutputDev.o pdfimages.o
201 pdfimages_DEPENDENCIES = ../goo/libgoo.a
203 gpdf_OBJECTS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
204 GfxState.o Lexer.o Link.o Object.o OutputDev.o Page.o Params.o Parser.o \
205 PDFDoc.o Stream.o TextOutputDev.o XRef.o GOutputDev.o gpdf.o
206 gpdf_DEPENDENCIES = ../goo/libgoo.a
208 xpdf_OBJECTS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
209 GfxState.o Lexer.o Link.o Object.o OutputDev.o Page.o Params.o Parser.o \
210 PDFDoc.o Stream.o TextOutputDev.o XRef.o XOutputDev.o LTKOutputDev.o \
212 xpdf_DEPENDENCIES = ../goo/libgoo.a ../ltk/libltk.a
214 CXXFLAGS = @CXXFLAGS@
215 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
216 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
218 CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
221 DIST_COMMON = ChangeLog Makefile.am Makefile.in
224 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
228 DEP_FILES = .deps/Array.P .deps/Catalog.P .deps/Dict.P .deps/Error.P \
229 .deps/GOutputDev.P .deps/Gfx.P .deps/GfxFont.P .deps/GfxState.P \
230 .deps/ImageOutputDev.P .deps/LTKOutputDev.P .deps/Lexer.P .deps/Link.P \
231 .deps/Object.P .deps/OutputDev.P .deps/PBMOutputDev.P .deps/PDFDoc.P \
232 .deps/PSOutputDev.P .deps/Page.P .deps/Params.P .deps/Parser.P \
233 .deps/Stream.P .deps/TextOutputDev.P .deps/XOutputDev.P .deps/XRef.P \
234 .deps/gpdf.P .deps/pdfimages.P .deps/pdfinfo.P .deps/pdftopbm.P \
235 .deps/pdftops.P .deps/pdftotext.P .deps/xpdf.P
236 SOURCES = $(pdftops_SOURCES) $(pdftotext_SOURCES) $(pdfinfo_SOURCES) $(pdftopbm_SOURCES) $(pdfimages_SOURCES) $(gpdf_SOURCES) $(xpdf_SOURCES)
237 OBJECTS = $(pdftops_OBJECTS) $(pdftotext_OBJECTS) $(pdfinfo_OBJECTS) $(pdftopbm_OBJECTS) $(pdfimages_OBJECTS) $(gpdf_OBJECTS) $(xpdf_OBJECTS)
241 .SUFFIXES: .S .c .cc .lo .o .s
242 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
243 cd $(top_srcdir) && $(AUTOMAKE) --gnu xpdf/Makefile
245 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
247 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
250 mostlyclean-binPROGRAMS:
253 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
255 distclean-binPROGRAMS:
257 maintainer-clean-binPROGRAMS:
259 install-binPROGRAMS: $(bin_PROGRAMS)
261 $(mkinstalldirs) $(DESTDIR)$(bindir)
262 @list='$(bin_PROGRAMS)'; for p in $$list; do \
263 if test -f $$p; then \
264 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
265 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
269 uninstall-binPROGRAMS:
271 list='$(bin_PROGRAMS)'; for p in $$list; do \
272 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
282 -rm -f *.o core *.core
289 maintainer-clean-compile:
292 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
295 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
305 maintainer-clean-libtool:
307 pdftops: $(pdftops_OBJECTS) $(pdftops_DEPENDENCIES)
309 $(CXXLINK) $(pdftops_LDFLAGS) $(pdftops_OBJECTS) $(pdftops_LDADD) $(LIBS)
311 pdftotext: $(pdftotext_OBJECTS) $(pdftotext_DEPENDENCIES)
313 $(CXXLINK) $(pdftotext_LDFLAGS) $(pdftotext_OBJECTS) $(pdftotext_LDADD) $(LIBS)
315 pdfinfo: $(pdfinfo_OBJECTS) $(pdfinfo_DEPENDENCIES)
317 $(CXXLINK) $(pdfinfo_LDFLAGS) $(pdfinfo_OBJECTS) $(pdfinfo_LDADD) $(LIBS)
319 pdftopbm: $(pdftopbm_OBJECTS) $(pdftopbm_DEPENDENCIES)
321 $(CXXLINK) $(pdftopbm_LDFLAGS) $(pdftopbm_OBJECTS) $(pdftopbm_LDADD) $(LIBS)
323 pdfimages: $(pdfimages_OBJECTS) $(pdfimages_DEPENDENCIES)
325 $(CXXLINK) $(pdfimages_LDFLAGS) $(pdfimages_OBJECTS) $(pdfimages_LDADD) $(LIBS)
327 gpdf: $(gpdf_OBJECTS) $(gpdf_DEPENDENCIES)
329 $(CXXLINK) $(gpdf_LDFLAGS) $(gpdf_OBJECTS) $(gpdf_LDADD) $(LIBS)
331 xpdf: $(xpdf_OBJECTS) $(xpdf_DEPENDENCIES)
333 $(CXXLINK) $(xpdf_LDFLAGS) $(xpdf_OBJECTS) $(xpdf_LDADD) $(LIBS)
337 $(LTCXXCOMPILE) -c $<
339 install-gladeDATA: $(glade_DATA)
341 $(mkinstalldirs) $(DESTDIR)$(gladedir)
342 @list='$(glade_DATA)'; for p in $$list; do \
343 if test -f $(srcdir)/$$p; then \
344 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(gladedir)/$$p"; \
345 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(gladedir)/$$p; \
346 else if test -f $$p; then \
347 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(gladedir)/$$p"; \
348 $(INSTALL_DATA) $$p $(DESTDIR)$(gladedir)/$$p; \
354 list='$(glade_DATA)'; for p in $$list; do \
355 rm -f $(DESTDIR)$(gladedir)/$$p; \
360 ID: $(HEADERS) $(SOURCES) $(LISP)
361 list='$(SOURCES) $(HEADERS)'; \
362 unique=`for i in $$list; do echo $$i; done | \
363 awk ' { files[$$0] = 1; } \
364 END { for (i in files) print i; }'`; \
365 here=`pwd` && cd $(srcdir) \
366 && mkid -f$$here/ID $$unique $(LISP)
368 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
371 list='$(SOURCES) $(HEADERS)'; \
372 unique=`for i in $$list; do echo $$i; done | \
373 awk ' { files[$$0] = 1; } \
374 END { for (i in files) print i; }'`; \
375 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
376 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
385 maintainer-clean-tags:
387 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
391 distdir: $(DISTFILES)
392 here=`cd $(top_builddir) && pwd`; \
393 top_distdir=`cd $(top_distdir) && pwd`; \
394 distdir=`cd $(distdir) && pwd`; \
396 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu xpdf/Makefile
397 @for file in $(DISTFILES); do \
399 if test -d $$d/$$file; then \
400 cp -pr $$/$$file $(distdir)/$$file; \
402 test -f $(distdir)/$$file \
403 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
404 || cp -p $$d/$$file $(distdir)/$$file || :; \
408 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
410 -include $(DEP_FILES)
419 maintainer-clean-depend:
422 @echo '$(COMPILE) -c $<'; \
423 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
424 @-cp .deps/$(*F).pp .deps/$(*F).P; \
425 tr ' ' '\012' < .deps/$(*F).pp \
426 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
431 @echo '$(LTCOMPILE) -c $<'; \
432 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
433 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
434 < .deps/$(*F).pp > .deps/$(*F).P; \
435 tr ' ' '\012' < .deps/$(*F).pp \
436 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
441 @echo '$(CXXCOMPILE) -c $<'; \
442 $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
443 @-cp .deps/$(*F).pp .deps/$(*F).P; \
444 tr ' ' '\012' < .deps/$(*F).pp \
445 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
450 @echo '$(LTCXXCOMPILE) -c $<'; \
451 $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
452 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
453 < .deps/$(*F).pp > .deps/$(*F).P; \
454 tr ' ' '\012' < .deps/$(*F).pp \
455 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
465 installcheck: installcheck-am
466 install-exec-am: install-binPROGRAMS
467 install-exec: install-exec-am
469 install-data-am: install-gladeDATA
470 install-data: install-data-am
473 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
475 uninstall-am: uninstall-binPROGRAMS uninstall-gladeDATA
476 uninstall: uninstall-am
477 all-am: Makefile $(PROGRAMS) $(DATA)
480 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
482 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(gladedir)
490 -rm -f Makefile $(CONFIG_CLEAN_FILES)
491 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
493 maintainer-clean-generic:
494 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
495 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
498 mostlyclean: mostlyclean-am
500 clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
501 clean-depend clean-generic mostlyclean-am
505 distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
506 distclean-tags distclean-depend distclean-generic \
510 distclean: distclean-am
512 maintainer-clean-am: maintainer-clean-binPROGRAMS \
513 maintainer-clean-compile maintainer-clean-libtool \
514 maintainer-clean-tags maintainer-clean-depend \
515 maintainer-clean-generic distclean-am
516 @echo "This command is intended for maintainers to use;"
517 @echo "it deletes files that may require special tools to rebuild."
519 maintainer-clean: maintainer-clean-am
521 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
522 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
523 mostlyclean-compile distclean-compile clean-compile \
524 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
525 clean-libtool maintainer-clean-libtool uninstall-gladeDATA \
526 install-gladeDATA tags mostlyclean-tags distclean-tags clean-tags \
527 maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
528 clean-depend maintainer-clean-depend info-am info dvi-am dvi check \
529 check-am installcheck-am installcheck install-exec-am install-exec \
530 install-data-am install-data install-am install uninstall-am uninstall \
531 all-redirect all-am all installdirs mostlyclean-generic \
532 distclean-generic clean-generic maintainer-clean-generic clean \
533 mostlyclean distclean maintainer-clean
538 $(top_srcdir)/ltk/ltkbuild <xpdf.ltk >$@.new
541 # Tell versions [3.59,3.63) of GNU make to not export all variables.
542 # Otherwise a system limit (for SysV at least) may be exceeded.