Initial revision
[swftools.git] / pdf2swf / Makefile.in
1 # Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
2
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.
7
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
11 # PARTICULAR PURPOSE.
12
13
14 SHELL = @SHELL@
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
21
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
34
35 DESTDIR =
36
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
40
41 top_builddir = ..
42
43 ACLOCAL = @ACLOCAL@
44 AUTOCONF = @AUTOCONF@
45 AUTOMAKE = @AUTOMAKE@
46 AUTOHEADER = @AUTOHEADER@
47
48 INSTALL = @INSTALL@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
53
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 AWK = @AWK@
61 CC = @CC@
62 CPP = @CPP@
63 CXX = @CXX@
64 EXEEXT = @EXEEXT@
65 HAVE_UNISTD_H = @HAVE_UNISTD_H@
66 LN_S = @LN_S@
67 MAKEINFO = @MAKEINFO@
68 PACKAGE = @PACKAGE@
69 RANLIB = @RANLIB@
70 VERSION = @VERSION@
71
72 SUBDIRS = xpdf fonts
73 bin_PROGRAMS = pdf2swf
74 LDADD = 
75 pdf2swf_SOURCES = pdf2swf.cc pdfswf.cc pdfswf.h swfoutput.cc swfoutput.h spline.cc spline.h
76 pdf2swf_LDADD = ../lib/log.o ../lib/rfxswf.o xpdf/libpdf.a
77 INCLUDES = -I../lib -I./xpdf
78 man_MANS = pdf2swf.1
79 CXXCOMPILE = $(CXX) -DDATADIR=\"$(pkgdatadir)\" $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
80 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
81 CONFIG_HEADER = ../config.h
82 CONFIG_CLEAN_FILES = 
83 bin_PROGRAMS =  pdf2swf$(EXEEXT)
84 PROGRAMS =  $(bin_PROGRAMS)
85
86
87 DEFS = @DEFS@ -I. -I$(srcdir) -I..
88 CPPFLAGS = @CPPFLAGS@
89 LDFLAGS = @LDFLAGS@
90 LIBS = @LIBS@
91 pdf2swf_OBJECTS =  pdf2swf.o pdfswf.o swfoutput.o spline.o
92 pdf2swf_DEPENDENCIES =  ../lib/log.o ../lib/rfxswf.o xpdf/libpdf.a
93 pdf2swf_LDFLAGS = 
94 CXXFLAGS = @CXXFLAGS@
95 CXXLD = $(CXX)
96 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@
97 CFLAGS = @CFLAGS@
98 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
99 CCLD = $(CC)
100 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
101 man1dir = $(mandir)/man1
102 MANS = $(man_MANS)
103
104 NROFF = nroff
105 DIST_COMMON =  Makefile.am Makefile.in
106
107
108 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
109
110 TAR = tar
111 GZIP_ENV = --best
112 DEP_FILES =  .deps/pdf2swf.P .deps/pdfswf.P .deps/spline.P \
113 .deps/swfoutput.P
114 SOURCES = $(pdf2swf_SOURCES)
115 OBJECTS = $(pdf2swf_OBJECTS)
116
117 all: all-redirect
118 .SUFFIXES:
119 .SUFFIXES: .S .c .cc .o .s
120 $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
121         cd $(top_srcdir) && $(AUTOMAKE) --gnu pdf2swf/Makefile
122
123 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
124         cd $(top_builddir) \
125           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
126
127
128 mostlyclean-binPROGRAMS:
129
130 clean-binPROGRAMS:
131         -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
132
133 distclean-binPROGRAMS:
134
135 maintainer-clean-binPROGRAMS:
136
137 install-binPROGRAMS: $(bin_PROGRAMS)
138         @$(NORMAL_INSTALL)
139         $(mkinstalldirs) $(DESTDIR)$(bindir)
140         @list='$(bin_PROGRAMS)'; for p in $$list; do \
141           if test -f $$p; then \
142             echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
143              $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
144           else :; fi; \
145         done
146
147 uninstall-binPROGRAMS:
148         @$(NORMAL_UNINSTALL)
149         list='$(bin_PROGRAMS)'; for p in $$list; do \
150           rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
151         done
152
153 .s.o:
154         $(COMPILE) -c $<
155
156 .S.o:
157         $(COMPILE) -c $<
158
159 mostlyclean-compile:
160         -rm -f *.o core *.core
161
162 clean-compile:
163
164 distclean-compile:
165         -rm -f *.tab.c
166
167 maintainer-clean-compile:
168
169 pdf2swf$(EXEEXT): $(pdf2swf_OBJECTS) $(pdf2swf_DEPENDENCIES)
170         @rm -f pdf2swf$(EXEEXT)
171         $(CXXLINK) $(pdf2swf_LDFLAGS) $(pdf2swf_OBJECTS) $(pdf2swf_LDADD) $(LIBS)
172 .cc.o:
173         $(CXXCOMPILE) -c $<
174
175 install-man1:
176         $(mkinstalldirs) $(DESTDIR)$(man1dir)
177         @list='$(man1_MANS)'; \
178         l2='$(man_MANS)'; for i in $$l2; do \
179           case "$$i" in \
180             *.1*) list="$$list $$i" ;; \
181           esac; \
182         done; \
183         for i in $$list; do \
184           if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
185           else file=$$i; fi; \
186           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
187           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
188           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
189           echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
190           $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
191         done
192
193 uninstall-man1:
194         @list='$(man1_MANS)'; \
195         l2='$(man_MANS)'; for i in $$l2; do \
196           case "$$i" in \
197             *.1*) list="$$list $$i" ;; \
198           esac; \
199         done; \
200         for i in $$list; do \
201           ext=`echo $$i | sed -e 's/^.*\\.//'`; \
202           inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
203           inst=`echo $$inst | sed '$(transform)'`.$$ext; \
204           echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
205           rm -f $(DESTDIR)$(man1dir)/$$inst; \
206         done
207 install-man: $(MANS)
208         @$(NORMAL_INSTALL)
209         $(MAKE) $(AM_MAKEFLAGS) install-man1
210 uninstall-man:
211         @$(NORMAL_UNINSTALL)
212         $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
213
214 # This directory's subdirectories are mostly independent; you can cd
215 # into them and run `make' without going through this Makefile.
216 # To change the values of `make' variables: instead of editing Makefiles,
217 # (1) if the variable is set in `config.status', edit `config.status'
218 #     (which will cause the Makefiles to be regenerated when you run `make');
219 # (2) otherwise, pass the desired values on the `make' command line.
220
221 @SET_MAKE@
222
223 all-recursive install-data-recursive install-exec-recursive \
224 installdirs-recursive install-recursive uninstall-recursive  \
225 check-recursive installcheck-recursive info-recursive dvi-recursive:
226         @set fnord $(MAKEFLAGS); amf=$$2; \
227         dot_seen=no; \
228         target=`echo $@ | sed s/-recursive//`; \
229         list='$(SUBDIRS)'; for subdir in $$list; do \
230           echo "Making $$target in $$subdir"; \
231           if test "$$subdir" = "."; then \
232             dot_seen=yes; \
233             local_target="$$target-am"; \
234           else \
235             local_target="$$target"; \
236           fi; \
237           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
238            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
239         done; \
240         if test "$$dot_seen" = "no"; then \
241           $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
242         fi; test -z "$$fail"
243
244 mostlyclean-recursive clean-recursive distclean-recursive \
245 maintainer-clean-recursive:
246         @set fnord $(MAKEFLAGS); amf=$$2; \
247         dot_seen=no; \
248         rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
249           rev="$$subdir $$rev"; \
250           test "$$subdir" = "." && dot_seen=yes; \
251         done; \
252         test "$$dot_seen" = "no" && rev=". $$rev"; \
253         target=`echo $@ | sed s/-recursive//`; \
254         for subdir in $$rev; do \
255           echo "Making $$target in $$subdir"; \
256           if test "$$subdir" = "."; then \
257             local_target="$$target-am"; \
258           else \
259             local_target="$$target"; \
260           fi; \
261           (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
262            || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
263         done && test -z "$$fail"
264 tags-recursive:
265         list='$(SUBDIRS)'; for subdir in $$list; do \
266           test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
267         done
268
269 tags: TAGS
270
271 ID: $(HEADERS) $(SOURCES) $(LISP)
272         list='$(SOURCES) $(HEADERS)'; \
273         unique=`for i in $$list; do echo $$i; done | \
274           awk '    { files[$$0] = 1; } \
275                END { for (i in files) print i; }'`; \
276         here=`pwd` && cd $(srcdir) \
277           && mkid -f$$here/ID $$unique $(LISP)
278
279 TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
280         tags=; \
281         here=`pwd`; \
282         list='$(SUBDIRS)'; for subdir in $$list; do \
283    if test "$$subdir" = .; then :; else \
284             test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
285    fi; \
286         done; \
287         list='$(SOURCES) $(HEADERS)'; \
288         unique=`for i in $$list; do echo $$i; done | \
289           awk '    { files[$$0] = 1; } \
290                END { for (i in files) print i; }'`; \
291         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
292           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
293
294 mostlyclean-tags:
295
296 clean-tags:
297
298 distclean-tags:
299         -rm -f TAGS ID
300
301 maintainer-clean-tags:
302
303 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
304
305 subdir = pdf2swf
306
307 distdir: $(DISTFILES)
308         here=`cd $(top_builddir) && pwd`; \
309         top_distdir=`cd $(top_distdir) && pwd`; \
310         distdir=`cd $(distdir) && pwd`; \
311         cd $(top_srcdir) \
312           && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu pdf2swf/Makefile
313         @for file in $(DISTFILES); do \
314           d=$(srcdir); \
315           if test -d $$d/$$file; then \
316             cp -pr $$d/$$file $(distdir)/$$file; \
317           else \
318             test -f $(distdir)/$$file \
319             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
320             || cp -p $$d/$$file $(distdir)/$$file || :; \
321           fi; \
322         done
323         for subdir in $(SUBDIRS); do \
324           if test "$$subdir" = .; then :; else \
325             test -d $(distdir)/$$subdir \
326             || mkdir $(distdir)/$$subdir \
327             || exit 1; \
328             chmod 777 $(distdir)/$$subdir; \
329             (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
330               || exit 1; \
331           fi; \
332         done
333
334 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
335
336 -include $(DEP_FILES)
337
338 mostlyclean-depend:
339
340 clean-depend:
341
342 distclean-depend:
343         -rm -rf .deps
344
345 maintainer-clean-depend:
346
347 %.o: %.c
348         @echo '$(COMPILE) -c $<'; \
349         $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
350         @-cp .deps/$(*F).pp .deps/$(*F).P; \
351         tr ' ' '\012' < .deps/$(*F).pp \
352           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
353             >> .deps/$(*F).P; \
354         rm .deps/$(*F).pp
355
356 %.lo: %.c
357         @echo '$(LTCOMPILE) -c $<'; \
358         $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
359         @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
360           < .deps/$(*F).pp > .deps/$(*F).P; \
361         tr ' ' '\012' < .deps/$(*F).pp \
362           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
363             >> .deps/$(*F).P; \
364         rm -f .deps/$(*F).pp
365
366 %.o: %.cc
367         @echo '$(CXXCOMPILE) -c $<'; \
368         $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
369         @-cp .deps/$(*F).pp .deps/$(*F).P; \
370         tr ' ' '\012' < .deps/$(*F).pp \
371           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
372             >> .deps/$(*F).P; \
373         rm .deps/$(*F).pp
374
375 %.lo: %.cc
376         @echo '$(LTCXXCOMPILE) -c $<'; \
377         $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
378         @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
379           < .deps/$(*F).pp > .deps/$(*F).P; \
380         tr ' ' '\012' < .deps/$(*F).pp \
381           | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
382             >> .deps/$(*F).P; \
383         rm -f .deps/$(*F).pp
384 info-am:
385 info: info-recursive
386 dvi-am:
387 dvi: dvi-recursive
388 check-am: all-am
389 check: check-recursive
390 installcheck-am:
391 installcheck: installcheck-recursive
392 install-exec-am: install-binPROGRAMS
393 install-exec: install-exec-recursive
394
395 install-data-am: install-man
396 install-data: install-data-recursive
397
398 install-am: all-am
399         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
400 install: install-recursive
401 uninstall-am: uninstall-binPROGRAMS uninstall-man
402 uninstall: uninstall-recursive
403 all-am: Makefile $(PROGRAMS) $(MANS)
404 all-redirect: all-recursive
405 install-strip:
406         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
407 installdirs: installdirs-recursive
408 installdirs-am:
409         $(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1
410
411
412 mostlyclean-generic:
413
414 clean-generic:
415
416 distclean-generic:
417         -rm -f Makefile $(CONFIG_CLEAN_FILES)
418         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
419
420 maintainer-clean-generic:
421 mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
422                 mostlyclean-tags mostlyclean-depend mostlyclean-generic
423
424 mostlyclean: mostlyclean-recursive
425
426 clean-am:  clean-binPROGRAMS clean-compile clean-tags clean-depend \
427                 clean-generic mostlyclean-am
428
429 clean: clean-recursive
430
431 distclean-am:  distclean-binPROGRAMS distclean-compile distclean-tags \
432                 distclean-depend distclean-generic clean-am
433
434 distclean: distclean-recursive
435
436 maintainer-clean-am:  maintainer-clean-binPROGRAMS \
437                 maintainer-clean-compile maintainer-clean-tags \
438                 maintainer-clean-depend maintainer-clean-generic \
439                 distclean-am
440         @echo "This command is intended for maintainers to use;"
441         @echo "it deletes files that may require special tools to rebuild."
442
443 maintainer-clean: maintainer-clean-recursive
444
445 .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
446 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
447 mostlyclean-compile distclean-compile clean-compile \
448 maintainer-clean-compile install-man1 uninstall-man1 install-man \
449 uninstall-man install-data-recursive uninstall-data-recursive \
450 install-exec-recursive uninstall-exec-recursive installdirs-recursive \
451 uninstalldirs-recursive all-recursive check-recursive \
452 installcheck-recursive info-recursive dvi-recursive \
453 mostlyclean-recursive distclean-recursive clean-recursive \
454 maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
455 distclean-tags clean-tags maintainer-clean-tags distdir \
456 mostlyclean-depend distclean-depend clean-depend \
457 maintainer-clean-depend info-am info dvi-am dvi check check-am \
458 installcheck-am installcheck install-exec-am install-exec \
459 install-data-am install-data install-am install uninstall-am uninstall \
460 all-redirect all-am all installdirs-am installdirs mostlyclean-generic \
461 distclean-generic clean-generic maintainer-clean-generic clean \
462 mostlyclean distclean maintainer-clean
463
464
465 # Tell versions [3.59,3.63) of GNU make to not export all variables.
466 # Otherwise a system limit (for SysV at least) may be exceeded.
467 .NOEXPORT: