3 top_srcdir
= @top_srcdir@
4 include ..
/Makefile.common
6 all: librfxswf
$(A
) libgfxpdf
$(A
) libbase
$(A
) libgfx
$(A
) libgfxswf
$(A
)
8 lame_objects
= lame
/psymodel.
$(O
) lame
/fft.
$(O
) lame
/newmdct.
$(O
) lame
/quantize.
$(O
) lame
/takehiro.
$(O
) lame
/reservoir.
$(O
) lame
/quantize_pvt.
$(O
) lame
/vbrquantize.
$(O
) lame
/encoder.
$(O
) lame
/id3tag.
$(O
) lame
/version.
$(O
) lame
/tables.
$(O
) lame
/util.
$(O
) lame
/bitstream.
$(O
) lame
/set_get.
$(O
) lame
/VbrTag.
$(O
) lame
/lame.
$(O
)
9 lame_in_source
= @lame_in_source@
11 h263_objects
= h
.263/dct.
$(O
) h
.263/h263tables.
$(O
) h
.263/swfvideo.
$(O
)
13 as12compiler_objects
= action
/assembler.
$(O
) action
/compile.
$(O
) action
/lex.swf4.
$(O
) action
/lex.swf5.
$(O
) action
/libming.
$(O
) action
/swf4compiler.tab.
$(O
) action
/swf5compiler.tab.
$(O
) action
/actioncompiler.
$(O
)
14 as12compiler_in_source
= $(as12compiler_objects
)
16 as3compiler_objects
= as3
/abc.
$(O
) as3
/pool.
$(O
) as3
/files.
$(O
) as3
/opcodes.
$(O
) as3
/code.
$(O
) as3
/registry.
$(O
) as3
/builtin.
$(O
) as3
/tokenizer.yy.
$(O
) as3
/parser.tab.
$(O
) as3
/scripts.
$(O
) as3
/compiler.
$(O
) as3
/import.
$(O
) as3
/expr.
$(O
) as3
/parser_help.
$(O
) as3
/state.
$(O
) as3
/common.
$(O
) as3
/initcode.
$(O
) as3
/assets.
$(O
)
17 gfxpoly_objects
= gfxpoly
/active.
$(O
) gfxpoly
/convert.
$(O
) gfxpoly
/poly.
$(O
) gfxpoly
/renderpoly.
$(O
) gfxpoly
/stroke.
$(O
) gfxpoly
/wind.
$(O
) gfxpoly
/xrow.
$(O
) gfxpoly
/moments.
$(O
)
19 rfxswf_modules
= modules
/swfbits.c modules
/swfaction.c modules
/swfdump.c modules
/swfcgi.c modules
/swfbutton.c modules
/swftext.c modules
/swffont.c modules
/swftools.c modules
/swfsound.c modules
/swfshape.c modules
/swfobject.c modules
/swfdraw.c modules
/swffilter.c modules
/swfrender.c h
.263/swfvideo.c modules
/swfalignzones.c
21 base_objects
=q.
$(O
) base64.
$(O
) utf8.
$(O
) png.
$(O
) jpeg.
$(O
) wav.
$(O
) mp3.
$(O
) os.
$(O
) bitio.
$(O
) log.
$(O
) mem.
$(O
) xml.
$(O
) ttf.
$(O
) kdtree.
$(O
) graphcut.
$(O
)
22 devices
=devices
/dummy.
$(O
) devices
/file.
$(O
) devices
/render.
$(O
) devices
/text.
$(O
) devices
/record.
$(O
) devices
/ops.
$(O
) devices
/polyops.
$(O
) devices
/bbox.
$(O
) devices
/rescale.
$(O
) @DEVICE_OPENGL@ @DEVICE_PDF@
23 filters
=filters
/alpha.
$(O
) filters
/remove_font_transforms.
$(O
) filters
/one_big_font.
$(O
) filters
/vectors_to_glyphs.
$(O
) filters
/remove_invisible_characters.
$(O
) filters
/flatten.
$(O
) filters
/rescale_images.
$(O
)
24 gfx_objects
=gfximage.
$(O
) gfxtools.
$(O
) gfxfont.
$(O
) gfxfilter.
$(O
) $(devices
) $(filters
)
26 rfxswf_objects
=modules
/swfaction.
$(O
) modules
/swfbits.
$(O
) modules
/swfbutton.
$(O
) modules
/swfcgi.
$(O
) modules
/swfdraw.
$(O
) modules
/swfdump.
$(O
) modules
/swffilter.
$(O
) modules
/swffont.
$(O
) modules
/swfobject.
$(O
) modules
/swfrender.
$(O
) modules
/swfshape.
$(O
) modules
/swfsound.
$(O
) modules
/swftext.
$(O
) modules
/swftools.
$(O
) modules
/swfalignzones.
$(O
)
32 action
/%.
$(O
): action
/%.c
36 gfxpoly
/%.
$(O
): gfxpoly
/%.c
39 bitio.
$(O
): bitio.c bitio.h
41 drawer.
$(O
): drawer.c drawer.h
43 q.
$(O
): q.c q.h
$(top_builddir
)/config.h
45 utf8.
$(O
): utf8.c utf8.h
$(top_builddir
)/config.h
47 mem.
$(O
): mem.c mem.h
$(top_builddir
)/config.h
49 png.
$(O
): png.c png.h
$(top_builddir
)/config.h
51 jpeg.
$(O
): jpeg.c jpeg.h
$(top_builddir
)/config.h
53 mp3.
$(O
): mp3.c mp3.h
$(top_builddir
)/config.h
55 wav.
$(O
): wav.c wav.h
$(top_builddir
)/config.h
57 xml.
$(O
): xml.c xml.h bitio.h
59 graphcut.
$(O
): graphcut.c graphcut.h
63 os.
$(O
): os.c os.h
$(top_builddir
)/config.h
64 $(C
) -DSWFTOOLS_DATADIR
=\"$(pkgdatadir
)\" os.c
-o
$@
65 modules
/swfaction.
$(O
): modules
/swfaction.c rfxswf.h
66 $(C
) modules
/swfaction.c
-o
$@
67 modules
/swfbits.
$(O
): modules
/swfbits.c rfxswf.h
68 $(C
) modules
/swfbits.c
-o
$@
69 modules
/swfbutton.
$(O
): modules
/swfbutton.c rfxswf.h
70 $(C
) modules
/swfbutton.c
-o
$@
71 modules
/swfcgi.
$(O
): modules
/swfcgi.c rfxswf.h
72 $(C
) modules
/swfcgi.c
-o
$@
73 modules
/swfdraw.
$(O
): modules
/swfdraw.c rfxswf.h
74 $(C
) modules
/swfdraw.c
-o
$@
75 modules
/swfdump.
$(O
): modules
/swfdump.c rfxswf.h
76 $(C
) modules
/swfdump.c
-o
$@
77 modules
/swffilter.
$(O
): modules
/swffilter.c rfxswf.h
78 $(C
) modules
/swffilter.c
-o
$@
79 modules
/swfalignzones.
$(O
): modules
/swfalignzones.c rfxswf.h
80 $(C
) modules
/swfalignzones.c
-o
$@
81 modules
/swffont.
$(O
): modules
/swffont.c rfxswf.h
82 $(C
) modules
/swffont.c
-o
$@
83 modules
/swfobject.
$(O
): modules
/swfobject.c rfxswf.h
84 $(C
) modules
/swfobject.c
-o
$@
85 modules
/swfrender.
$(O
): modules
/swfrender.c rfxswf.h
86 $(C
) modules
/swfrender.c
-o
$@
87 modules
/swfshape.
$(O
): modules
/swfshape.c rfxswf.h
88 $(C
) modules
/swfshape.c
-o
$@
89 modules
/swfsound.
$(O
): modules
/swfsound.c rfxswf.h
90 $(C
) modules
/swfsound.c
-o
$@
91 modules
/swftext.
$(O
): modules
/swftext.c rfxswf.h
92 $(C
) modules
/swftext.c
-o
$@
93 modules
/swftools.
$(O
): modules
/swftools.c rfxswf.h
94 $(C
) modules
/swftools.c
-o
$@
95 gfximage.
$(O
): gfximage.c gfximage.h gfxdevice.h
$(top_builddir
)/config.h
97 gfxtools.
$(O
): gfxtools.c gfxtools.h
$(top_builddir
)/config.h
99 gfxfont.
$(O
): gfxfont.c gfxfont.h ttf.h
$(top_builddir
)/config.h
101 gfxfilter.
$(O
): gfxfilter.c gfxfilter.h ttf.h
$(top_builddir
)/config.h
102 $(C
) gfxfilter.c
-o
$@
103 gfxwindow.
$(O
): gfxwindow_win32.c gfxwindow_unix.c gfxwindow.c gfxwindow.h
104 $(C
) gfxwindow.c
-o
$@
106 log.
$(O
): log.c log.h
109 rfxswf.
$(O
): rfxswf.c rfxswf.h drawer.h bitio.h log.h
$(top_builddir
)/config.h
112 #$(as12compiler_objects):
113 # cd action;$(MAKE) all;cd ..
115 h
.263/dct.
$(O
): h
.263/dct.c h
.263/dct.h
116 $(C
) h
.263/dct.c
-o h
.263/dct.
$(O
)
117 h
.263/h263tables.
$(O
): h
.263/h263tables.c h
.263/h263tables.h
118 $(C
) h
.263/h263tables.c
-o h
.263/h263tables.
$(O
)
119 h
.263/swfvideo.
$(O
): h
.263/swfvideo.c h
.263/h263tables.h h
.263/dct.h
120 $(C
) h
.263/swfvideo.c
-o h
.263/swfvideo.
$(O
)
122 devices
/swf.
$(O
): devices
/swf.c devices
/swf.h
123 $(C
) devices
/swf.c
-o devices
/swf.
$(O
)
124 devices
/file.
$(O
): devices
/file.c devices
/file.h
125 $(C
) devices
/file.c
-o devices
/file.
$(O
)
126 devices
/dummy.
$(O
): devices
/dummy.c devices
/dummy.h
127 $(C
) devices
/dummy.c
-o devices
/dummy.
$(O
)
128 devices
/render.
$(O
): devices
/render.c devices
/render.h
129 $(C
) devices
/render.c
-o devices
/render.
$(O
)
130 devices
/opengl.
$(O
): devices
/opengl.c devices
/opengl.h
131 $(C
) devices
/opengl.c
-o devices
/opengl.
$(O
)
132 devices
/polyops.
$(O
): devices
/polyops.c devices
/polyops.h gfxpoly.h
133 $(C
) devices
/polyops.c
-o devices
/polyops.
$(O
)
134 devices
/record.
$(O
): devices
/record.c devices
/record.h
135 $(C
) devices
/record.c
-o devices
/record.
$(O
)
136 devices
/text.
$(O
): devices
/text.c devices
/text.h
137 $(C
) devices
/text.c
-o devices
/text.
$(O
)
138 devices
/ops.
$(O
): devices
/ops.c devices
/ops.h
139 $(C
) devices
/ops.c
-o devices
/ops.
$(O
)
140 devices
/rescale.
$(O
): devices
/rescale.c devices
/rescale.h
141 $(C
) devices
/rescale.c
-o devices
/rescale.
$(O
)
142 devices
/bbox.
$(O
): devices
/bbox.c devices
/bbox.h
143 $(C
) devices
/bbox.c
-o devices
/bbox.
$(O
)
144 devices
/lrf.
$(O
): devices
/lrf.c devices
/lrf.h
145 $(C
) devices
/lrf.c
-o devices
/lrf.
$(O
)
147 filters
/alpha.
$(O
): filters
/alpha.c gfxfilter.h
148 $(C
) filters
/alpha.c
-o filters
/alpha.
$(O
)
149 filters
/flatten.
$(O
): filters
/flatten.c gfxfilter.h
150 $(C
) filters
/flatten.c
-o filters
/flatten.
$(O
)
151 filters
/remove_font_transform.
$(O
): filters
/remove_font_transform.c gfxfilter.h
152 $(C
) filters
/remove_font_transform.c
-o filters
/remove_font_transform.
$(O
)
153 filters
/remove_invisible_characters.
$(O
): filters
/remove_invisible_characters.c gfxfilter.h
154 $(C
) filters
/remove_invisible_characters.c
-o filters
/remove_invisible_characters.
$(O
)
155 filters
/rescale_images.
$(O
): filters
/rescale_images.c gfxfilter.h
156 $(C
) filters
/rescale_images.c
-o filters
/rescale_images.
$(O
)
158 readers
/swf2.
$(O
): readers
/swf.c readers
/swf.h
159 $(C
) readers
/swf.c
-o readers
/swf2.
$(O
)
160 readers
/image.
$(O
): readers
/image.c readers
/image.h
161 $(C
) readers
/image.c
-o readers
/image.
$(O
)
163 libbase
$(A
): $(base_objects
) Makefile
165 $(AR
) r libbase
$(A
) $(base_objects
)
166 $(RANLIB
) libbase
$(A
)
168 libgfxswf
$(A
): devices
/swf.
$(O
) readers
/swf2.
$(O
) readers
/image.
$(O
)
170 $(AR
) r libgfxswf
$(A
) devices
/swf.
$(O
) readers
/swf2.
$(O
) readers
/image.
$(O
)
171 $(RANLIB
) libgfxswf
$(A
)
173 libgfx
$(A
): $(gfx_objects
) $(gfxpoly_objects
) Makefile
175 $(AR
) r libgfx
$(A
) $(gfx_objects
) $(gfxpoly_objects
)
178 librfxswf
$(A
): Makefile
$(rfxswf_objects
) rfxswf.
$(O
) drawer.
$(O
) $(lame_in_source
) $(h263_objects
) $(as12compiler_in_source
) $(as3compiler_objects
) Makefile
180 $(AR
) r librfxswf
$(A
) $(rfxswf_objects
) rfxswf.
$(O
) drawer.
$(O
) $(lame_in_source
) $(h263_objects
) $(as12compiler_in_source
) $(as3compiler_objects
)
181 $(RANLIB
) librfxswf
$(A
)
183 libgfxpdf
$(A
): pdf
/VectorGraphicOutputDev.
cc pdf
/VectorGraphicOutputDev.h pdf
/pdf.
cc pdf
/pdf.h
184 cd pdf
;$(MAKE
) libgfxpdf
187 $(L
) png.
test.c
-o png.
test $(LIBS
)
193 rm -f
*.o
*.obj
*.lo
*.a
*.lib
*.la gmon.out
194 for
dir in modules filters devices swf as3 readers art h
.263 gfxpoly
;do
rm -f
$$dir/*.o
$$dir/*.obj
$$dir/*.lo
$$dir/*.a
$$dir/*.lib
$$dir/*.la
$$dir/gmon.out
;done
195 cd lame
&& $(MAKE
) clean && cd .. || true
196 cd action
&& $(MAKE
) clean && cd ..
197 cd python
&& $(MAKE
) clean && cd ..
198 cd pdf
&& $(MAKE
) clean && cd ..