1 # Makefile.in generated automatically by automake 1.4a 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@
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
53 transform = @program_transform_name@
61 host_alias = @host_alias@
68 EXTRA_GNOME_CFLAGS = @EXTRA_GNOME_CFLAGS@
69 EXTRA_GNOME_LIBS = @EXTRA_GNOME_LIBS@
70 GNOMEGNORBA_LIBS = @GNOMEGNORBA_LIBS@
71 GNOMEUI_LIBS = @GNOMEUI_LIBS@
72 GNOME_APPLETS_LIBS = @GNOME_APPLETS_LIBS@
73 GNOME_CAPPLET_LIBS = @GNOME_CAPPLET_LIBS@
74 GNOME_CONFIG = @GNOME_CONFIG@
75 GNOME_INCLUDEDIR = @GNOME_INCLUDEDIR@
76 GNOME_LIBDIR = @GNOME_LIBDIR@
77 GNOME_LIBS = @GNOME_LIBS@
78 GNORBA_CFLAGS = @GNORBA_CFLAGS@
79 GNORBA_LIBS = @GNORBA_LIBS@
80 GTKXMHTML_LIBS = @GTKXMHTML_LIBS@
81 GTK_CFLAGS = @GTK_CFLAGS@
82 GTK_CONFIG = @GTK_CONFIG@
85 LIBPREFIX = @LIBPREFIX@
92 ORBIT_CFLAGS = @ORBIT_CFLAGS@
93 ORBIT_CONFIG = @ORBIT_CONFIG@
94 ORBIT_IDL = @ORBIT_IDL@
95 ORBIT_LIBS = @ORBIT_LIBS@
97 PTHREAD_LIB = @PTHREAD_LIB@
100 USE_SYMBOL_UNDERSCORE = @USE_SYMBOL_UNDERSCORE@
102 XPM_LIBS = @XPM_LIBS@
104 ZVT_LIBS = @ZVT_LIBS@
105 cflags_set = @cflags_set@
106 cxxflags_set = @cxxflags_set@
108 INCLUDES = -I$(top_srcdir)/goo -I$(top_srcdir)/ltk -DGPDF_GLADE_DIR=\""$(gladedir)"\" $(EXTRA_GNOME_CFLAGS)
110 @WITH_GNOME_TRUE@gui = gpdf
111 @WITH_GNOME_FALSE@gui = xpdf
113 bin_PROGRAMS = pdftops pdftotext pdfinfo pdftopbm pdfimages $(gui)
115 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
120 gpdf_SOURCES = $(common_sources) GOutputDev.cc gpdf.cc
123 gpdf_LDADD = $(EXTRA_GNOME_LIBS) ../goo/libgoo.a
126 xpdf_SOURCES = $(common_sources) XOutputDev.cc LTKOutputDev.cc PSOutputDev.cc xpdf.cc
129 xpdf_CFLAGS = $(X_CFLAGS)
130 xpdf_LDADD = ../goo/libgoo.a ../ltk/libltk.a -lXpm $(EXTRA_GNOME_LIBS)
132 pdfimages_SOURCES = $(common_sources) ImageOutputDev.cc pdfimages.cc
135 pdfimages_LDADD = ../goo/libgoo.a
137 pdftops_SOURCES = $(common_sources) PSOutputDev.cc pdftops.cc
139 pdftops_LDADD = ../goo/libgoo.a
141 pdftotext_SOURCES = $(common_sources) pdftotext.cc
143 pdftotext_LDADD = ../goo/libgoo.a
145 pdfinfo_SOURCES = $(common_sources) pdfinfo.cc
147 pdfinfo_LDADD = ../goo/libgoo.a
149 pdftopbm_SOURCES = $(common_sources) PBMOutputDev.cc XOutputDev.cc pdftopbm.cc
152 pdftopbm_LDADD = ../goo/libgoo.a $(EXTRA_GNOME_LIBS)
154 bitmaps = about.xbm dblLeftArrow.xbm dblRightArrow.xbm find.xbm leftArrow.xbm postscript.xbm rightArrow.xbm xpdfIcon.xpm zoomIn.xbm zoomOut.xbm
157 ltk = xpdf-flip.ltk xpdf-top.ltk xpdf.ltk
160 gladedir = $(datadir)/xpdf/glade
162 glade_DATA = about.glade gpdf.glade
165 EXTRA_DIST = $(bitmaps) ChangeLog $(ltk) $(glade_DATA)
166 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
168 PROGRAMS = $(bin_PROGRAMS)
171 DEFS = @DEFS@ -I. -I$(srcdir)
172 CPPFLAGS = @CPPFLAGS@
175 X_CFLAGS = @X_CFLAGS@
177 X_EXTRA_LIBS = @X_EXTRA_LIBS@
178 X_PRE_LIBS = @X_PRE_LIBS@
179 pdftops_OBJECTS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
180 GfxState.o Lexer.o Link.o Object.o OutputDev.o Page.o Params.o Parser.o \
181 PDFDoc.o Stream.o TextOutputDev.o XRef.o PSOutputDev.o pdftops.o
182 pdftops_DEPENDENCIES = ../goo/libgoo.a
184 pdftotext_OBJECTS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
185 GfxState.o Lexer.o Link.o Object.o OutputDev.o Page.o Params.o Parser.o \
186 PDFDoc.o Stream.o TextOutputDev.o XRef.o pdftotext.o
187 pdftotext_DEPENDENCIES = ../goo/libgoo.a
189 pdfinfo_OBJECTS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
190 GfxState.o Lexer.o Link.o Object.o OutputDev.o Page.o Params.o Parser.o \
191 PDFDoc.o Stream.o TextOutputDev.o XRef.o pdfinfo.o
192 pdfinfo_DEPENDENCIES = ../goo/libgoo.a
194 pdftopbm_OBJECTS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
195 GfxState.o Lexer.o Link.o Object.o OutputDev.o Page.o Params.o Parser.o \
196 PDFDoc.o Stream.o TextOutputDev.o XRef.o PBMOutputDev.o XOutputDev.o \
198 pdftopbm_DEPENDENCIES = ../goo/libgoo.a
200 pdfimages_OBJECTS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
201 GfxState.o Lexer.o Link.o Object.o OutputDev.o Page.o Params.o Parser.o \
202 PDFDoc.o Stream.o TextOutputDev.o XRef.o ImageOutputDev.o pdfimages.o
203 pdfimages_DEPENDENCIES = ../goo/libgoo.a
205 gpdf_OBJECTS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
206 GfxState.o Lexer.o Link.o Object.o OutputDev.o Page.o Params.o Parser.o \
207 PDFDoc.o Stream.o TextOutputDev.o XRef.o GOutputDev.o gpdf.o
208 gpdf_DEPENDENCIES = ../goo/libgoo.a
210 xpdf_OBJECTS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
211 GfxState.o Lexer.o Link.o Object.o OutputDev.o Page.o Params.o Parser.o \
212 PDFDoc.o Stream.o TextOutputDev.o XRef.o XOutputDev.o LTKOutputDev.o \
214 xpdf_DEPENDENCIES = ../goo/libgoo.a ../ltk/libltk.a
216 CXXFLAGS = @CXXFLAGS@
217 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
218 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
220 CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
223 DIST_COMMON = ChangeLog Makefile.am Makefile.in
226 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
230 DEP_FILES = .deps/Array.P .deps/Catalog.P .deps/Dict.P .deps/Error.P \
231 .deps/GOutputDev.P .deps/Gfx.P .deps/GfxFont.P .deps/GfxState.P \
232 .deps/ImageOutputDev.P .deps/LTKOutputDev.P .deps/Lexer.P .deps/Link.P \
233 .deps/Object.P .deps/OutputDev.P .deps/PBMOutputDev.P .deps/PDFDoc.P \
234 .deps/PSOutputDev.P .deps/Page.P .deps/Params.P .deps/Parser.P \
235 .deps/Stream.P .deps/TextOutputDev.P .deps/XOutputDev.P .deps/XRef.P \
236 .deps/gpdf.P .deps/pdfimages.P .deps/pdfinfo.P .deps/pdftopbm.P \
237 .deps/pdftops.P .deps/pdftotext.P .deps/xpdf.P
238 SOURCES = $(pdftops_SOURCES) $(pdftotext_SOURCES) $(pdfinfo_SOURCES) $(pdftopbm_SOURCES) $(pdfimages_SOURCES) $(gpdf_SOURCES) $(xpdf_SOURCES)
239 OBJECTS = $(pdftops_OBJECTS) $(pdftotext_OBJECTS) $(pdfinfo_OBJECTS) $(pdftopbm_OBJECTS) $(pdfimages_OBJECTS) $(gpdf_OBJECTS) $(xpdf_OBJECTS)
243 .SUFFIXES: .S .c .cc .lo .o .s
244 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
245 cd $(top_srcdir) && $(AUTOMAKE) --gnu xpdf/Makefile
247 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
249 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
252 mostlyclean-binPROGRAMS:
255 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
257 distclean-binPROGRAMS:
259 maintainer-clean-binPROGRAMS:
261 install-binPROGRAMS: $(bin_PROGRAMS)
263 $(mkinstalldirs) $(DESTDIR)$(bindir)
264 @list='$(bin_PROGRAMS)'; for p in $$list; do \
265 if test -f $$p; then \
266 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
267 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
271 uninstall-binPROGRAMS:
273 list='$(bin_PROGRAMS)'; for p in $$list; do \
274 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
284 -rm -f *.o core *.core
291 maintainer-clean-compile:
294 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
297 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
307 maintainer-clean-libtool:
309 pdftops: $(pdftops_OBJECTS) $(pdftops_DEPENDENCIES)
311 $(CXXLINK) $(pdftops_LDFLAGS) $(pdftops_OBJECTS) $(pdftops_LDADD) $(LIBS)
313 pdftotext: $(pdftotext_OBJECTS) $(pdftotext_DEPENDENCIES)
315 $(CXXLINK) $(pdftotext_LDFLAGS) $(pdftotext_OBJECTS) $(pdftotext_LDADD) $(LIBS)
317 pdfinfo: $(pdfinfo_OBJECTS) $(pdfinfo_DEPENDENCIES)
319 $(CXXLINK) $(pdfinfo_LDFLAGS) $(pdfinfo_OBJECTS) $(pdfinfo_LDADD) $(LIBS)
321 pdftopbm: $(pdftopbm_OBJECTS) $(pdftopbm_DEPENDENCIES)
323 $(CXXLINK) $(pdftopbm_LDFLAGS) $(pdftopbm_OBJECTS) $(pdftopbm_LDADD) $(LIBS)
325 pdfimages: $(pdfimages_OBJECTS) $(pdfimages_DEPENDENCIES)
327 $(CXXLINK) $(pdfimages_LDFLAGS) $(pdfimages_OBJECTS) $(pdfimages_LDADD) $(LIBS)
329 gpdf: $(gpdf_OBJECTS) $(gpdf_DEPENDENCIES)
331 $(CXXLINK) $(gpdf_LDFLAGS) $(gpdf_OBJECTS) $(gpdf_LDADD) $(LIBS)
333 xpdf: $(xpdf_OBJECTS) $(xpdf_DEPENDENCIES)
335 $(CXXLINK) $(xpdf_LDFLAGS) $(xpdf_OBJECTS) $(xpdf_LDADD) $(LIBS)
339 $(LTCXXCOMPILE) -c $<
341 install-gladeDATA: $(glade_DATA)
343 $(mkinstalldirs) $(DESTDIR)$(gladedir)
344 @list='$(glade_DATA)'; for p in $$list; do \
345 if test -f $(srcdir)/$$p; then \
346 echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(gladedir)/$$p"; \
347 $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(gladedir)/$$p; \
348 else if test -f $$p; then \
349 echo " $(INSTALL_DATA) $$p $(DESTDIR)$(gladedir)/$$p"; \
350 $(INSTALL_DATA) $$p $(DESTDIR)$(gladedir)/$$p; \
356 list='$(glade_DATA)'; for p in $$list; do \
357 rm -f $(DESTDIR)$(gladedir)/$$p; \
362 ID: $(HEADERS) $(SOURCES) $(LISP)
363 list='$(SOURCES) $(HEADERS)'; \
364 unique=`for i in $$list; do echo $$i; done | \
365 awk ' { files[$$0] = 1; } \
366 END { for (i in files) print i; }'`; \
367 here=`pwd` && cd $(srcdir) \
368 && mkid -f$$here/ID $$unique $(LISP)
370 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
373 list='$(SOURCES) $(HEADERS)'; \
374 unique=`for i in $$list; do echo $$i; done | \
375 awk ' { files[$$0] = 1; } \
376 END { for (i in files) print i; }'`; \
377 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
378 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
387 maintainer-clean-tags:
389 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
393 distdir: $(DISTFILES)
394 here=`cd $(top_builddir) && pwd`; \
395 top_distdir=`cd $(top_distdir) && pwd`; \
396 distdir=`cd $(distdir) && pwd`; \
398 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu xpdf/Makefile
399 @for file in $(DISTFILES); do \
401 if test -d $$d/$$file; then \
402 cp -pr $$d/$$file $(distdir)/$$file; \
404 test -f $(distdir)/$$file \
405 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
406 || cp -p $$d/$$file $(distdir)/$$file || :; \
410 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
412 -include $(DEP_FILES)
421 maintainer-clean-depend:
424 @echo '$(COMPILE) -c $<'; \
425 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
426 @-cp .deps/$(*F).pp .deps/$(*F).P; \
427 tr ' ' '\012' < .deps/$(*F).pp \
428 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
433 @echo '$(LTCOMPILE) -c $<'; \
434 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
435 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
436 < .deps/$(*F).pp > .deps/$(*F).P; \
437 tr ' ' '\012' < .deps/$(*F).pp \
438 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
443 @echo '$(CXXCOMPILE) -c $<'; \
444 $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
445 @-cp .deps/$(*F).pp .deps/$(*F).P; \
446 tr ' ' '\012' < .deps/$(*F).pp \
447 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
452 @echo '$(LTCXXCOMPILE) -c $<'; \
453 $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
454 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
455 < .deps/$(*F).pp > .deps/$(*F).P; \
456 tr ' ' '\012' < .deps/$(*F).pp \
457 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
467 installcheck: installcheck-am
468 install-exec-am: install-binPROGRAMS
469 install-exec: install-exec-am
471 install-data-am: install-gladeDATA
472 install-data: install-data-am
475 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
477 uninstall-am: uninstall-binPROGRAMS uninstall-gladeDATA
478 uninstall: uninstall-am
479 all-am: Makefile $(PROGRAMS) $(DATA)
482 $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
484 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(gladedir)
492 -rm -f Makefile $(CONFIG_CLEAN_FILES)
493 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
495 maintainer-clean-generic:
496 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
497 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
500 mostlyclean: mostlyclean-am
502 clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
503 clean-depend clean-generic mostlyclean-am
507 distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
508 distclean-tags distclean-depend distclean-generic \
512 distclean: distclean-am
514 maintainer-clean-am: maintainer-clean-binPROGRAMS \
515 maintainer-clean-compile maintainer-clean-libtool \
516 maintainer-clean-tags maintainer-clean-depend \
517 maintainer-clean-generic distclean-am
518 @echo "This command is intended for maintainers to use;"
519 @echo "it deletes files that may require special tools to rebuild."
521 maintainer-clean: maintainer-clean-am
523 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
524 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
525 mostlyclean-compile distclean-compile clean-compile \
526 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
527 clean-libtool maintainer-clean-libtool uninstall-gladeDATA \
528 install-gladeDATA tags mostlyclean-tags distclean-tags clean-tags \
529 maintainer-clean-tags distdir mostlyclean-depend distclean-depend \
530 clean-depend maintainer-clean-depend info-am info dvi-am dvi check \
531 check-am installcheck-am installcheck install-exec-am install-exec \
532 install-data-am install-data install-am install uninstall-am uninstall \
533 all-redirect all-am all installdirs mostlyclean-generic \
534 distclean-generic clean-generic maintainer-clean-generic clean \
535 mostlyclean distclean maintainer-clean
540 $(top_srcdir)/ltk/ltkbuild <xpdf.ltk >$@.new
543 # Tell versions [3.59,3.63) of GNU make to not export all variables.
544 # Otherwise a system limit (for SysV at least) may be exceeded.