swfmill 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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,7 @@
1
+ <compilation name="simple">
2
+ <include src="simple-tools.xslt"/>
3
+ <include src="simple-elements.xslt"/>
4
+ <include src="simple-import.xslt"/>
5
+ <include src="simple-svg.xslt"/>
6
+ <include src="simple-deprecated.xslt"/>
7
+ </compilation>
@@ -0,0 +1,7 @@
1
+ #ifndef SWF_XSLT_H
2
+ #define SWF_XSLT_H
3
+
4
+ // definitions for "in-memory" stylesheets
5
+ extern const char *xslt_simple;
6
+
7
+ #endif
@@ -0,0 +1 @@
1
+ SUBDIRS = xml
@@ -0,0 +1,490 @@
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 = test
35
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
36
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
37
+ am__aclocal_m4_deps = $(top_srcdir)/configure.ac
38
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
39
+ $(ACLOCAL_M4)
40
+ mkinstalldirs = $(install_sh) -d
41
+ CONFIG_CLEAN_FILES =
42
+ SOURCES =
43
+ DIST_SOURCES =
44
+ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
45
+ html-recursive info-recursive install-data-recursive \
46
+ install-dvi-recursive install-exec-recursive \
47
+ install-html-recursive install-info-recursive \
48
+ install-pdf-recursive install-ps-recursive install-recursive \
49
+ installcheck-recursive installdirs-recursive pdf-recursive \
50
+ ps-recursive uninstall-recursive
51
+ RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
52
+ distclean-recursive maintainer-clean-recursive
53
+ ETAGS = etags
54
+ CTAGS = ctags
55
+ DIST_SUBDIRS = $(SUBDIRS)
56
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
57
+ ACLOCAL = @ACLOCAL@
58
+ AMTAR = @AMTAR@
59
+ AR = @AR@
60
+ AUTOCONF = @AUTOCONF@
61
+ AUTOHEADER = @AUTOHEADER@
62
+ AUTOMAKE = @AUTOMAKE@
63
+ AWK = @AWK@
64
+ CC = @CC@
65
+ CCDEPMODE = @CCDEPMODE@
66
+ CFLAGS = @CFLAGS@
67
+ CPP = @CPP@
68
+ CPPFLAGS = @CPPFLAGS@
69
+ CXX = @CXX@
70
+ CXXCPP = @CXXCPP@
71
+ CXXDEPMODE = @CXXDEPMODE@
72
+ CXXFLAGS = @CXXFLAGS@
73
+ CYGPATH_W = @CYGPATH_W@
74
+ DEFS = @DEFS@
75
+ DEPDIR = @DEPDIR@
76
+ DSYMUTIL = @DSYMUTIL@
77
+ ECHO = @ECHO@
78
+ ECHO_C = @ECHO_C@
79
+ ECHO_N = @ECHO_N@
80
+ ECHO_T = @ECHO_T@
81
+ EGREP = @EGREP@
82
+ EXEEXT = @EXEEXT@
83
+ F77 = @F77@
84
+ FFLAGS = @FFLAGS@
85
+ FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
86
+ FREETYPE_LIBS = @FREETYPE_LIBS@
87
+ GREP = @GREP@
88
+ HAVE_PKGCONFIG = @HAVE_PKGCONFIG@
89
+ INSTALL = @INSTALL@
90
+ INSTALL_DATA = @INSTALL_DATA@
91
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
92
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
93
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
94
+ LDFLAGS = @LDFLAGS@
95
+ LIBOBJS = @LIBOBJS@
96
+ LIBS = @LIBS@
97
+ LIBTOOL = @LIBTOOL@
98
+ LN_S = @LN_S@
99
+ LTLIBOBJS = @LTLIBOBJS@
100
+ MAKEINFO = @MAKEINFO@
101
+ MKDIR_P = @MKDIR_P@
102
+ NMEDIT = @NMEDIT@
103
+ OBJEXT = @OBJEXT@
104
+ PACKAGE = @PACKAGE@
105
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
106
+ PACKAGE_NAME = @PACKAGE_NAME@
107
+ PACKAGE_STRING = @PACKAGE_STRING@
108
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
109
+ PACKAGE_VERSION = @PACKAGE_VERSION@
110
+ PATH_SEPARATOR = @PATH_SEPARATOR@
111
+ PKG_CONFIG = @PKG_CONFIG@
112
+ PNG_CFLAGS = @PNG_CFLAGS@
113
+ PNG_LIBS = @PNG_LIBS@
114
+ RANLIB = @RANLIB@
115
+ SED = @SED@
116
+ SET_MAKE = @SET_MAKE@
117
+ SHELL = @SHELL@
118
+ STRIP = @STRIP@
119
+ VERSION = @VERSION@
120
+ XML_CFLAGS = @XML_CFLAGS@
121
+ XML_LIBS = @XML_LIBS@
122
+ XSLT_CFLAGS = @XSLT_CFLAGS@
123
+ XSLT_LIBS = @XSLT_LIBS@
124
+ abs_builddir = @abs_builddir@
125
+ abs_srcdir = @abs_srcdir@
126
+ abs_top_builddir = @abs_top_builddir@
127
+ abs_top_srcdir = @abs_top_srcdir@
128
+ ac_ct_CC = @ac_ct_CC@
129
+ ac_ct_CXX = @ac_ct_CXX@
130
+ ac_ct_F77 = @ac_ct_F77@
131
+ am__include = @am__include@
132
+ am__leading_dot = @am__leading_dot@
133
+ am__quote = @am__quote@
134
+ am__tar = @am__tar@
135
+ am__untar = @am__untar@
136
+ bindir = @bindir@
137
+ build = @build@
138
+ build_alias = @build_alias@
139
+ build_cpu = @build_cpu@
140
+ build_os = @build_os@
141
+ build_vendor = @build_vendor@
142
+ builddir = @builddir@
143
+ datadir = @datadir@
144
+ datarootdir = @datarootdir@
145
+ docdir = @docdir@
146
+ dvidir = @dvidir@
147
+ exec_prefix = @exec_prefix@
148
+ host = @host@
149
+ host_alias = @host_alias@
150
+ host_cpu = @host_cpu@
151
+ host_os = @host_os@
152
+ host_vendor = @host_vendor@
153
+ htmldir = @htmldir@
154
+ includedir = @includedir@
155
+ infodir = @infodir@
156
+ install_sh = @install_sh@
157
+ libdir = @libdir@
158
+ libexecdir = @libexecdir@
159
+ localedir = @localedir@
160
+ localstatedir = @localstatedir@
161
+ mandir = @mandir@
162
+ mkdir_p = @mkdir_p@
163
+ oldincludedir = @oldincludedir@
164
+ pdfdir = @pdfdir@
165
+ prefix = @prefix@
166
+ program_transform_name = @program_transform_name@
167
+ psdir = @psdir@
168
+ sbindir = @sbindir@
169
+ sharedstatedir = @sharedstatedir@
170
+ srcdir = @srcdir@
171
+ sysconfdir = @sysconfdir@
172
+ target_alias = @target_alias@
173
+ top_builddir = @top_builddir@
174
+ top_srcdir = @top_srcdir@
175
+ SUBDIRS = xml
176
+ all: all-recursive
177
+
178
+ .SUFFIXES:
179
+ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
180
+ @for dep in $?; do \
181
+ case '$(am__configure_deps)' in \
182
+ *$$dep*) \
183
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
184
+ && exit 0; \
185
+ exit 1;; \
186
+ esac; \
187
+ done; \
188
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test/Makefile'; \
189
+ cd $(top_srcdir) && \
190
+ $(AUTOMAKE) --foreign test/Makefile
191
+ .PRECIOUS: Makefile
192
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
193
+ @case '$?' in \
194
+ *config.status*) \
195
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
196
+ *) \
197
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
198
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
199
+ esac;
200
+
201
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
202
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
203
+
204
+ $(top_srcdir)/configure: $(am__configure_deps)
205
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
206
+ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
207
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
208
+
209
+ mostlyclean-libtool:
210
+ -rm -f *.lo
211
+
212
+ clean-libtool:
213
+ -rm -rf .libs _libs
214
+
215
+ # This directory's subdirectories are mostly independent; you can cd
216
+ # into them and run `make' without going through this Makefile.
217
+ # To change the values of `make' variables: instead of editing Makefiles,
218
+ # (1) if the variable is set in `config.status', edit `config.status'
219
+ # (which will cause the Makefiles to be regenerated when you run `make');
220
+ # (2) otherwise, pass the desired values on the `make' command line.
221
+ $(RECURSIVE_TARGETS):
222
+ @failcom='exit 1'; \
223
+ for f in x $$MAKEFLAGS; do \
224
+ case $$f in \
225
+ *=* | --[!k]*);; \
226
+ *k*) failcom='fail=yes';; \
227
+ esac; \
228
+ done; \
229
+ dot_seen=no; \
230
+ target=`echo $@ | sed s/-recursive//`; \
231
+ list='$(SUBDIRS)'; for subdir in $$list; do \
232
+ echo "Making $$target in $$subdir"; \
233
+ if test "$$subdir" = "."; then \
234
+ dot_seen=yes; \
235
+ local_target="$$target-am"; \
236
+ else \
237
+ local_target="$$target"; \
238
+ fi; \
239
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
240
+ || eval $$failcom; \
241
+ done; \
242
+ if test "$$dot_seen" = "no"; then \
243
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
244
+ fi; test -z "$$fail"
245
+
246
+ $(RECURSIVE_CLEAN_TARGETS):
247
+ @failcom='exit 1'; \
248
+ for f in x $$MAKEFLAGS; do \
249
+ case $$f in \
250
+ *=* | --[!k]*);; \
251
+ *k*) failcom='fail=yes';; \
252
+ esac; \
253
+ done; \
254
+ dot_seen=no; \
255
+ case "$@" in \
256
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
257
+ *) list='$(SUBDIRS)' ;; \
258
+ esac; \
259
+ rev=''; for subdir in $$list; do \
260
+ if test "$$subdir" = "."; then :; else \
261
+ rev="$$subdir $$rev"; \
262
+ fi; \
263
+ done; \
264
+ rev="$$rev ."; \
265
+ target=`echo $@ | sed s/-recursive//`; \
266
+ for subdir in $$rev; do \
267
+ echo "Making $$target in $$subdir"; \
268
+ if test "$$subdir" = "."; then \
269
+ local_target="$$target-am"; \
270
+ else \
271
+ local_target="$$target"; \
272
+ fi; \
273
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
274
+ || eval $$failcom; \
275
+ done && test -z "$$fail"
276
+ tags-recursive:
277
+ list='$(SUBDIRS)'; for subdir in $$list; do \
278
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
279
+ done
280
+ ctags-recursive:
281
+ list='$(SUBDIRS)'; for subdir in $$list; do \
282
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
283
+ done
284
+
285
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
286
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
287
+ unique=`for i in $$list; do \
288
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
289
+ done | \
290
+ $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
291
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
292
+ mkid -fID $$unique
293
+ tags: TAGS
294
+
295
+ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
296
+ $(TAGS_FILES) $(LISP)
297
+ tags=; \
298
+ here=`pwd`; \
299
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
300
+ include_option=--etags-include; \
301
+ empty_fix=.; \
302
+ else \
303
+ include_option=--include; \
304
+ empty_fix=; \
305
+ fi; \
306
+ list='$(SUBDIRS)'; for subdir in $$list; do \
307
+ if test "$$subdir" = .; then :; else \
308
+ test ! -f $$subdir/TAGS || \
309
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
310
+ fi; \
311
+ done; \
312
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
313
+ unique=`for i in $$list; do \
314
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
315
+ done | \
316
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
317
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
318
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
319
+ test -n "$$unique" || unique=$$empty_fix; \
320
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
321
+ $$tags $$unique; \
322
+ fi
323
+ ctags: CTAGS
324
+ CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
325
+ $(TAGS_FILES) $(LISP)
326
+ tags=; \
327
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
328
+ unique=`for i in $$list; do \
329
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
330
+ done | \
331
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
332
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
333
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
334
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
335
+ $$tags $$unique
336
+
337
+ GTAGS:
338
+ here=`$(am__cd) $(top_builddir) && pwd` \
339
+ && cd $(top_srcdir) \
340
+ && gtags -i $(GTAGS_ARGS) $$here
341
+
342
+ distclean-tags:
343
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
344
+
345
+ distdir: $(DISTFILES)
346
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
347
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
348
+ list='$(DISTFILES)'; \
349
+ dist_files=`for file in $$list; do echo $$file; done | \
350
+ sed -e "s|^$$srcdirstrip/||;t" \
351
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
352
+ case $$dist_files in \
353
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
354
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
355
+ sort -u` ;; \
356
+ esac; \
357
+ for file in $$dist_files; do \
358
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
359
+ if test -d $$d/$$file; then \
360
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
361
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
362
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
363
+ fi; \
364
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
365
+ else \
366
+ test -f $(distdir)/$$file \
367
+ || cp -p $$d/$$file $(distdir)/$$file \
368
+ || exit 1; \
369
+ fi; \
370
+ done
371
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
372
+ if test "$$subdir" = .; then :; else \
373
+ test -d "$(distdir)/$$subdir" \
374
+ || $(MKDIR_P) "$(distdir)/$$subdir" \
375
+ || exit 1; \
376
+ distdir=`$(am__cd) $(distdir) && pwd`; \
377
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
378
+ (cd $$subdir && \
379
+ $(MAKE) $(AM_MAKEFLAGS) \
380
+ top_distdir="$$top_distdir" \
381
+ distdir="$$distdir/$$subdir" \
382
+ am__remove_distdir=: \
383
+ am__skip_length_check=: \
384
+ distdir) \
385
+ || exit 1; \
386
+ fi; \
387
+ done
388
+ check-am: all-am
389
+ check: check-recursive
390
+ all-am: Makefile
391
+ installdirs: installdirs-recursive
392
+ installdirs-am:
393
+ install: install-recursive
394
+ install-exec: install-exec-recursive
395
+ install-data: install-data-recursive
396
+ uninstall: uninstall-recursive
397
+
398
+ install-am: all-am
399
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
400
+
401
+ installcheck: installcheck-recursive
402
+ install-strip:
403
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
404
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
405
+ `test -z '$(STRIP)' || \
406
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
407
+ mostlyclean-generic:
408
+
409
+ clean-generic:
410
+
411
+ distclean-generic:
412
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
413
+
414
+ maintainer-clean-generic:
415
+ @echo "This command is intended for maintainers to use"
416
+ @echo "it deletes files that may require special tools to rebuild."
417
+ clean: clean-recursive
418
+
419
+ clean-am: clean-generic clean-libtool mostlyclean-am
420
+
421
+ distclean: distclean-recursive
422
+ -rm -f Makefile
423
+ distclean-am: clean-am distclean-generic distclean-tags
424
+
425
+ dvi: dvi-recursive
426
+
427
+ dvi-am:
428
+
429
+ html: html-recursive
430
+
431
+ info: info-recursive
432
+
433
+ info-am:
434
+
435
+ install-data-am:
436
+
437
+ install-dvi: install-dvi-recursive
438
+
439
+ install-exec-am:
440
+
441
+ install-html: install-html-recursive
442
+
443
+ install-info: install-info-recursive
444
+
445
+ install-man:
446
+
447
+ install-pdf: install-pdf-recursive
448
+
449
+ install-ps: install-ps-recursive
450
+
451
+ installcheck-am:
452
+
453
+ maintainer-clean: maintainer-clean-recursive
454
+ -rm -f Makefile
455
+ maintainer-clean-am: distclean-am maintainer-clean-generic
456
+
457
+ mostlyclean: mostlyclean-recursive
458
+
459
+ mostlyclean-am: mostlyclean-generic mostlyclean-libtool
460
+
461
+ pdf: pdf-recursive
462
+
463
+ pdf-am:
464
+
465
+ ps: ps-recursive
466
+
467
+ ps-am:
468
+
469
+ uninstall-am:
470
+
471
+ .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
472
+ install-strip
473
+
474
+ .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
475
+ all all-am check check-am clean clean-generic clean-libtool \
476
+ ctags ctags-recursive distclean distclean-generic \
477
+ distclean-libtool distclean-tags distdir dvi dvi-am html \
478
+ html-am info info-am install install-am install-data \
479
+ install-data-am install-dvi install-dvi-am install-exec \
480
+ install-exec-am install-html install-html-am install-info \
481
+ install-info-am install-man install-pdf install-pdf-am \
482
+ install-ps install-ps-am install-strip installcheck \
483
+ installcheck-am installdirs installdirs-am maintainer-clean \
484
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
485
+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
486
+ uninstall uninstall-am
487
+
488
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
489
+ # Otherwise a system limit (for SysV at least) may be exceeded.
490
+ .NOEXPORT: