swfmill 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. data/.swfmill +0 -134
  2. data/README.rdoc +28 -8
  3. data/Rakefile +6 -5
  4. data/VERSION +1 -1
  5. data/ext/.gitignore +1 -0
  6. data/ext/buffer.h +95 -0
  7. data/ext/deflate.h +125 -0
  8. data/ext/extconf.rb +77 -43
  9. data/ext/inflate.h +82 -0
  10. data/ext/swfmill/.gitignore +3 -16
  11. data/ext/swfmill/AUTHORS +2 -1
  12. data/ext/swfmill/Makefile.in +2 -1
  13. data/ext/swfmill/NEWS +5 -0
  14. data/ext/swfmill/autogen.sh +7 -1
  15. data/ext/swfmill/configure +361 -275
  16. data/ext/swfmill/configure.ac +28 -20
  17. data/ext/swfmill/src/Makefile.am +93 -20
  18. data/ext/swfmill/src/Makefile.in +454 -170
  19. data/ext/swfmill/src/SWF.h +3 -0
  20. data/ext/swfmill/src/SWFFile.cpp +1 -1
  21. data/ext/swfmill/src/SWFShapeMaker.cpp +4 -3
  22. data/ext/swfmill/src/codegen/basics.xsl +2 -1
  23. data/ext/swfmill/src/codegen/header.xsl +3 -0
  24. data/ext/swfmill/src/codegen/parsexml.xsl +53 -2
  25. data/ext/swfmill/src/codegen/writexml.xsl +54 -1
  26. data/ext/swfmill/src/swfmill.cpp +52 -35
  27. data/ext/swfmill/src/swft/swft_import_jpeg.cpp +62 -16
  28. data/ext/swfmill/src/xslt/simple-elements.xslt +1 -0
  29. data/ext/swfmill/test/Makefile.in +2 -1
  30. data/ext/swfmill/test/xml/Makefile.in +2 -1
  31. data/ext/swfmill_ext.cc +12 -366
  32. data/ext/swfmill_ext_to_swf.cc +260 -0
  33. data/ext/swfmill_ext_to_swf.h +6 -0
  34. data/ext/swfmill_ext_to_xml.cc +262 -0
  35. data/ext/swfmill_ext_to_xml.h +6 -0
  36. data/ext/test/Makefile +16 -0
  37. data/ext/test/buffer_test.cc +84 -0
  38. data/ext/test/deflate_test.cc +61 -0
  39. data/ext/test/inflate_test.cc +84 -0
  40. data/ext/test/test.dat +0 -0
  41. data/lib/swfmill.rb +14 -23
  42. data/spec/swfmill_spec.rb +0 -123
  43. metadata +28 -17
  44. data/ext/swfmill/src/codegen/Makefile.am +0 -15
  45. data/ext/swfmill/src/codegen/Makefile.in +0 -346
  46. data/ext/swfmill/src/swft/Makefile.am +0 -55
  47. data/ext/swfmill/src/swft/Makefile.in +0 -717
  48. data/ext/swfmill/src/xslt/Makefile.am +0 -51
  49. data/ext/swfmill/src/xslt/Makefile.in +0 -536
  50. data/ext/swfmill/src/xslt/README +0 -19
  51. data/ext/swfmill/src/xslt/simple.cpp +0 -1686
Binary file
@@ -1,30 +1,21 @@
1
1
  require "swfmill_ext"
2
- require "zlib"
3
2
 
4
3
  module Swfmill
5
- def self.parse(str)
6
- str = str.to_s
7
-
8
- signature = str[0, 3]
9
- raise Error unless signature == "CWS" || signature == "FWS"
10
-
11
- version = str[3, 1].unpack("C").first
12
-
13
- data = str[8 .. -1]
14
- data = Zlib::Inflate.inflate(data) if signature == "CWS"
15
-
16
- to_xmlstr(data, :version => version, :compressed => (signature == "CWS"))
17
- end
18
-
19
- def self.load_file(fn)
20
- open(fn, "rb"){ |f| load_stream(f) }
21
- end
22
-
23
- def self.load_stream(st)
24
- parse(st.read)
4
+ def self.swf2xml(string_or_io, option={})
5
+ if string_or_io.respond_to? :read
6
+ Swfmill.swf2xml(string_or_io.read, option)
7
+ else
8
+ encoding = option[:e] || option[:encoding] || 'UTF-8'
9
+ Swfmill.to_xml(string_or_io.to_s, encoding.to_s)
10
+ end
25
11
  end
26
12
 
27
- def self.publish(xmlstr)
28
- to_swf(xmlstr)
13
+ def self.xml2swf(string_or_io, option={})
14
+ if string_or_io.respond_to? :read
15
+ xml2swf(string_or_io.read, option)
16
+ else
17
+ encoding = option[:e] || option[:encoding] || 'UTF-8'
18
+ to_swf(string_or_io.to_s, encoding.to_s)
19
+ end
29
20
  end
30
21
  end
@@ -1,125 +1,2 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
3
- require "tempfile"
4
-
5
- context Swfmill, ".load_file" do
6
- it "openできなければ例外が発生すること" do
7
- lambda{ Swfmill.load_file(nil) }.should raise_exception
8
- end
9
-
10
- it "load_streamをコールすること" do
11
- Swfmill.should_receive(:load_stream)
12
- Swfmill.load_file(Tempfile.new(File.basename(__FILE__)).path)
13
- end
14
- end
15
-
16
- context Swfmill, ".load_stream" do
17
- it "readできなければ例外が発生すること" do
18
- lambda{ Swfmill.load_stream(Object.new) }.should raise_exception
19
- end
20
-
21
- it "parseをコールすること" do
22
- Swfmill.should_receive(:parse).with(true)
23
- Swfmill.load_stream(stub("readable", :read => true))
24
- end
25
- end
26
-
27
- context Swfmill, ".parse" do
28
- it "引数をto_sすること" do
29
- Swfmill.should_receive(:to_xmlstr)
30
- Swfmill.parse(mock("to_s", :to_s => dummy_data))
31
- end
32
-
33
- it "不正なデータを受け取ったらSwfmill::Errorを返すこと" do
34
- lambda{ Swfmill.parse("invalid_swf_data") }.should raise_exception Swfmill::Error
35
- end
36
-
37
- it "FWSで始まっていないデータを受け取ったらSwfmill::Errorを返すこと" do
38
- lambda{ Swfmill.parse("fws") }.should raise_exception Swfmill::Error
39
- lambda{ Swfmill.parse("fWS") }.should raise_exception Swfmill::Error
40
- lambda{ Swfmill.parse("FWS") }.should_not raise_exception Swfmill::Error
41
- end
42
-
43
- it "CWSで始まっていないデータを受け取ったらSwfmill::Errorを返すこと" do
44
- lambda{ Swfmill.parse("cws") }.should raise_exception Swfmill::Error
45
- lambda{ Swfmill.parse("cWS") }.should raise_exception Swfmill::Error
46
- lambda{ Swfmill.parse("CWS") }.should_not raise_exception Swfmill::Error
47
- end
48
- end
49
-
50
- context Swfmill, ".parseにCWSを渡した場合" do
51
- it "Zlib::Inflate.inflateがコールされること" do
52
- Zlib::Inflate.should_receive(:inflate)
53
-
54
- Swfmill.should_receive(:to_xmlstr)
55
- Swfmill.parse("CWS")
56
- end
57
-
58
- it "Zlib::Inflate.inflateに8バイト以降のデータが渡されること" do
59
- Zlib::Inflate.should_receive(:inflate).with("12345").and_return("12345")
60
-
61
- Swfmill.should_receive(:to_xmlstr).with("12345", anything)
62
- Swfmill.parse("CWSxxxxx12345")
63
- end
64
-
65
- it "第2引数に{ :version => 9, :compressed => false }を受け取ること" do
66
- Swfmill.should_receive(:to_xmlstr).with("abc", { :version => 9, :compressed => false })
67
- Swfmill.parse("FWS\x09xxxxabc")
68
- end
69
-
70
- it "第2引数に{ :version => 1, :compressed => true }を受け取ること" do
71
- Swfmill.should_receive(:to_xmlstr).with("abc", { :version => 1, :compressed => true })
72
- Swfmill.parse("CWS\x01xxxx" + Zlib::Deflate.deflate("abc"))
73
- end
74
- end
75
-
76
- context Swfmill, ".to_xmlstr" do
77
- it { lambda{ Swfmill.to_xmlstr }.should raise_exception }
78
- it { lambda{ Swfmill.to_xmlstr(:non_string_object) }.should raise_exception }
79
- it { lambda{ Swfmill.to_xmlstr("", :non_hash_object) }.should raise_exception }
80
-
81
- it "XML文字列を返すこと" do
82
- Swfmill.parse(dummy_data).should include '<?xml version="1.0"?>'
83
- end
84
- end
85
-
86
- context Swfmill, ".to_swf" do
87
- it do
88
- lambda { Swfmill.to_swf("") }.should raise_exception
89
- end
90
-
91
- it do
92
- xml = <<XML
93
- <?xml version="1.0"?>
94
- <fla version="7" compressed="0">
95
- </fla>
96
- XML
97
- lambda { Swfmill.to_swf(xml) }.should raise_exception
98
- end
99
-
100
- it do
101
- xml = <<XML
102
- <?xml version="1.0"?>
103
- <swf version="7" compressed="0">
104
- </swf>
105
- XML
106
- lambda { Swfmill.to_swf(xml) }.should raise_exception
107
- end
108
-
109
- it do
110
- xml = <<XML
111
- <?xml version="1.0"?>
112
- <swf version="7" compressed="0">
113
- <Header framerate="0">
114
- </Header>
115
- </swf>
116
- XML
117
- lambda { Swfmill.to_swf(xml) }.should_not raise_exception
118
- end
119
- end
120
-
121
- context Swfmill, ".publish" do
122
- it "Swfmill.parseしたデータを元に戻せること" do
123
- Swfmill.publish(Swfmill.parse(dummy_data)).should == dummy_data
124
- end
125
- end
metadata CHANGED
@@ -1,29 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swfmill
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 27
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 0
8
- - 1
9
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
10
11
  platform: ruby
11
12
  authors:
12
- - fistfvck
13
+ - miyucy
13
14
  autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-03-25 00:00:00 +09:00
18
+ date: 2010-09-09 00:00:00 +09:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: rspec
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ">="
26
28
  - !ruby/object:Gem::Version
29
+ hash: 13
27
30
  segments:
28
31
  - 1
29
32
  - 2
@@ -31,8 +34,8 @@ dependencies:
31
34
  version: 1.2.9
32
35
  type: :development
33
36
  version_requirements: *id001
34
- description: Ruby bindings for swfmill
35
- email: fistfvck@gmail.com
37
+ description: swfmill bindings for Ruby
38
+ email: miyucy@gmail.com
36
39
  executables: []
37
40
 
38
41
  extensions:
@@ -49,7 +52,10 @@ files:
49
52
  - Rakefile
50
53
  - VERSION
51
54
  - ext/.gitignore
55
+ - ext/buffer.h
56
+ - ext/deflate.h
52
57
  - ext/extconf.rb
58
+ - ext/inflate.h
53
59
  - ext/swfmill/.gitignore
54
60
  - ext/swfmill/AUTHORS
55
61
  - ext/swfmill/COPYING
@@ -102,8 +108,6 @@ files:
102
108
  - ext/swfmill/src/SWFWriter.h
103
109
  - ext/swfmill/src/base64.c
104
110
  - ext/swfmill/src/base64.h
105
- - ext/swfmill/src/codegen/Makefile.am
106
- - ext/swfmill/src/codegen/Makefile.in
107
111
  - ext/swfmill/src/codegen/basic.xsl
108
112
  - ext/swfmill/src/codegen/basics.xsl
109
113
  - ext/swfmill/src/codegen/dumper.xsl
@@ -116,8 +120,6 @@ files:
116
120
  - ext/swfmill/src/codegen/writer.xsl
117
121
  - ext/swfmill/src/codegen/writexml.xsl
118
122
  - ext/swfmill/src/swfmill.cpp
119
- - ext/swfmill/src/swft/Makefile.am
120
- - ext/swfmill/src/swft/Makefile.in
121
123
  - ext/swfmill/src/swft/Parser.cpp
122
124
  - ext/swfmill/src/swft/Parser.h
123
125
  - ext/swfmill/src/swft/SVGAttributeParser.cpp
@@ -148,16 +150,12 @@ files:
148
150
  - ext/swfmill/src/swft/swft_import_ttf.cpp
149
151
  - ext/swfmill/src/swft/swft_import_wav.cpp
150
152
  - ext/swfmill/src/swft/swft_path.cpp
151
- - ext/swfmill/src/xslt/Makefile.am
152
- - ext/swfmill/src/xslt/Makefile.in
153
- - ext/swfmill/src/xslt/README
154
153
  - ext/swfmill/src/xslt/assemble.xsl
155
154
  - ext/swfmill/src/xslt/simple-deprecated.xslt
156
155
  - ext/swfmill/src/xslt/simple-elements.xslt
157
156
  - ext/swfmill/src/xslt/simple-import.xslt
158
157
  - ext/swfmill/src/xslt/simple-svg.xslt
159
158
  - ext/swfmill/src/xslt/simple-tools.xslt
160
- - ext/swfmill/src/xslt/simple.cpp
161
159
  - ext/swfmill/src/xslt/simple.xml
162
160
  - ext/swfmill/src/xslt/xslt.h
163
161
  - ext/swfmill/test/Makefile.am
@@ -166,13 +164,22 @@ files:
166
164
  - ext/swfmill/test/xml/Makefile.in
167
165
  - ext/swfmill/test/xml/test-xml
168
166
  - ext/swfmill_ext.cc
167
+ - ext/swfmill_ext_to_swf.cc
168
+ - ext/swfmill_ext_to_swf.h
169
+ - ext/swfmill_ext_to_xml.cc
170
+ - ext/swfmill_ext_to_xml.h
171
+ - ext/test/Makefile
172
+ - ext/test/buffer_test.cc
173
+ - ext/test/deflate_test.cc
174
+ - ext/test/inflate_test.cc
175
+ - ext/test/test.dat
169
176
  - lib/swfmill.rb
170
177
  - spec/data/swfmill-banner1.swf
171
178
  - spec/spec.opts
172
179
  - spec/spec_helper.rb
173
180
  - spec/swfmill_spec.rb
174
181
  has_rdoc: true
175
- homepage: http://github.com/fistfvck/swfmill
182
+ homepage: http://github.com/miyucy/swfmill
176
183
  licenses: []
177
184
 
178
185
  post_install_message:
@@ -181,26 +188,30 @@ rdoc_options:
181
188
  require_paths:
182
189
  - lib
183
190
  required_ruby_version: !ruby/object:Gem::Requirement
191
+ none: false
184
192
  requirements:
185
193
  - - ">="
186
194
  - !ruby/object:Gem::Version
195
+ hash: 3
187
196
  segments:
188
197
  - 0
189
198
  version: "0"
190
199
  required_rubygems_version: !ruby/object:Gem::Requirement
200
+ none: false
191
201
  requirements:
192
202
  - - ">="
193
203
  - !ruby/object:Gem::Version
204
+ hash: 3
194
205
  segments:
195
206
  - 0
196
207
  version: "0"
197
208
  requirements: []
198
209
 
199
210
  rubyforge_project:
200
- rubygems_version: 1.3.6
211
+ rubygems_version: 1.3.7
201
212
  signing_key:
202
213
  specification_version: 3
203
- summary: Ruby bindings for swfmill
214
+ summary: swfmill bindings for Ruby
204
215
  test_files:
205
216
  - spec/spec_helper.rb
206
217
  - spec/swfmill_spec.rb
@@ -1,15 +0,0 @@
1
- NULL =
2
-
3
- EXTRA_DIST = \
4
- basic.xsl \
5
- basics.xsl \
6
- dumper.xsl \
7
- header.xsl \
8
- mk.xsl \
9
- parser.xsl \
10
- parsexml.xsl \
11
- size.xsl \
12
- source.xml \
13
- writer.xsl \
14
- writexml.xsl \
15
- $(NULL)
@@ -1,346 +0,0 @@
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 = src/codegen
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
- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
45
- ACLOCAL = @ACLOCAL@
46
- AMTAR = @AMTAR@
47
- AR = @AR@
48
- AUTOCONF = @AUTOCONF@
49
- AUTOHEADER = @AUTOHEADER@
50
- AUTOMAKE = @AUTOMAKE@
51
- AWK = @AWK@
52
- CC = @CC@
53
- CCDEPMODE = @CCDEPMODE@
54
- CFLAGS = @CFLAGS@
55
- CPP = @CPP@
56
- CPPFLAGS = @CPPFLAGS@
57
- CXX = @CXX@
58
- CXXCPP = @CXXCPP@
59
- CXXDEPMODE = @CXXDEPMODE@
60
- CXXFLAGS = @CXXFLAGS@
61
- CYGPATH_W = @CYGPATH_W@
62
- DEFS = @DEFS@
63
- DEPDIR = @DEPDIR@
64
- DSYMUTIL = @DSYMUTIL@
65
- ECHO = @ECHO@
66
- ECHO_C = @ECHO_C@
67
- ECHO_N = @ECHO_N@
68
- ECHO_T = @ECHO_T@
69
- EGREP = @EGREP@
70
- EXEEXT = @EXEEXT@
71
- F77 = @F77@
72
- FFLAGS = @FFLAGS@
73
- FREETYPE_CFLAGS = @FREETYPE_CFLAGS@
74
- FREETYPE_LIBS = @FREETYPE_LIBS@
75
- GREP = @GREP@
76
- HAVE_PKGCONFIG = @HAVE_PKGCONFIG@
77
- INSTALL = @INSTALL@
78
- INSTALL_DATA = @INSTALL_DATA@
79
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
80
- INSTALL_SCRIPT = @INSTALL_SCRIPT@
81
- INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
82
- LDFLAGS = @LDFLAGS@
83
- LIBOBJS = @LIBOBJS@
84
- LIBS = @LIBS@
85
- LIBTOOL = @LIBTOOL@
86
- LN_S = @LN_S@
87
- LTLIBOBJS = @LTLIBOBJS@
88
- MAKEINFO = @MAKEINFO@
89
- MKDIR_P = @MKDIR_P@
90
- NMEDIT = @NMEDIT@
91
- OBJEXT = @OBJEXT@
92
- PACKAGE = @PACKAGE@
93
- PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
94
- PACKAGE_NAME = @PACKAGE_NAME@
95
- PACKAGE_STRING = @PACKAGE_STRING@
96
- PACKAGE_TARNAME = @PACKAGE_TARNAME@
97
- PACKAGE_VERSION = @PACKAGE_VERSION@
98
- PATH_SEPARATOR = @PATH_SEPARATOR@
99
- PKG_CONFIG = @PKG_CONFIG@
100
- PNG_CFLAGS = @PNG_CFLAGS@
101
- PNG_LIBS = @PNG_LIBS@
102
- RANLIB = @RANLIB@
103
- SED = @SED@
104
- SET_MAKE = @SET_MAKE@
105
- SHELL = @SHELL@
106
- STRIP = @STRIP@
107
- VERSION = @VERSION@
108
- XML_CFLAGS = @XML_CFLAGS@
109
- XML_LIBS = @XML_LIBS@
110
- XSLT_CFLAGS = @XSLT_CFLAGS@
111
- XSLT_LIBS = @XSLT_LIBS@
112
- abs_builddir = @abs_builddir@
113
- abs_srcdir = @abs_srcdir@
114
- abs_top_builddir = @abs_top_builddir@
115
- abs_top_srcdir = @abs_top_srcdir@
116
- ac_ct_CC = @ac_ct_CC@
117
- ac_ct_CXX = @ac_ct_CXX@
118
- ac_ct_F77 = @ac_ct_F77@
119
- am__include = @am__include@
120
- am__leading_dot = @am__leading_dot@
121
- am__quote = @am__quote@
122
- am__tar = @am__tar@
123
- am__untar = @am__untar@
124
- bindir = @bindir@
125
- build = @build@
126
- build_alias = @build_alias@
127
- build_cpu = @build_cpu@
128
- build_os = @build_os@
129
- build_vendor = @build_vendor@
130
- builddir = @builddir@
131
- datadir = @datadir@
132
- datarootdir = @datarootdir@
133
- docdir = @docdir@
134
- dvidir = @dvidir@
135
- exec_prefix = @exec_prefix@
136
- host = @host@
137
- host_alias = @host_alias@
138
- host_cpu = @host_cpu@
139
- host_os = @host_os@
140
- host_vendor = @host_vendor@
141
- htmldir = @htmldir@
142
- includedir = @includedir@
143
- infodir = @infodir@
144
- install_sh = @install_sh@
145
- libdir = @libdir@
146
- libexecdir = @libexecdir@
147
- localedir = @localedir@
148
- localstatedir = @localstatedir@
149
- mandir = @mandir@
150
- mkdir_p = @mkdir_p@
151
- oldincludedir = @oldincludedir@
152
- pdfdir = @pdfdir@
153
- prefix = @prefix@
154
- program_transform_name = @program_transform_name@
155
- psdir = @psdir@
156
- sbindir = @sbindir@
157
- sharedstatedir = @sharedstatedir@
158
- srcdir = @srcdir@
159
- sysconfdir = @sysconfdir@
160
- target_alias = @target_alias@
161
- top_builddir = @top_builddir@
162
- top_srcdir = @top_srcdir@
163
- NULL =
164
- EXTRA_DIST = \
165
- basic.xsl \
166
- basics.xsl \
167
- dumper.xsl \
168
- header.xsl \
169
- mk.xsl \
170
- parser.xsl \
171
- parsexml.xsl \
172
- size.xsl \
173
- source.xml \
174
- writer.xsl \
175
- writexml.xsl \
176
- $(NULL)
177
-
178
- all: all-am
179
-
180
- .SUFFIXES:
181
- $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
182
- @for dep in $?; do \
183
- case '$(am__configure_deps)' in \
184
- *$$dep*) \
185
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
186
- && exit 0; \
187
- exit 1;; \
188
- esac; \
189
- done; \
190
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/codegen/Makefile'; \
191
- cd $(top_srcdir) && \
192
- $(AUTOMAKE) --foreign src/codegen/Makefile
193
- .PRECIOUS: Makefile
194
- Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
195
- @case '$?' in \
196
- *config.status*) \
197
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
198
- *) \
199
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
200
- cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
201
- esac;
202
-
203
- $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
204
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
205
-
206
- $(top_srcdir)/configure: $(am__configure_deps)
207
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
208
- $(ACLOCAL_M4): $(am__aclocal_m4_deps)
209
- cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
210
-
211
- mostlyclean-libtool:
212
- -rm -f *.lo
213
-
214
- clean-libtool:
215
- -rm -rf .libs _libs
216
- tags: TAGS
217
- TAGS:
218
-
219
- ctags: CTAGS
220
- CTAGS:
221
-
222
-
223
- distdir: $(DISTFILES)
224
- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
225
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
226
- list='$(DISTFILES)'; \
227
- dist_files=`for file in $$list; do echo $$file; done | \
228
- sed -e "s|^$$srcdirstrip/||;t" \
229
- -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
230
- case $$dist_files in \
231
- */*) $(MKDIR_P) `echo "$$dist_files" | \
232
- sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
233
- sort -u` ;; \
234
- esac; \
235
- for file in $$dist_files; do \
236
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
237
- if test -d $$d/$$file; then \
238
- dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
239
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
240
- cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
241
- fi; \
242
- cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
243
- else \
244
- test -f $(distdir)/$$file \
245
- || cp -p $$d/$$file $(distdir)/$$file \
246
- || exit 1; \
247
- fi; \
248
- done
249
- check-am: all-am
250
- check: check-am
251
- all-am: Makefile
252
- installdirs:
253
- install: install-am
254
- install-exec: install-exec-am
255
- install-data: install-data-am
256
- uninstall: uninstall-am
257
-
258
- install-am: all-am
259
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
260
-
261
- installcheck: installcheck-am
262
- install-strip:
263
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
264
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
265
- `test -z '$(STRIP)' || \
266
- echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
267
- mostlyclean-generic:
268
-
269
- clean-generic:
270
-
271
- distclean-generic:
272
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
273
-
274
- maintainer-clean-generic:
275
- @echo "This command is intended for maintainers to use"
276
- @echo "it deletes files that may require special tools to rebuild."
277
- clean: clean-am
278
-
279
- clean-am: clean-generic clean-libtool mostlyclean-am
280
-
281
- distclean: distclean-am
282
- -rm -f Makefile
283
- distclean-am: clean-am distclean-generic
284
-
285
- dvi: dvi-am
286
-
287
- dvi-am:
288
-
289
- html: html-am
290
-
291
- info: info-am
292
-
293
- info-am:
294
-
295
- install-data-am:
296
-
297
- install-dvi: install-dvi-am
298
-
299
- install-exec-am:
300
-
301
- install-html: install-html-am
302
-
303
- install-info: install-info-am
304
-
305
- install-man:
306
-
307
- install-pdf: install-pdf-am
308
-
309
- install-ps: install-ps-am
310
-
311
- installcheck-am:
312
-
313
- maintainer-clean: maintainer-clean-am
314
- -rm -f Makefile
315
- maintainer-clean-am: distclean-am maintainer-clean-generic
316
-
317
- mostlyclean: mostlyclean-am
318
-
319
- mostlyclean-am: mostlyclean-generic mostlyclean-libtool
320
-
321
- pdf: pdf-am
322
-
323
- pdf-am:
324
-
325
- ps: ps-am
326
-
327
- ps-am:
328
-
329
- uninstall-am:
330
-
331
- .MAKE: install-am install-strip
332
-
333
- .PHONY: all all-am check check-am clean clean-generic clean-libtool \
334
- distclean distclean-generic distclean-libtool distdir dvi \
335
- dvi-am html html-am info info-am install install-am \
336
- install-data install-data-am install-dvi install-dvi-am \
337
- install-exec install-exec-am install-html install-html-am \
338
- install-info install-info-am install-man install-pdf \
339
- install-pdf-am install-ps install-ps-am install-strip \
340
- installcheck installcheck-am installdirs maintainer-clean \
341
- maintainer-clean-generic mostlyclean mostlyclean-generic \
342
- mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am
343
-
344
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
345
- # Otherwise a system limit (for SysV at least) may be exceeded.
346
- .NOEXPORT: