1 # Makefile.in generated automatically by automake 1.4-p4 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@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
64 HAVE_UNISTD_H = @HAVE_UNISTD_H@
68 SYSTEM_BACKTICKS = @SYSTEM_BACKTICKS@
69 UNCOMPRESS = @UNCOMPRESS@
70 WORDS_BIGENDIAN = @WORDS_BIGENDIAN@
72 SUBDIRS = xpdf fonts ttf2pt1
73 bin_PROGRAMS = pdf2swf
75 pdf2swf_SOURCES = encodings.cc pdf2swf.cc SWFOutputDev.cc SWFOutputDev.h swfoutput.cc swfoutput.h spline.cc spline.h
76 pdf2swf_LDADD = ../lib/librfxswf.a xpdf/libpdf.a ttf2pt1/ttf2pt1.a
77 INCLUDES = -I../lib -I./xpdf -I./ttf2pt1
79 CXXCOMPILE = $(CXX) -DDATADIR=\"$(pkgdatadir)\" $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
80 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
81 CONFIG_HEADER = ../config.h
83 bin_PROGRAMS = pdf2swf$(EXEEXT)
84 PROGRAMS = $(bin_PROGRAMS)
87 DEFS = @DEFS@ -I. -I$(srcdir) -I..
91 pdf2swf_OBJECTS = encodings.o pdf2swf.o SWFOutputDev.o swfoutput.o \
93 pdf2swf_DEPENDENCIES = ../lib/librfxswf.a xpdf/libpdf.a \
98 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
100 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
102 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
103 man1dir = $(mandir)/man1
107 DIST_COMMON = Makefile.in
113 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
117 SOURCES = $(pdf2swf_SOURCES)
118 OBJECTS = $(pdf2swf_OBJECTS)
122 .SUFFIXES: .S .c .cc .o .s
131 mostlyclean-binPROGRAMS:
134 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
136 distclean-binPROGRAMS:
138 maintainer-clean-binPROGRAMS:
140 install-binPROGRAMS: $(bin_PROGRAMS)
142 $(mkinstalldirs) $(DESTDIR)$(bindir)
143 @list='$(bin_PROGRAMS)'; for p in $$list; do \
144 if test -f $$p; then \
145 echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
146 $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
150 uninstall-binPROGRAMS:
152 list='$(bin_PROGRAMS)'; for p in $$list; do \
153 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
166 -rm -f *.o core *.core
173 maintainer-clean-compile:
175 pdf2swf$(EXEEXT): $(pdf2swf_OBJECTS) $(pdf2swf_DEPENDENCIES)
176 @rm -f pdf2swf$(EXEEXT)
177 $(CXXLINK) $(pdf2swf_LDFLAGS) $(pdf2swf_OBJECTS) $(pdf2swf_LDADD) $(LIBS)
182 $(mkinstalldirs) $(DESTDIR)$(man1dir)
183 @list='$(man1_MANS)'; \
184 l2='$(man_MANS)'; for i in $$l2; do \
186 *.1*) list="$$list $$i" ;; \
189 for i in $$list; do \
190 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
192 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
193 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
194 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
195 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
196 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
200 @list='$(man1_MANS)'; \
201 l2='$(man_MANS)'; for i in $$l2; do \
203 *.1*) list="$$list $$i" ;; \
206 for i in $$list; do \
207 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
208 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
209 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
210 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
211 rm -f $(DESTDIR)$(man1dir)/$$inst; \
215 $(MAKE) $(AM_MAKEFLAGS) install-man1
218 $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
220 # This directory's subdirectories are mostly independent; you can cd
221 # into them and run `make' without going through this Makefile.
222 # To change the values of `make' variables: instead of editing Makefiles,
223 # (1) if the variable is set in `config.status', edit `config.status'
224 # (which will cause the Makefiles to be regenerated when you run `make');
225 # (2) otherwise, pass the desired values on the `make' command line.
229 all-recursive install-data-recursive install-exec-recursive \
230 installdirs-recursive install-recursive uninstall-recursive \
231 check-recursive installcheck-recursive info-recursive dvi-recursive:
232 @set fnord $(MAKEFLAGS); amf=$$2; \
234 target=`echo $@ | sed s/-recursive//`; \
235 list='$(SUBDIRS)'; for subdir in $$list; do \
236 echo "Making $$target in $$subdir"; \
237 if test "$$subdir" = "."; then \
239 local_target="$$target-am"; \
241 local_target="$$target"; \
243 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
244 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
246 if test "$$dot_seen" = "no"; then \
247 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
250 mostlyclean-recursive clean-recursive distclean-recursive \
251 maintainer-clean-recursive:
252 @set fnord $(MAKEFLAGS); amf=$$2; \
254 rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
255 rev="$$subdir $$rev"; \
256 test "$$subdir" = "." && dot_seen=yes; \
258 test "$$dot_seen" = "no" && rev=". $$rev"; \
259 target=`echo $@ | sed s/-recursive//`; \
260 for subdir in $$rev; do \
261 echo "Making $$target in $$subdir"; \
262 if test "$$subdir" = "."; then \
263 local_target="$$target-am"; \
265 local_target="$$target"; \
267 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
268 || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
269 done && test -z "$$fail"
271 list='$(SUBDIRS)'; for subdir in $$list; do \
272 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
277 ID: $(HEADERS) $(SOURCES) $(LISP)
278 list='$(SOURCES) $(HEADERS)'; \
279 unique=`for i in $$list; do echo $$i; done | \
280 awk ' { files[$$0] = 1; } \
281 END { for (i in files) print i; }'`; \
282 here=`pwd` && cd $(srcdir) \
283 && mkid -f$$here/ID $$unique $(LISP)
285 TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
288 list='$(SUBDIRS)'; for subdir in $$list; do \
289 if test "$$subdir" = .; then :; else \
290 test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
293 list='$(SOURCES) $(HEADERS)'; \
294 unique=`for i in $$list; do echo $$i; done | \
295 awk ' { files[$$0] = 1; } \
296 END { for (i in files) print i; }'`; \
297 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
298 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
307 maintainer-clean-tags:
309 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
313 distdir: $(DISTFILES)
314 @for file in $(DISTFILES); do \
316 if test -d $$d/$$file; then \
317 cp -pr $$d/$$file $(distdir)/$$file; \
319 test -f $(distdir)/$$file \
320 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
321 || cp -p $$d/$$file $(distdir)/$$file || :; \
324 for subdir in $(SUBDIRS); do \
325 if test "$$subdir" = .; then :; else \
326 test -d $(distdir)/$$subdir \
327 || mkdir $(distdir)/$$subdir \
329 chmod 777 $(distdir)/$$subdir; \
330 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
339 check: check-recursive
341 installcheck: installcheck-recursive
342 install-exec-am: install-binPROGRAMS
343 install-exec: install-exec-recursive
345 install-data-am: install-man
346 install-data: install-data-recursive
349 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
350 install: install-recursive
351 uninstall-am: uninstall-binPROGRAMS uninstall-man
352 uninstall: uninstall-recursive
353 all-am: Makefile $(PROGRAMS) $(MANS)
354 all-redirect: all-recursive
356 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
357 installdirs: installdirs-recursive
359 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
367 -rm -f Makefile $(CONFIG_CLEAN_FILES)
368 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
370 maintainer-clean-generic:
371 mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
372 mostlyclean-tags mostlyclean-generic
374 mostlyclean: mostlyclean-recursive
376 clean-am: clean-binPROGRAMS clean-compile clean-tags clean-generic \
379 clean: clean-recursive
381 distclean-am: distclean-binPROGRAMS distclean-compile distclean-tags \
382 distclean-generic clean-am
384 distclean: distclean-recursive
386 maintainer-clean-am: maintainer-clean-binPROGRAMS \
387 maintainer-clean-compile maintainer-clean-tags \
388 maintainer-clean-generic distclean-am
389 @echo "This command is intended for maintainers to use;"
390 @echo "it deletes files that may require special tools to rebuild."
392 maintainer-clean: maintainer-clean-recursive
394 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
395 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
396 mostlyclean-compile distclean-compile clean-compile \
397 maintainer-clean-compile install-man1 uninstall-man1 install-man \
398 uninstall-man install-data-recursive uninstall-data-recursive \
399 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
400 uninstalldirs-recursive all-recursive check-recursive \
401 installcheck-recursive info-recursive dvi-recursive \
402 mostlyclean-recursive distclean-recursive clean-recursive \
403 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
404 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
405 dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
406 install-exec install-data-am install-data install-am install \
407 uninstall-am uninstall all-redirect all-am all installdirs-am \
408 installdirs mostlyclean-generic distclean-generic clean-generic \
409 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
412 # Tell versions [3.59,3.63) of GNU make to not export all variables.
413 # Otherwise a system limit (for SysV at least) may be exceeded.