swfmill 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. data/.document +5 -0
  2. data/.gitignore +23 -0
  3. data/.swfmill +240 -0
  4. data/LICENSE +340 -0
  5. data/README.rdoc +37 -0
  6. data/Rakefile +59 -0
  7. data/VERSION +1 -0
  8. data/ext/.gitignore +5 -0
  9. data/ext/extconf.rb +86 -0
  10. data/ext/swfmill/.gitignore +27 -0
  11. data/ext/swfmill/AUTHORS +9 -0
  12. data/ext/swfmill/COPYING +340 -0
  13. data/ext/swfmill/Makefile.am +14 -0
  14. data/ext/swfmill/Makefile.in +635 -0
  15. data/ext/swfmill/NEWS +189 -0
  16. data/ext/swfmill/README +170 -0
  17. data/ext/swfmill/TODO +33 -0
  18. data/ext/swfmill/aclocal.m4 +7712 -0
  19. data/ext/swfmill/autogen.sh +7 -0
  20. data/ext/swfmill/compile +142 -0
  21. data/ext/swfmill/config.guess +1516 -0
  22. data/ext/swfmill/config.sub +1626 -0
  23. data/ext/swfmill/configure +21868 -0
  24. data/ext/swfmill/configure.ac +55 -0
  25. data/ext/swfmill/depcomp +589 -0
  26. data/ext/swfmill/install-sh +519 -0
  27. data/ext/swfmill/ltmain.sh +6964 -0
  28. data/ext/swfmill/missing +367 -0
  29. data/ext/swfmill/src/Geom.cpp +107 -0
  30. data/ext/swfmill/src/Geom.h +100 -0
  31. data/ext/swfmill/src/Makefile.am +86 -0
  32. data/ext/swfmill/src/Makefile.in +1025 -0
  33. data/ext/swfmill/src/SWF.h +11941 -0
  34. data/ext/swfmill/src/SWFAction.cpp +41 -0
  35. data/ext/swfmill/src/SWFAction.h +19 -0
  36. data/ext/swfmill/src/SWFBasic.h +7 -0
  37. data/ext/swfmill/src/SWFFile.cpp +406 -0
  38. data/ext/swfmill/src/SWFFile.h +34 -0
  39. data/ext/swfmill/src/SWFFilter.cpp +25 -0
  40. data/ext/swfmill/src/SWFFilter.h +15 -0
  41. data/ext/swfmill/src/SWFGlyphList.cpp +262 -0
  42. data/ext/swfmill/src/SWFGlyphList.h +34 -0
  43. data/ext/swfmill/src/SWFIdItem.h +85 -0
  44. data/ext/swfmill/src/SWFIdItems.h +16 -0
  45. data/ext/swfmill/src/SWFItem.cpp +235 -0
  46. data/ext/swfmill/src/SWFItem.h +60 -0
  47. data/ext/swfmill/src/SWFList.h +179 -0
  48. data/ext/swfmill/src/SWFReader.cpp +352 -0
  49. data/ext/swfmill/src/SWFReader.h +73 -0
  50. data/ext/swfmill/src/SWFShapeItem.cpp +220 -0
  51. data/ext/swfmill/src/SWFShapeItem.h +45 -0
  52. data/ext/swfmill/src/SWFShapeMaker.cpp +401 -0
  53. data/ext/swfmill/src/SWFShapeMaker.h +128 -0
  54. data/ext/swfmill/src/SWFTag.cpp +49 -0
  55. data/ext/swfmill/src/SWFTag.h +20 -0
  56. data/ext/swfmill/src/SWFTrait.cpp +35 -0
  57. data/ext/swfmill/src/SWFTrait.h +22 -0
  58. data/ext/swfmill/src/SWFWriter.cpp +312 -0
  59. data/ext/swfmill/src/SWFWriter.h +84 -0
  60. data/ext/swfmill/src/base64.c +110 -0
  61. data/ext/swfmill/src/base64.h +15 -0
  62. data/ext/swfmill/src/codegen/Makefile.am +15 -0
  63. data/ext/swfmill/src/codegen/Makefile.in +346 -0
  64. data/ext/swfmill/src/codegen/basic.xsl +45 -0
  65. data/ext/swfmill/src/codegen/basics.xsl +235 -0
  66. data/ext/swfmill/src/codegen/dumper.xsl +109 -0
  67. data/ext/swfmill/src/codegen/header.xsl +131 -0
  68. data/ext/swfmill/src/codegen/mk.xsl +26 -0
  69. data/ext/swfmill/src/codegen/parser.xsl +196 -0
  70. data/ext/swfmill/src/codegen/parsexml.xsl +312 -0
  71. data/ext/swfmill/src/codegen/size.xsl +189 -0
  72. data/ext/swfmill/src/codegen/source.xml +2197 -0
  73. data/ext/swfmill/src/codegen/writer.xsl +190 -0
  74. data/ext/swfmill/src/codegen/writexml.xsl +138 -0
  75. data/ext/swfmill/src/swfmill.cpp +482 -0
  76. data/ext/swfmill/src/swft/Makefile.am +55 -0
  77. data/ext/swfmill/src/swft/Makefile.in +717 -0
  78. data/ext/swfmill/src/swft/Parser.cpp +76 -0
  79. data/ext/swfmill/src/swft/Parser.h +37 -0
  80. data/ext/swfmill/src/swft/SVGAttributeParser.cpp +78 -0
  81. data/ext/swfmill/src/swft/SVGAttributeParser.h +35 -0
  82. data/ext/swfmill/src/swft/SVGColor.cpp +116 -0
  83. data/ext/swfmill/src/swft/SVGColor.h +37 -0
  84. data/ext/swfmill/src/swft/SVGColors.h +167 -0
  85. data/ext/swfmill/src/swft/SVGGradient.cpp +258 -0
  86. data/ext/swfmill/src/swft/SVGGradient.h +81 -0
  87. data/ext/swfmill/src/swft/SVGPathParser.cpp +155 -0
  88. data/ext/swfmill/src/swft/SVGPathParser.h +126 -0
  89. data/ext/swfmill/src/swft/SVGPointsParser.cpp +51 -0
  90. data/ext/swfmill/src/swft/SVGPointsParser.h +25 -0
  91. data/ext/swfmill/src/swft/SVGStyle.cpp +181 -0
  92. data/ext/swfmill/src/swft/SVGStyle.h +80 -0
  93. data/ext/swfmill/src/swft/SVGTransformParser.cpp +72 -0
  94. data/ext/swfmill/src/swft/SVGTransformParser.h +32 -0
  95. data/ext/swfmill/src/swft/readpng.c +305 -0
  96. data/ext/swfmill/src/swft/readpng.h +92 -0
  97. data/ext/swfmill/src/swft/swft.cpp +251 -0
  98. data/ext/swfmill/src/swft/swft.h +64 -0
  99. data/ext/swfmill/src/swft/swft_document.cpp +57 -0
  100. data/ext/swfmill/src/swft/swft_import.cpp +38 -0
  101. data/ext/swfmill/src/swft/swft_import_binary.cpp +82 -0
  102. data/ext/swfmill/src/swft/swft_import_jpeg.cpp +255 -0
  103. data/ext/swfmill/src/swft/swft_import_mp3.cpp +268 -0
  104. data/ext/swfmill/src/swft/swft_import_png.cpp +231 -0
  105. data/ext/swfmill/src/swft/swft_import_ttf.cpp +519 -0
  106. data/ext/swfmill/src/swft/swft_import_wav.cpp +255 -0
  107. data/ext/swfmill/src/swft/swft_path.cpp +178 -0
  108. data/ext/swfmill/src/xslt/Makefile.am +51 -0
  109. data/ext/swfmill/src/xslt/Makefile.in +536 -0
  110. data/ext/swfmill/src/xslt/README +19 -0
  111. data/ext/swfmill/src/xslt/assemble.xsl +38 -0
  112. data/ext/swfmill/src/xslt/simple-deprecated.xslt +62 -0
  113. data/ext/swfmill/src/xslt/simple-elements.xslt +627 -0
  114. data/ext/swfmill/src/xslt/simple-import.xslt +565 -0
  115. data/ext/swfmill/src/xslt/simple-svg.xslt +383 -0
  116. data/ext/swfmill/src/xslt/simple-tools.xslt +255 -0
  117. data/ext/swfmill/src/xslt/simple.cpp +1686 -0
  118. data/ext/swfmill/src/xslt/simple.xml +7 -0
  119. data/ext/swfmill/src/xslt/xslt.h +7 -0
  120. data/ext/swfmill/test/Makefile.am +1 -0
  121. data/ext/swfmill/test/Makefile.in +490 -0
  122. data/ext/swfmill/test/xml/Makefile.am +20 -0
  123. data/ext/swfmill/test/xml/Makefile.in +353 -0
  124. data/ext/swfmill/test/xml/test-xml +21 -0
  125. data/ext/swfmill_ext.cc +375 -0
  126. data/lib/swfmill.rb +30 -0
  127. data/spec/data/swfmill-banner1.swf +0 -0
  128. data/spec/spec.opts +1 -0
  129. data/spec/spec_helper.rb +14 -0
  130. data/spec/swfmill_spec.rb +125 -0
  131. metadata +206 -0
@@ -0,0 +1,14 @@
1
+
2
+ NULL=
3
+
4
+ SUBDIRS = \
5
+ src \
6
+ test \
7
+ $(NULL)
8
+
9
+ EXTRA_DIST = \
10
+ depcomp \
11
+ autogen.sh \
12
+ $(NULL)
13
+
14
+ MAINTAINERCLEANFILES = Makefile.in config.log config.status configure stamp-h.in config-h.in aclocal.m4
@@ -0,0 +1,635 @@
1
+ # Makefile.in generated by automake 1.10.1 from Makefile.am.
2
+ # @configure_input@
3
+
4
+ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
+ # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
6
+ # This Makefile.in is free software; the Free Software Foundation
7
+ # gives unlimited permission to copy and/or distribute it,
8
+ # with or without modifications, as long as this notice is preserved.
9
+
10
+ # This program is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
+ # PARTICULAR PURPOSE.
14
+
15
+ @SET_MAKE@
16
+ VPATH = @srcdir@
17
+ pkgdatadir = $(datadir)/@PACKAGE@
18
+ pkglibdir = $(libdir)/@PACKAGE@
19
+ pkgincludedir = $(includedir)/@PACKAGE@
20
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
21
+ install_sh_DATA = $(install_sh) -c -m 644
22
+ install_sh_PROGRAM = $(install_sh) -c
23
+ install_sh_SCRIPT = $(install_sh) -c
24
+ INSTALL_HEADER = $(INSTALL_DATA)
25
+ transform = $(program_transform_name)
26
+ NORMAL_INSTALL = :
27
+ PRE_INSTALL = :
28
+ POST_INSTALL = :
29
+ NORMAL_UNINSTALL = :
30
+ PRE_UNINSTALL = :
31
+ POST_UNINSTALL = :
32
+ build_triplet = @build@
33
+ host_triplet = @host@
34
+ subdir = .
35
+ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
36
+ $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
37
+ NEWS TODO compile config.guess config.sub depcomp install-sh \
38
+ ltmain.sh missing
39
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40
+ am__aclocal_m4_deps = $(top_srcdir)/configure.ac
41
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
42
+ $(ACLOCAL_M4)
43
+ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
44
+ configure.lineno config.status.lineno
45
+ mkinstalldirs = $(install_sh) -d
46
+ CONFIG_CLEAN_FILES =
47
+ SOURCES =
48
+ DIST_SOURCES =
49
+ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
50
+ html-recursive info-recursive install-data-recursive \
51
+ install-dvi-recursive install-exec-recursive \
52
+ install-html-recursive install-info-recursive \
53
+ install-pdf-recursive install-ps-recursive install-recursive \
54
+ installcheck-recursive installdirs-recursive pdf-recursive \
55
+ ps-recursive uninstall-recursive
56
+ RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
57
+ distclean-recursive maintainer-clean-recursive
58
+ ETAGS = etags
59
+ CTAGS = ctags
60
+ DIST_SUBDIRS = $(SUBDIRS)
61
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
62
+ distdir = $(PACKAGE)-$(VERSION)
63
+ top_distdir = $(distdir)
64
+ am__remove_distdir = \
65
+ { test ! -d $(distdir) \
66
+ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
67
+ && rm -fr $(distdir); }; }
68
+ DIST_ARCHIVES = $(distdir).tar.gz
69
+ GZIP_ENV = --best
70
+ distuninstallcheck_listfiles = find . -type f -print
71
+ distcleancheck_listfiles = find . -type f -print
72
+ ACLOCAL = @ACLOCAL@
73
+ AMTAR = @AMTAR@
74
+ AR = @AR@
75
+ AUTOCONF = @AUTOCONF@
76
+ AUTOHEADER = @AUTOHEADER@
77
+ AUTOMAKE = @AUTOMAKE@
78
+ AWK = @AWK@
79
+ CC = @CC@
80
+ CCDEPMODE = @CCDEPMODE@
81
+ CFLAGS = @CFLAGS@
82
+ CPP = @CPP@
83
+ CPPFLAGS = @CPPFLAGS@
84
+ CXX = @CXX@
85
+ CXXCPP = @CXXCPP@
86
+ CXXDEPMODE = @CXXDEPMODE@
87
+ CXXFLAGS = @CXXFLAGS@
88
+ CYGPATH_W = @CYGPATH_W@
89
+ DEFS = @DEFS@
90
+ DEPDIR = @DEPDIR@
91
+ DSYMUTIL = @DSYMUTIL@
92
+ ECHO = @ECHO@
93
+ ECHO_C = @ECHO_C@
94
+ ECHO_N = @ECHO_N@
95
+ ECHO_T = @ECHO_T@
96
+ EGREP = @EGREP@
97
+ EXEEXT = @EXEEXT@
98
+ F77 = @F77@
99
+ FFLAGS = @FFLAGS@
100
+ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
101
+ FREETYPE_LIBS = @FREETYPE_LIBS@
102
+ GREP = @GREP@
103
+ HAVE_PKGCONFIG = @HAVE_PKGCONFIG@
104
+ INSTALL = @INSTALL@
105
+ INSTALL_DATA = @INSTALL_DATA@
106
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
107
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
108
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
109
+ LDFLAGS = @LDFLAGS@
110
+ LIBOBJS = @LIBOBJS@
111
+ LIBS = @LIBS@
112
+ LIBTOOL = @LIBTOOL@
113
+ LN_S = @LN_S@
114
+ LTLIBOBJS = @LTLIBOBJS@
115
+ MAKEINFO = @MAKEINFO@
116
+ MKDIR_P = @MKDIR_P@
117
+ NMEDIT = @NMEDIT@
118
+ OBJEXT = @OBJEXT@
119
+ PACKAGE = @PACKAGE@
120
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
121
+ PACKAGE_NAME = @PACKAGE_NAME@
122
+ PACKAGE_STRING = @PACKAGE_STRING@
123
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
124
+ PACKAGE_VERSION = @PACKAGE_VERSION@
125
+ PATH_SEPARATOR = @PATH_SEPARATOR@
126
+ PKG_CONFIG = @PKG_CONFIG@
127
+ PNG_CFLAGS = @PNG_CFLAGS@
128
+ PNG_LIBS = @PNG_LIBS@
129
+ RANLIB = @RANLIB@
130
+ SED = @SED@
131
+ SET_MAKE = @SET_MAKE@
132
+ SHELL = @SHELL@
133
+ STRIP = @STRIP@
134
+ VERSION = @VERSION@
135
+ XML_CFLAGS = @XML_CFLAGS@
136
+ XML_LIBS = @XML_LIBS@
137
+ XSLT_CFLAGS = @XSLT_CFLAGS@
138
+ XSLT_LIBS = @XSLT_LIBS@
139
+ abs_builddir = @abs_builddir@
140
+ abs_srcdir = @abs_srcdir@
141
+ abs_top_builddir = @abs_top_builddir@
142
+ abs_top_srcdir = @abs_top_srcdir@
143
+ ac_ct_CC = @ac_ct_CC@
144
+ ac_ct_CXX = @ac_ct_CXX@
145
+ ac_ct_F77 = @ac_ct_F77@
146
+ am__include = @am__include@
147
+ am__leading_dot = @am__leading_dot@
148
+ am__quote = @am__quote@
149
+ am__tar = @am__tar@
150
+ am__untar = @am__untar@
151
+ bindir = @bindir@
152
+ build = @build@
153
+ build_alias = @build_alias@
154
+ build_cpu = @build_cpu@
155
+ build_os = @build_os@
156
+ build_vendor = @build_vendor@
157
+ builddir = @builddir@
158
+ datadir = @datadir@
159
+ datarootdir = @datarootdir@
160
+ docdir = @docdir@
161
+ dvidir = @dvidir@
162
+ exec_prefix = @exec_prefix@
163
+ host = @host@
164
+ host_alias = @host_alias@
165
+ host_cpu = @host_cpu@
166
+ host_os = @host_os@
167
+ host_vendor = @host_vendor@
168
+ htmldir = @htmldir@
169
+ includedir = @includedir@
170
+ infodir = @infodir@
171
+ install_sh = @install_sh@
172
+ libdir = @libdir@
173
+ libexecdir = @libexecdir@
174
+ localedir = @localedir@
175
+ localstatedir = @localstatedir@
176
+ mandir = @mandir@
177
+ mkdir_p = @mkdir_p@
178
+ oldincludedir = @oldincludedir@
179
+ pdfdir = @pdfdir@
180
+ prefix = @prefix@
181
+ program_transform_name = @program_transform_name@
182
+ psdir = @psdir@
183
+ sbindir = @sbindir@
184
+ sharedstatedir = @sharedstatedir@
185
+ srcdir = @srcdir@
186
+ sysconfdir = @sysconfdir@
187
+ target_alias = @target_alias@
188
+ top_builddir = @top_builddir@
189
+ top_srcdir = @top_srcdir@
190
+ NULL =
191
+ SUBDIRS = \
192
+ src \
193
+ test \
194
+ $(NULL)
195
+
196
+ EXTRA_DIST = \
197
+ depcomp \
198
+ autogen.sh \
199
+ $(NULL)
200
+
201
+ MAINTAINERCLEANFILES = Makefile.in config.log config.status configure stamp-h.in config-h.in aclocal.m4
202
+ all: all-recursive
203
+
204
+ .SUFFIXES:
205
+ am--refresh:
206
+ @:
207
+ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
208
+ @for dep in $?; do \
209
+ case '$(am__configure_deps)' in \
210
+ *$$dep*) \
211
+ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
212
+ cd $(srcdir) && $(AUTOMAKE) --foreign \
213
+ && exit 0; \
214
+ exit 1;; \
215
+ esac; \
216
+ done; \
217
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
218
+ cd $(top_srcdir) && \
219
+ $(AUTOMAKE) --foreign Makefile
220
+ .PRECIOUS: Makefile
221
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
222
+ @case '$?' in \
223
+ *config.status*) \
224
+ echo ' $(SHELL) ./config.status'; \
225
+ $(SHELL) ./config.status;; \
226
+ *) \
227
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
228
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
229
+ esac;
230
+
231
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
232
+ $(SHELL) ./config.status --recheck
233
+
234
+ $(top_srcdir)/configure: $(am__configure_deps)
235
+ cd $(srcdir) && $(AUTOCONF)
236
+ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
237
+ cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
238
+
239
+ mostlyclean-libtool:
240
+ -rm -f *.lo
241
+
242
+ clean-libtool:
243
+ -rm -rf .libs _libs
244
+
245
+ distclean-libtool:
246
+ -rm -f libtool
247
+
248
+ # This directory's subdirectories are mostly independent; you can cd
249
+ # into them and run `make' without going through this Makefile.
250
+ # To change the values of `make' variables: instead of editing Makefiles,
251
+ # (1) if the variable is set in `config.status', edit `config.status'
252
+ # (which will cause the Makefiles to be regenerated when you run `make');
253
+ # (2) otherwise, pass the desired values on the `make' command line.
254
+ $(RECURSIVE_TARGETS):
255
+ @failcom='exit 1'; \
256
+ for f in x $$MAKEFLAGS; do \
257
+ case $$f in \
258
+ *=* | --[!k]*);; \
259
+ *k*) failcom='fail=yes';; \
260
+ esac; \
261
+ done; \
262
+ dot_seen=no; \
263
+ target=`echo $@ | sed s/-recursive//`; \
264
+ list='$(SUBDIRS)'; for subdir in $$list; do \
265
+ echo "Making $$target in $$subdir"; \
266
+ if test "$$subdir" = "."; then \
267
+ dot_seen=yes; \
268
+ local_target="$$target-am"; \
269
+ else \
270
+ local_target="$$target"; \
271
+ fi; \
272
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
273
+ || eval $$failcom; \
274
+ done; \
275
+ if test "$$dot_seen" = "no"; then \
276
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
277
+ fi; test -z "$$fail"
278
+
279
+ $(RECURSIVE_CLEAN_TARGETS):
280
+ @failcom='exit 1'; \
281
+ for f in x $$MAKEFLAGS; do \
282
+ case $$f in \
283
+ *=* | --[!k]*);; \
284
+ *k*) failcom='fail=yes';; \
285
+ esac; \
286
+ done; \
287
+ dot_seen=no; \
288
+ case "$@" in \
289
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
290
+ *) list='$(SUBDIRS)' ;; \
291
+ esac; \
292
+ rev=''; for subdir in $$list; do \
293
+ if test "$$subdir" = "."; then :; else \
294
+ rev="$$subdir $$rev"; \
295
+ fi; \
296
+ done; \
297
+ rev="$$rev ."; \
298
+ target=`echo $@ | sed s/-recursive//`; \
299
+ for subdir in $$rev; do \
300
+ echo "Making $$target in $$subdir"; \
301
+ if test "$$subdir" = "."; then \
302
+ local_target="$$target-am"; \
303
+ else \
304
+ local_target="$$target"; \
305
+ fi; \
306
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
307
+ || eval $$failcom; \
308
+ done && test -z "$$fail"
309
+ tags-recursive:
310
+ list='$(SUBDIRS)'; for subdir in $$list; do \
311
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
312
+ done
313
+ ctags-recursive:
314
+ list='$(SUBDIRS)'; for subdir in $$list; do \
315
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
316
+ done
317
+
318
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
319
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
320
+ unique=`for i in $$list; do \
321
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
322
+ done | \
323
+ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
324
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
325
+ mkid -fID $$unique
326
+ tags: TAGS
327
+
328
+ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
329
+ $(TAGS_FILES) $(LISP)
330
+ tags=; \
331
+ here=`pwd`; \
332
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
333
+ include_option=--etags-include; \
334
+ empty_fix=.; \
335
+ else \
336
+ include_option=--include; \
337
+ empty_fix=; \
338
+ fi; \
339
+ list='$(SUBDIRS)'; for subdir in $$list; do \
340
+ if test "$$subdir" = .; then :; else \
341
+ test ! -f $$subdir/TAGS || \
342
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
343
+ fi; \
344
+ done; \
345
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
346
+ unique=`for i in $$list; do \
347
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
348
+ done | \
349
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
350
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
351
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
352
+ test -n "$$unique" || unique=$$empty_fix; \
353
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
354
+ $$tags $$unique; \
355
+ fi
356
+ ctags: CTAGS
357
+ CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
358
+ $(TAGS_FILES) $(LISP)
359
+ tags=; \
360
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
361
+ unique=`for i in $$list; do \
362
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
363
+ done | \
364
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
365
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
366
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
367
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
368
+ $$tags $$unique
369
+
370
+ GTAGS:
371
+ here=`$(am__cd) $(top_builddir) && pwd` \
372
+ && cd $(top_srcdir) \
373
+ && gtags -i $(GTAGS_ARGS) $$here
374
+
375
+ distclean-tags:
376
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
377
+
378
+ distdir: $(DISTFILES)
379
+ $(am__remove_distdir)
380
+ test -d $(distdir) || mkdir $(distdir)
381
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
382
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
383
+ list='$(DISTFILES)'; \
384
+ dist_files=`for file in $$list; do echo $$file; done | \
385
+ sed -e "s|^$$srcdirstrip/||;t" \
386
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
387
+ case $$dist_files in \
388
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
389
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
390
+ sort -u` ;; \
391
+ esac; \
392
+ for file in $$dist_files; do \
393
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
394
+ if test -d $$d/$$file; then \
395
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
396
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
397
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
398
+ fi; \
399
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
400
+ else \
401
+ test -f $(distdir)/$$file \
402
+ || cp -p $$d/$$file $(distdir)/$$file \
403
+ || exit 1; \
404
+ fi; \
405
+ done
406
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
407
+ if test "$$subdir" = .; then :; else \
408
+ test -d "$(distdir)/$$subdir" \
409
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
410
+ || exit 1; \
411
+ distdir=`$(am__cd) $(distdir) && pwd`; \
412
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
413
+ (cd $$subdir && \
414
+ $(MAKE) $(AM_MAKEFLAGS) \
415
+ top_distdir="$$top_distdir" \
416
+ distdir="$$distdir/$$subdir" \
417
+ am__remove_distdir=: \
418
+ am__skip_length_check=: \
419
+ distdir) \
420
+ || exit 1; \
421
+ fi; \
422
+ done
423
+ -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
424
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
425
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
426
+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
427
+ || chmod -R a+r $(distdir)
428
+ dist-gzip: distdir
429
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
430
+ $(am__remove_distdir)
431
+
432
+ dist-bzip2: distdir
433
+ tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
434
+ $(am__remove_distdir)
435
+
436
+ dist-lzma: distdir
437
+ tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
438
+ $(am__remove_distdir)
439
+
440
+ dist-tarZ: distdir
441
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
442
+ $(am__remove_distdir)
443
+
444
+ dist-shar: distdir
445
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
446
+ $(am__remove_distdir)
447
+
448
+ dist-zip: distdir
449
+ -rm -f $(distdir).zip
450
+ zip -rq $(distdir).zip $(distdir)
451
+ $(am__remove_distdir)
452
+
453
+ dist dist-all: distdir
454
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
455
+ $(am__remove_distdir)
456
+
457
+ # This target untars the dist file and tries a VPATH configuration. Then
458
+ # it guarantees that the distribution is self-contained by making another
459
+ # tarfile.
460
+ distcheck: dist
461
+ case '$(DIST_ARCHIVES)' in \
462
+ *.tar.gz*) \
463
+ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
464
+ *.tar.bz2*) \
465
+ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
466
+ *.tar.lzma*) \
467
+ unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
468
+ *.tar.Z*) \
469
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
470
+ *.shar.gz*) \
471
+ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
472
+ *.zip*) \
473
+ unzip $(distdir).zip ;;\
474
+ esac
475
+ chmod -R a-w $(distdir); chmod a+w $(distdir)
476
+ mkdir $(distdir)/_build
477
+ mkdir $(distdir)/_inst
478
+ chmod a-w $(distdir)
479
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
480
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
481
+ && cd $(distdir)/_build \
482
+ && ../configure --srcdir=.. --prefix="$$dc_install_base" \
483
+ $(DISTCHECK_CONFIGURE_FLAGS) \
484
+ && $(MAKE) $(AM_MAKEFLAGS) \
485
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
486
+ && $(MAKE) $(AM_MAKEFLAGS) check \
487
+ && $(MAKE) $(AM_MAKEFLAGS) install \
488
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
489
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
490
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
491
+ distuninstallcheck \
492
+ && chmod -R a-w "$$dc_install_base" \
493
+ && ({ \
494
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
495
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
496
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
497
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
498
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
499
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
500
+ && rm -rf "$$dc_destdir" \
501
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
502
+ && rm -rf $(DIST_ARCHIVES) \
503
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
504
+ $(am__remove_distdir)
505
+ @(echo "$(distdir) archives ready for distribution: "; \
506
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
507
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
508
+ distuninstallcheck:
509
+ @cd $(distuninstallcheck_dir) \
510
+ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
511
+ || { echo "ERROR: files left after uninstall:" ; \
512
+ if test -n "$(DESTDIR)"; then \
513
+ echo " (check DESTDIR support)"; \
514
+ fi ; \
515
+ $(distuninstallcheck_listfiles) ; \
516
+ exit 1; } >&2
517
+ distcleancheck: distclean
518
+ @if test '$(srcdir)' = . ; then \
519
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
520
+ exit 1 ; \
521
+ fi
522
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
523
+ || { echo "ERROR: files left in build directory after distclean:" ; \
524
+ $(distcleancheck_listfiles) ; \
525
+ exit 1; } >&2
526
+ check-am: all-am
527
+ check: check-recursive
528
+ all-am: Makefile
529
+ installdirs: installdirs-recursive
530
+ installdirs-am:
531
+ install: install-recursive
532
+ install-exec: install-exec-recursive
533
+ install-data: install-data-recursive
534
+ uninstall: uninstall-recursive
535
+
536
+ install-am: all-am
537
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
538
+
539
+ installcheck: installcheck-recursive
540
+ install-strip:
541
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
542
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
543
+ `test -z '$(STRIP)' || \
544
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
545
+ mostlyclean-generic:
546
+
547
+ clean-generic:
548
+
549
+ distclean-generic:
550
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
551
+
552
+ maintainer-clean-generic:
553
+ @echo "This command is intended for maintainers to use"
554
+ @echo "it deletes files that may require special tools to rebuild."
555
+ -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
556
+ clean: clean-recursive
557
+
558
+ clean-am: clean-generic clean-libtool mostlyclean-am
559
+
560
+ distclean: distclean-recursive
561
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
562
+ -rm -f Makefile
563
+ distclean-am: clean-am distclean-generic distclean-libtool \
564
+ distclean-tags
565
+
566
+ dvi: dvi-recursive
567
+
568
+ dvi-am:
569
+
570
+ html: html-recursive
571
+
572
+ info: info-recursive
573
+
574
+ info-am:
575
+
576
+ install-data-am:
577
+
578
+ install-dvi: install-dvi-recursive
579
+
580
+ install-exec-am:
581
+
582
+ install-html: install-html-recursive
583
+
584
+ install-info: install-info-recursive
585
+
586
+ install-man:
587
+
588
+ install-pdf: install-pdf-recursive
589
+
590
+ install-ps: install-ps-recursive
591
+
592
+ installcheck-am:
593
+
594
+ maintainer-clean: maintainer-clean-recursive
595
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
596
+ -rm -rf $(top_srcdir)/autom4te.cache
597
+ -rm -f Makefile
598
+ maintainer-clean-am: distclean-am maintainer-clean-generic
599
+
600
+ mostlyclean: mostlyclean-recursive
601
+
602
+ mostlyclean-am: mostlyclean-generic mostlyclean-libtool
603
+
604
+ pdf: pdf-recursive
605
+
606
+ pdf-am:
607
+
608
+ ps: ps-recursive
609
+
610
+ ps-am:
611
+
612
+ uninstall-am:
613
+
614
+ .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
615
+ install-strip
616
+
617
+ .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
618
+ all all-am am--refresh check check-am clean clean-generic \
619
+ clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \
620
+ dist-gzip dist-lzma dist-shar dist-tarZ dist-zip distcheck \
621
+ distclean distclean-generic distclean-libtool distclean-tags \
622
+ distcleancheck distdir distuninstallcheck dvi dvi-am html \
623
+ html-am info info-am install install-am install-data \
624
+ install-data-am install-dvi install-dvi-am install-exec \
625
+ install-exec-am install-html install-html-am install-info \
626
+ install-info-am install-man install-pdf install-pdf-am \
627
+ install-ps install-ps-am install-strip installcheck \
628
+ installcheck-am installdirs installdirs-am maintainer-clean \
629
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
630
+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
631
+ uninstall uninstall-am
632
+
633
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
634
+ # Otherwise a system limit (for SysV at least) may be exceeded.
635
+ .NOEXPORT: