diff options
Diffstat (limited to 'src/plugins/Makefile.am')
-rw-r--r-- | src/plugins/Makefile.am | 558 |
1 files changed, 297 insertions, 261 deletions
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am index f6a4a6a..e930ca4 100644 --- a/src/plugins/Makefile.am +++ b/src/plugins/Makefile.am | |||
@@ -1,7 +1,7 @@ | |||
1 | INCLUDES = \ | 1 | INCLUDES = \ |
2 | -I$(top_srcdir)/src/include \ | 2 | -I$(top_srcdir)/src/include \ |
3 | -I$(top_srcdir)/src/common \ | 3 | -I$(top_srcdir)/src/common |
4 | -I$(top_srcdir)/src/main | 4 | |
5 | 5 | ||
6 | # install plugins under: | 6 | # install plugins under: |
7 | plugindir = $(libdir)/@RPLUGINDIR@ | 7 | plugindir = $(libdir)/@RPLUGINDIR@ |
@@ -14,77 +14,91 @@ PLUGINFLAGS = $(makesymbolic) $(LE_PLUGIN_LDFLAGS) | |||
14 | 14 | ||
15 | SUBDIRS = . | 15 | SUBDIRS = . |
16 | 16 | ||
17 | EXTRA_DIST = template_extractor.c \ | 17 | EXTRA_DIST = \ |
18 | testdata/ogg_courseclear.ogg \ | 18 | template_extractor.c \ |
19 | testdata/deb_bzip2.deb \ | ||
20 | testdata/dvi_ora.dvi \ | ||
21 | testdata/flac_kraftwerk.flac \ | ||
19 | testdata/gif_image.gif \ | 22 | testdata/gif_image.gif \ |
23 | testdata/html_grothoff.html \ | ||
24 | testdata/it_dawn.it \ | ||
20 | testdata/jpeg_image.jpg \ | 25 | testdata/jpeg_image.jpg \ |
21 | testdata/rpm_test.rpm \ | 26 | testdata/man_extract.1 \ |
22 | testdata/flac_kraftwerk.flac \ | ||
23 | testdata/mpeg_alien.mpg \ | 27 | testdata/mpeg_alien.mpg \ |
24 | testdata/mpeg_melt.mpg \ | 28 | testdata/mpeg_melt.mpg \ |
25 | testdata/wav_noise.wav \ | 29 | testdata/nsf_arkanoid.nsf \ |
26 | testdata/wav_alert.wav \ | 30 | testdata/nsfe_classics.nsfe \ |
27 | testdata/it_dawn.it \ | 31 | testdata/odf_cg.odt \ |
28 | testdata/s3m_2nd_pm.s3m \ | ||
29 | testdata/ole2_msword.doc \ | ||
30 | testdata/ole2_starwriter40.sdw \ | ||
31 | testdata/ole2_blair.doc \ | 32 | testdata/ole2_blair.doc \ |
32 | testdata/ole2_excel.xls \ | 33 | testdata/ole2_excel.xls \ |
34 | testdata/ole2_msword.doc \ | ||
35 | testdata/ole2_starwriter40.sdw \ | ||
36 | testdata/ogg_courseclear.ogg \ | ||
33 | testdata/png_image.png \ | 37 | testdata/png_image.png \ |
34 | testdata/odf_cg.odt \ | 38 | testdata/ps_bloomfilter.ps \ |
35 | testdata/deb_bzip2.deb \ | 39 | testdata/ps_wallace.ps \ |
36 | testdata/nsf_arkanoid.nsf \ | 40 | testdata/rpm_test.rpm \ |
37 | testdata/nsfe_classics.nsfe \ | 41 | testdata/s3m_2nd_pm.s3m \ |
38 | testdata/xm_diesel.xm \ | 42 | testdata/thumbnail_torsten.jpg \ |
39 | testdata/tiff_haute.tiff \ | 43 | testdata/tiff_haute.tiff \ |
40 | testdata/man_extract.1 \ | 44 | testdata/wav_noise.wav \ |
41 | testdata/html_grothoff.html | 45 | testdata/wav_alert.wav \ |
46 | testdata/xm_diesel.xm \ | ||
47 | testdata/zip_test.zip | ||
42 | 48 | ||
43 | if HAVE_VORBISFILE | ||
44 | PLUGIN_OGG=libextractor_ogg.la | ||
45 | TEST_OGG=test_ogg | ||
46 | endif | ||
47 | 49 | ||
48 | if HAVE_MAGIC | 50 | if HAVE_MAGIC |
49 | PLUGIN_MIME=libextractor_mime.la | 51 | PLUGIN_MIME=libextractor_mime.la |
50 | TEST_MIME=test_mime | 52 | TEST_MIME=test_mime |
51 | 53 | ||
52 | if HAVE_GTK | ||
53 | # Gtk-thumbnailer requires MAGIC and GTK | ||
54 | PLUGIN_GTK=libextractor_thumbnailgtk.la | ||
55 | TEST_GTK=test_thumbnailgtk | ||
56 | endif | ||
57 | |||
58 | if HAVE_FFMPEG | 54 | if HAVE_FFMPEG |
59 | # FFmpeg-thumbnailer requires MAGIC and FFMPEG | 55 | # FFmpeg-thumbnailer requires MAGIC and FFMPEG |
60 | PLUGIN_FFMPEG=libextractor_thumbnailffmpeg.la | 56 | PLUGIN_FFMPEG=libextractor_thumbnailffmpeg.la |
61 | TEST_FFMPEG=test_thumbnailffmpeg | 57 | TEST_FFMPEG=test_thumbnailffmpeg |
62 | endif | 58 | endif |
63 | 59 | ||
60 | if HAVE_GTK | ||
61 | # Gtk-thumbnailer requires MAGIC and GTK | ||
62 | PLUGIN_GTK=libextractor_thumbnailgtk.la | ||
63 | TEST_GTK=test_thumbnailgtk | ||
64 | endif | ||
65 | |||
64 | if HAVE_TIDY | 66 | if HAVE_TIDY |
67 | # HTML requires MAGIC and tidy | ||
65 | PLUGIN_HTML=libextractor_html.la | 68 | PLUGIN_HTML=libextractor_html.la |
66 | TEST_HTML=test_html | 69 | TEST_HTML=test_html |
67 | endif | 70 | endif |
68 | endif | 71 | endif |
69 | 72 | ||
73 | |||
74 | if HAVE_EXIV2 | ||
75 | PLUGIN_EXIV2=libextractor_exiv2.la | ||
76 | TEST_EXIV2=test_exiv2 | ||
77 | endif | ||
78 | |||
79 | if HAVE_FLAC | ||
80 | PLUGIN_FLAC=libextractor_flac.la | ||
81 | TEST_FLAC=test_flac | ||
82 | endif | ||
83 | |||
70 | if HAVE_GIF | 84 | if HAVE_GIF |
71 | PLUGIN_GIF=libextractor_gif.la | 85 | PLUGIN_GIF=libextractor_gif.la |
72 | TEST_GIF=test_gif | 86 | TEST_GIF=test_gif |
73 | endif | 87 | endif |
74 | 88 | ||
75 | if HAVE_LIBRPM | 89 | if HAVE_GSF |
76 | PLUGIN_RPM=libextractor_rpm.la | 90 | PLUGIN_GSF=libextractor_ole2.la |
77 | TEST_RPM=test_rpm | 91 | TEST_GSF=test_ole2 |
78 | endif | 92 | endif |
79 | 93 | ||
80 | if HAVE_FLAC | 94 | if HAVE_GSTREAMER |
81 | PLUGIN_FLAC=libextractor_flac.la | 95 | PLUGIN_GSTREAMER=libextractor_gstreamer.la |
82 | TEST_FLAC=test_flac | 96 | TEST_GSTREAMER=test_gstreamer |
83 | endif | 97 | endif |
84 | 98 | ||
85 | if HAVE_TIFF | 99 | if HAVE_JPEG |
86 | PLUGIN_TIFF=libextractor_tiff.la | 100 | PLUGIN_JPEG=libextractor_jpeg.la |
87 | TEST_TIFF=test_tiff | 101 | TEST_JPEG=test_jpeg |
88 | endif | 102 | endif |
89 | 103 | ||
90 | if HAVE_MPEG2 | 104 | if HAVE_MPEG2 |
@@ -92,19 +106,19 @@ PLUGIN_MPEG=libextractor_mpeg.la | |||
92 | TEST_MPEG=test_mpeg | 106 | TEST_MPEG=test_mpeg |
93 | endif | 107 | endif |
94 | 108 | ||
95 | if HAVE_JPEG | 109 | if HAVE_LIBRPM |
96 | PLUGIN_JPEG=libextractor_jpeg.la | 110 | PLUGIN_RPM=libextractor_rpm.la |
97 | TEST_JPEG=test_jpeg | 111 | TEST_RPM=test_rpm |
98 | endif | 112 | endif |
99 | 113 | ||
100 | if HAVE_EXIV2 | 114 | if HAVE_TIFF |
101 | PLUGIN_EXIV2=libextractor_exiv2.la | 115 | PLUGIN_TIFF=libextractor_tiff.la |
102 | TEST_EXIV2=test_exiv2 | 116 | TEST_TIFF=test_tiff |
103 | endif | 117 | endif |
104 | 118 | ||
105 | if HAVE_GSF | 119 | if HAVE_VORBISFILE |
106 | PLUGIN_GSF=libextractor_ole2.la | 120 | PLUGIN_OGG=libextractor_ogg.la |
107 | TEST_GSF=test_ole2 | 121 | TEST_OGG=test_ogg |
108 | endif | 122 | endif |
109 | 123 | ||
110 | if HAVE_ZLIB | 124 | if HAVE_ZLIB |
@@ -113,70 +127,69 @@ TEST_ZLIB=test_deb | |||
113 | endif | 127 | endif |
114 | 128 | ||
115 | 129 | ||
116 | if HAVE_GSTREAMER | ||
117 | PLUGIN_GSTREAMER=libextractor_gstreamer.la | ||
118 | TEST_GSTREAMER=test_gstreamer | ||
119 | endif | ||
120 | |||
121 | plugin_LTLIBRARIES = \ | 130 | plugin_LTLIBRARIES = \ |
131 | libextractor_dvi.la \ | ||
122 | libextractor_it.la \ | 132 | libextractor_it.la \ |
123 | libextractor_man.la \ | 133 | libextractor_man.la \ |
124 | libextractor_nsf.la \ | 134 | libextractor_nsf.la \ |
125 | libextractor_nsfe.la \ | 135 | libextractor_nsfe.la \ |
126 | libextractor_odf.la \ | 136 | libextractor_odf.la \ |
127 | libextractor_png.la \ | 137 | libextractor_png.la \ |
128 | libextractor_xm.la \ | 138 | libextractor_ps.la \ |
139 | libextractor_riff.la \ | ||
129 | libextractor_s3m.la \ | 140 | libextractor_s3m.la \ |
130 | libextractor_sid.la \ | 141 | libextractor_sid.la \ |
131 | libextractor_riff.la \ | ||
132 | libextractor_wav.la \ | 142 | libextractor_wav.la \ |
143 | libextractor_xm.la \ | ||
133 | libextractor_zip.la \ | 144 | libextractor_zip.la \ |
145 | $(PLUGIN_EXIV2) \ | ||
146 | $(PLUGIN_FFMPEG) \ | ||
147 | $(PLUGIN_FLAC) \ | ||
148 | $(PLUGIN_GIF) \ | ||
149 | $(PLUGIN_GSF) \ | ||
150 | $(PLUGIN_GSTREAMER) \ | ||
134 | $(PLUGIN_GTK) \ | 151 | $(PLUGIN_GTK) \ |
135 | $(PLUGIN_HTML) \ | 152 | $(PLUGIN_HTML) \ |
136 | $(PLUGIN_FFMPEG) \ | 153 | $(PLUGIN_JPEG) \ |
137 | $(PLUGIN_ZLIB) \ | ||
138 | $(PLUGIN_OGG) \ | ||
139 | $(PLUGIN_MIME) \ | 154 | $(PLUGIN_MIME) \ |
140 | $(PLUGIN_TIFF) \ | ||
141 | $(PLUGIN_GIF) \ | ||
142 | $(PLUGIN_RPM) \ | ||
143 | $(PLUGIN_FLAC) \ | ||
144 | $(PLUGIN_MPEG) \ | 155 | $(PLUGIN_MPEG) \ |
145 | $(PLUGIN_JPEG) \ | 156 | $(PLUGIN_OGG) \ |
146 | $(PLUGIN_EXIV2) \ | 157 | $(PLUGIN_RPM) \ |
147 | $(PLUGIN_GSTREAMER) \ | 158 | $(PLUGIN_TIFF) \ |
148 | $(PLUGIN_GSF) | 159 | $(PLUGIN_ZLIB) |
149 | 160 | ||
150 | if HAVE_ZZUF | 161 | if HAVE_ZZUF |
151 | fuzz_tests=fuzz_default.sh | 162 | fuzz_tests=fuzz_default.sh |
152 | endif | 163 | endif |
153 | 164 | ||
154 | check_PROGRAMS = \ | 165 | check_PROGRAMS = \ |
155 | test_wav \ | 166 | test_dvi \ |
156 | test_man \ | ||
157 | test_it \ | 167 | test_it \ |
158 | test_s3m \ | 168 | test_man \ |
159 | test_png \ | ||
160 | test_odf \ | ||
161 | test_zip \ | ||
162 | test_xm \ | ||
163 | test_nsf \ | 169 | test_nsf \ |
164 | test_nsfe \ | 170 | test_nsfe \ |
165 | $(TEST_ZLIB) \ | 171 | test_odf \ |
166 | $(TEST_HTML) \ | 172 | test_ps \ |
167 | $(TEST_GTK) \ | 173 | test_png \ |
174 | test_s3m \ | ||
175 | test_wav \ | ||
176 | test_xm \ | ||
177 | test_zip \ | ||
178 | $(TEST_EXIV2) \ | ||
168 | $(TEST_FFMPEG) \ | 179 | $(TEST_FFMPEG) \ |
169 | $(TEST_OGG) \ | ||
170 | $(TEST_MIME) \ | ||
171 | $(TEST_TIFF) \ | ||
172 | $(TEST_GIF) \ | ||
173 | $(TEST_RPM) \ | ||
174 | $(TEST_FLAC) \ | 180 | $(TEST_FLAC) \ |
175 | $(TEST_MPEG) \ | 181 | $(TEST_GIF) \ |
176 | $(TEST_JPEG) \ | 182 | $(TEST_GSF) \ |
177 | $(TEST_EXIV2) \ | ||
178 | $(TEST_GSTREAMER) \ | 183 | $(TEST_GSTREAMER) \ |
179 | $(TEST_GSF) | 184 | $(TEST_GTK) \ |
185 | $(TEST_HTML) \ | ||
186 | $(TEST_JPEG) \ | ||
187 | $(TEST_MIME) \ | ||
188 | $(TEST_MPEG) \ | ||
189 | $(TEST_OGG) \ | ||
190 | $(TEST_RPM) \ | ||
191 | $(TEST_TIFF) \ | ||
192 | $(TEST_ZLIB) | ||
180 | 193 | ||
181 | TESTS = \ | 194 | TESTS = \ |
182 | $(fuzz_tests) \ | 195 | $(fuzz_tests) \ |
@@ -192,17 +205,6 @@ libtest_la_LIBADD = \ | |||
192 | $(top_builddir)/src/main/libextractor.la | 205 | $(top_builddir)/src/main/libextractor.la |
193 | 206 | ||
194 | 207 | ||
195 | libextractor_xm_la_SOURCES = \ | ||
196 | xm_extractor.c | ||
197 | libextractor_xm_la_LDFLAGS = \ | ||
198 | $(PLUGINFLAGS) | ||
199 | |||
200 | test_xm_SOURCES = \ | ||
201 | test_xm.c | ||
202 | test_xm_LDADD = \ | ||
203 | $(top_builddir)/src/plugins/libtest.la | ||
204 | |||
205 | |||
206 | libextractor_deb_la_SOURCES = \ | 208 | libextractor_deb_la_SOURCES = \ |
207 | deb_extractor.c | 209 | deb_extractor.c |
208 | libextractor_deb_la_LDFLAGS = \ | 210 | libextractor_deb_la_LDFLAGS = \ |
@@ -214,75 +216,81 @@ test_deb_LDADD = \ | |||
214 | $(top_builddir)/src/plugins/libtest.la | 216 | $(top_builddir)/src/plugins/libtest.la |
215 | 217 | ||
216 | 218 | ||
217 | libextractor_man_la_SOURCES = \ | 219 | libextractor_dvi_la_SOURCES = \ |
218 | man_extractor.c | 220 | dvi_extractor.c |
219 | libextractor_man_la_LDFLAGS = \ | 221 | libextractor_dvi_la_LDFLAGS = \ |
220 | $(PLUGINFLAGS) | 222 | $(PLUGINFLAGS) |
221 | 223 | ||
222 | test_man_SOURCES = \ | 224 | test_dvi_SOURCES = \ |
223 | test_man.c | 225 | test_dvi.c |
224 | test_man_LDADD = \ | 226 | test_dvi_LDADD = \ |
225 | $(top_builddir)/src/plugins/libtest.la | 227 | $(top_builddir)/src/plugins/libtest.la |
226 | 228 | ||
227 | 229 | ||
228 | libextractor_nsf_la_SOURCES = \ | 230 | libextractor_exiv2_la_SOURCES = \ |
229 | nsf_extractor.c | 231 | exiv2_extractor.cc |
230 | libextractor_nsf_la_LDFLAGS = \ | 232 | libextractor_exiv2_la_LDFLAGS = \ |
231 | $(PLUGINFLAGS) | 233 | $(PLUGINFLAGS) |
234 | libextractor_exiv2_la_LIBADD = \ | ||
235 | -lexiv2 | ||
232 | 236 | ||
233 | test_nsf_SOURCES = \ | 237 | test_exiv2_SOURCES = \ |
234 | test_nsf.c | 238 | test_exiv2.c |
235 | test_nsf_LDADD = \ | 239 | test_exiv2_LDADD = \ |
236 | $(top_builddir)/src/plugins/libtest.la | 240 | $(top_builddir)/src/plugins/libtest.la |
237 | 241 | ||
238 | 242 | ||
239 | libextractor_nsfe_la_SOURCES = \ | 243 | libextractor_flac_la_SOURCES = \ |
240 | nsfe_extractor.c | 244 | flac_extractor.c |
241 | libextractor_nsfe_la_LDFLAGS = \ | 245 | libextractor_flac_la_LDFLAGS = \ |
242 | $(PLUGINFLAGS) | 246 | $(PLUGINFLAGS) |
247 | libextractor_flac_la_LIBADD = \ | ||
248 | -lFLAC | ||
243 | 249 | ||
244 | test_nsfe_SOURCES = \ | 250 | test_flac_SOURCES = \ |
245 | test_nsfe.c | 251 | test_flac.c |
246 | test_nsfe_LDADD = \ | 252 | test_flac_LDADD = \ |
247 | $(top_builddir)/src/plugins/libtest.la | 253 | $(top_builddir)/src/plugins/libtest.la |
248 | 254 | ||
249 | 255 | ||
250 | libextractor_odf_la_SOURCES = \ | 256 | libextractor_gif_la_SOURCES = \ |
251 | odf_extractor.c | 257 | gif_extractor.c |
252 | libextractor_odf_la_LDFLAGS = \ | 258 | libextractor_gif_la_LDFLAGS = \ |
253 | $(PLUGINFLAGS) | 259 | $(PLUGINFLAGS) |
254 | libextractor_odf_la_LIBADD = \ | 260 | libextractor_gif_la_LIBADD = \ |
255 | $(top_builddir)/src/common/libextractor_common.la | 261 | -lgif |
256 | 262 | ||
257 | test_odf_SOURCES = \ | 263 | test_gif_SOURCES = \ |
258 | test_odf.c | 264 | test_gif.c |
259 | test_odf_LDADD = \ | 265 | test_gif_LDADD = \ |
260 | $(top_builddir)/src/plugins/libtest.la | 266 | $(top_builddir)/src/plugins/libtest.la |
261 | 267 | ||
262 | 268 | ||
263 | libextractor_zip_la_SOURCES = \ | 269 | libextractor_gstreamer_la_SOURCES = \ |
264 | zip_extractor.c | 270 | gstreamer_extractor.c |
265 | libextractor_zip_la_LDFLAGS = \ | 271 | libextractor_gstreamer_la_LDFLAGS = \ |
266 | $(PLUGINFLAGS) | 272 | $(PLUGINFLAGS) |
267 | libextractor_zip_la_LIBADD = \ | 273 | libextractor_gstreamer_la_LIBADD = \ |
268 | $(top_builddir)/src/common/libextractor_common.la | 274 | $(GSTREAMER_LIBS) $(GSTREAMER_PBUTILS_LIBS) $(GSTREAMER_TAG_LIBS) $(GSTREAMER_APP_LIBS) |
275 | libextractor_gstreamer_la_CFLAGS = \ | ||
276 | $(GSTREAMER_CFLAGS) $(GSTREAMER_PBUTILS_CFLAGS) $(GSTREAMER_TAG_CFLAGS) $(GSTREAMER_APP_CFALGS) | ||
269 | 277 | ||
270 | test_zip_SOURCES = \ | 278 | test_gstreamer_SOURCES = \ |
271 | test_zip.c | 279 | test_gstreamer.c |
272 | test_zip_LDADD = \ | 280 | test_gstreamer_LDADD = \ |
273 | $(top_builddir)/src/plugins/libtest.la | 281 | $(top_builddir)/src/plugins/libtest.la |
274 | 282 | ||
275 | 283 | ||
276 | libextractor_png_la_SOURCES = \ | 284 | libextractor_html_la_SOURCES = \ |
277 | png_extractor.c | 285 | html_extractor.c |
278 | libextractor_png_la_LDFLAGS = \ | 286 | libextractor_html_la_LDFLAGS = \ |
279 | $(PLUGINFLAGS) | 287 | $(PLUGINFLAGS) |
280 | libextractor_png_la_LIBADD = \ | 288 | libextractor_html_la_LIBADD = \ |
281 | $(top_builddir)/src/common/libextractor_common.la | 289 | -ltidy -lmagic |
282 | 290 | ||
283 | test_png_SOURCES = \ | 291 | test_html_SOURCES = \ |
284 | test_png.c | 292 | test_html.c |
285 | test_png_LDADD = \ | 293 | test_html_LDADD = \ |
286 | $(top_builddir)/src/plugins/libtest.la | 294 | $(top_builddir)/src/plugins/libtest.la |
287 | 295 | ||
288 | 296 | ||
@@ -297,37 +305,106 @@ test_it_LDADD = \ | |||
297 | $(top_builddir)/src/plugins/libtest.la | 305 | $(top_builddir)/src/plugins/libtest.la |
298 | 306 | ||
299 | 307 | ||
300 | libextractor_sid_la_SOURCES = \ | 308 | libextractor_jpeg_la_SOURCES = \ |
301 | sid_extractor.c | 309 | jpeg_extractor.c |
302 | libextractor_sid_la_LDFLAGS = \ | 310 | libextractor_jpeg_la_LDFLAGS = \ |
311 | $(PLUGINFLAGS) | ||
312 | libextractor_jpeg_la_LIBADD = \ | ||
313 | -ljpeg | ||
314 | |||
315 | test_jpeg_SOURCES = \ | ||
316 | test_jpeg.c | ||
317 | test_jpeg_LDADD = \ | ||
318 | $(top_builddir)/src/plugins/libtest.la | ||
319 | |||
320 | |||
321 | libextractor_man_la_SOURCES = \ | ||
322 | man_extractor.c | ||
323 | libextractor_man_la_LDFLAGS = \ | ||
303 | $(PLUGINFLAGS) | 324 | $(PLUGINFLAGS) |
304 | 325 | ||
326 | test_man_SOURCES = \ | ||
327 | test_man.c | ||
328 | test_man_LDADD = \ | ||
329 | $(top_builddir)/src/plugins/libtest.la | ||
305 | 330 | ||
306 | libextractor_riff_la_SOURCES = \ | 331 | |
307 | riff_extractor.c | 332 | libextractor_mime_la_SOURCES = \ |
308 | libextractor_riff_la_LDFLAGS = \ | 333 | mime_extractor.c |
334 | libextractor_mime_la_LDFLAGS = \ | ||
309 | $(PLUGINFLAGS) | 335 | $(PLUGINFLAGS) |
336 | libextractor_mime_la_LIBADD = \ | ||
337 | -lmagic | ||
338 | |||
339 | test_mime_SOURCES = \ | ||
340 | test_mime.c | ||
341 | test_mime_LDADD = \ | ||
342 | $(top_builddir)/src/plugins/libtest.la | ||
310 | 343 | ||
311 | 344 | ||
312 | libextractor_s3m_la_SOURCES = \ | 345 | libextractor_mpeg_la_SOURCES = \ |
313 | s3m_extractor.c | 346 | mpeg_extractor.c |
314 | libextractor_s3m_la_LDFLAGS = \ | 347 | libextractor_mpeg_la_LDFLAGS = \ |
315 | $(PLUGINFLAGS) | 348 | $(PLUGINFLAGS) |
349 | libextractor_mpeg_la_LIBADD = \ | ||
350 | -lmpeg2 | ||
316 | 351 | ||
317 | test_s3m_SOURCES = \ | 352 | test_mpeg_SOURCES = \ |
318 | test_s3m.c | 353 | test_mpeg.c |
319 | test_s3m_LDADD = \ | 354 | test_mpeg_LDADD = \ |
320 | $(top_builddir)/src/plugins/libtest.la | 355 | $(top_builddir)/src/plugins/libtest.la |
321 | 356 | ||
322 | 357 | ||
323 | libextractor_wav_la_SOURCES = \ | 358 | libextractor_nsf_la_SOURCES = \ |
324 | wav_extractor.c | 359 | nsf_extractor.c |
325 | libextractor_wav_la_LDFLAGS = \ | 360 | libextractor_nsf_la_LDFLAGS = \ |
326 | $(PLUGINFLAGS) | 361 | $(PLUGINFLAGS) |
327 | 362 | ||
328 | test_wav_SOURCES = \ | 363 | test_nsf_SOURCES = \ |
329 | test_wav.c | 364 | test_nsf.c |
330 | test_wav_LDADD = \ | 365 | test_nsf_LDADD = \ |
366 | $(top_builddir)/src/plugins/libtest.la | ||
367 | |||
368 | |||
369 | libextractor_nsfe_la_SOURCES = \ | ||
370 | nsfe_extractor.c | ||
371 | libextractor_nsfe_la_LDFLAGS = \ | ||
372 | $(PLUGINFLAGS) | ||
373 | |||
374 | test_nsfe_SOURCES = \ | ||
375 | test_nsfe.c | ||
376 | test_nsfe_LDADD = \ | ||
377 | $(top_builddir)/src/plugins/libtest.la | ||
378 | |||
379 | |||
380 | libextractor_odf_la_SOURCES = \ | ||
381 | odf_extractor.c | ||
382 | libextractor_odf_la_LDFLAGS = \ | ||
383 | $(PLUGINFLAGS) | ||
384 | libextractor_odf_la_LIBADD = \ | ||
385 | $(top_builddir)/src/common/libextractor_common.la | ||
386 | |||
387 | test_odf_SOURCES = \ | ||
388 | test_odf.c | ||
389 | test_odf_LDADD = \ | ||
390 | $(top_builddir)/src/plugins/libtest.la | ||
391 | |||
392 | |||
393 | libextractor_ole2_la_SOURCES = \ | ||
394 | ole2_extractor.c | ||
395 | libextractor_ole2_la_CFLAGS = \ | ||
396 | $(GSF_CFLAGS) | ||
397 | libextractor_ole2_la_CPPFLAGS = \ | ||
398 | $(GSF_CFLAGS) | ||
399 | libextractor_ole2_la_LDFLAGS = \ | ||
400 | $(PLUGINFLAGS) | ||
401 | libextractor_ole2_la_LIBADD = \ | ||
402 | $(top_builddir)/src/common/libextractor_common.la \ | ||
403 | $(GSF_LIBS) | ||
404 | |||
405 | test_ole2_SOURCES = \ | ||
406 | test_ole2.c | ||
407 | test_ole2_LDADD = \ | ||
331 | $(top_builddir)/src/plugins/libtest.la | 408 | $(top_builddir)/src/plugins/libtest.la |
332 | 409 | ||
333 | 410 | ||
@@ -344,45 +421,34 @@ test_ogg_LDADD = \ | |||
344 | $(top_builddir)/src/plugins/libtest.la | 421 | $(top_builddir)/src/plugins/libtest.la |
345 | 422 | ||
346 | 423 | ||
347 | libextractor_mime_la_SOURCES = \ | 424 | libextractor_png_la_SOURCES = \ |
348 | mime_extractor.c | 425 | png_extractor.c |
349 | libextractor_mime_la_LDFLAGS = \ | 426 | libextractor_png_la_LDFLAGS = \ |
350 | $(PLUGINFLAGS) | 427 | $(PLUGINFLAGS) |
351 | libextractor_mime_la_LIBADD = \ | 428 | libextractor_png_la_LIBADD = \ |
352 | -lmagic | 429 | $(top_builddir)/src/common/libextractor_common.la |
353 | 430 | ||
354 | test_mime_SOURCES = \ | 431 | test_png_SOURCES = \ |
355 | test_mime.c | 432 | test_png.c |
356 | test_mime_LDADD = \ | 433 | test_png_LDADD = \ |
357 | $(top_builddir)/src/plugins/libtest.la | 434 | $(top_builddir)/src/plugins/libtest.la |
358 | 435 | ||
359 | 436 | ||
360 | libextractor_thumbnailgtk_la_SOURCES = \ | 437 | libextractor_ps_la_SOURCES = \ |
361 | thumbnailgtk_extractor.c | 438 | ps_extractor.c |
362 | libextractor_thumbnailgtk_la_LDFLAGS = \ | 439 | libextractor_ps_la_LDFLAGS = \ |
363 | $(PLUGINFLAGS) | 440 | $(PLUGINFLAGS) |
364 | libextractor_thumbnailgtk_la_CFLAGS = \ | ||
365 | $(GTK_CFLAGS) | ||
366 | libextractor_thumbnailgtk_la_LIBADD = \ | ||
367 | -lmagic $(GTK_LIBS) | ||
368 | 441 | ||
369 | test_thumbnailgtk_SOURCES = \ | 442 | test_ps_SOURCES = \ |
370 | test_thumbnailgtk.c | 443 | test_ps.c |
371 | test_thumbnailgtk_LDADD = \ | 444 | test_ps_LDADD = \ |
372 | $(top_builddir)/src/plugins/libtest.la | 445 | $(top_builddir)/src/plugins/libtest.la |
373 | 446 | ||
374 | 447 | ||
375 | libextractor_gif_la_SOURCES = \ | 448 | libextractor_riff_la_SOURCES = \ |
376 | gif_extractor.c | 449 | riff_extractor.c |
377 | libextractor_gif_la_LDFLAGS = \ | 450 | libextractor_riff_la_LDFLAGS = \ |
378 | $(PLUGINFLAGS) | 451 | $(PLUGINFLAGS) |
379 | libextractor_gif_la_LIBADD = \ | ||
380 | -lgif | ||
381 | |||
382 | test_gif_SOURCES = \ | ||
383 | test_gif.c | ||
384 | test_gif_LDADD = \ | ||
385 | $(top_builddir)/src/plugins/libtest.la | ||
386 | 452 | ||
387 | 453 | ||
388 | libextractor_rpm_la_SOURCES = \ | 454 | libextractor_rpm_la_SOURCES = \ |
@@ -398,55 +464,48 @@ test_rpm_LDADD = \ | |||
398 | $(top_builddir)/src/plugins/libtest.la | 464 | $(top_builddir)/src/plugins/libtest.la |
399 | 465 | ||
400 | 466 | ||
401 | libextractor_flac_la_SOURCES = \ | 467 | libextractor_s3m_la_SOURCES = \ |
402 | flac_extractor.c | 468 | s3m_extractor.c |
403 | libextractor_flac_la_LDFLAGS = \ | 469 | libextractor_s3m_la_LDFLAGS = \ |
404 | $(PLUGINFLAGS) | 470 | $(PLUGINFLAGS) |
405 | libextractor_flac_la_LIBADD = \ | ||
406 | -lFLAC | ||
407 | 471 | ||
408 | test_flac_SOURCES = \ | 472 | test_s3m_SOURCES = \ |
409 | test_flac.c | 473 | test_s3m.c |
410 | test_flac_LDADD = \ | 474 | test_s3m_LDADD = \ |
411 | $(top_builddir)/src/plugins/libtest.la | 475 | $(top_builddir)/src/plugins/libtest.la |
412 | 476 | ||
413 | 477 | ||
414 | libextractor_mpeg_la_SOURCES = \ | 478 | libextractor_sid_la_SOURCES = \ |
415 | mpeg_extractor.c | 479 | sid_extractor.c |
416 | libextractor_mpeg_la_LDFLAGS = \ | 480 | libextractor_sid_la_LDFLAGS = \ |
417 | $(PLUGINFLAGS) | 481 | $(PLUGINFLAGS) |
418 | libextractor_mpeg_la_LIBADD = \ | ||
419 | -lmpeg2 | ||
420 | |||
421 | test_mpeg_SOURCES = \ | ||
422 | test_mpeg.c | ||
423 | test_mpeg_LDADD = \ | ||
424 | $(top_builddir)/src/plugins/libtest.la | ||
425 | 482 | ||
426 | 483 | ||
427 | libextractor_jpeg_la_SOURCES = \ | 484 | libextractor_thumbnailffmpeg_la_SOURCES = \ |
428 | jpeg_extractor.c | 485 | thumbnailffmpeg_extractor.c |
429 | libextractor_jpeg_la_LDFLAGS = \ | 486 | libextractor_thumbnailffmpeg_la_LDFLAGS = \ |
430 | $(PLUGINFLAGS) | 487 | $(PLUGINFLAGS) |
431 | libextractor_jpeg_la_LIBADD = \ | 488 | libextractor_thumbnailffmpeg_la_LIBADD = \ |
432 | -ljpeg | 489 | -lavutil -lavformat -lavcodec -lswscale -lmagic |
433 | 490 | ||
434 | test_jpeg_SOURCES = \ | 491 | test_thumbnailffmpeg_SOURCES = \ |
435 | test_jpeg.c | 492 | test_thumbnailffmpeg.c |
436 | test_jpeg_LDADD = \ | 493 | test_thumbnailffmpeg_LDADD = \ |
437 | $(top_builddir)/src/plugins/libtest.la | 494 | $(top_builddir)/src/plugins/libtest.la |
438 | 495 | ||
439 | 496 | ||
440 | libextractor_exiv2_la_SOURCES = \ | 497 | libextractor_thumbnailgtk_la_SOURCES = \ |
441 | exiv2_extractor.cc | 498 | thumbnailgtk_extractor.c |
442 | libextractor_exiv2_la_LDFLAGS = \ | 499 | libextractor_thumbnailgtk_la_LDFLAGS = \ |
443 | $(PLUGINFLAGS) | 500 | $(PLUGINFLAGS) |
444 | libextractor_exiv2_la_LIBADD = \ | 501 | libextractor_thumbnailgtk_la_CFLAGS = \ |
445 | -lexiv2 | 502 | $(GTK_CFLAGS) |
503 | libextractor_thumbnailgtk_la_LIBADD = \ | ||
504 | -lmagic $(GTK_LIBS) | ||
446 | 505 | ||
447 | test_exiv2_SOURCES = \ | 506 | test_thumbnailgtk_SOURCES = \ |
448 | test_exiv2.c | 507 | test_thumbnailgtk.c |
449 | test_exiv2_LDADD = \ | 508 | test_thumbnailgtk_LDADD = \ |
450 | $(top_builddir)/src/plugins/libtest.la | 509 | $(top_builddir)/src/plugins/libtest.la |
451 | 510 | ||
452 | 511 | ||
@@ -463,60 +522,37 @@ test_tiff_LDADD = \ | |||
463 | $(top_builddir)/src/plugins/libtest.la | 522 | $(top_builddir)/src/plugins/libtest.la |
464 | 523 | ||
465 | 524 | ||
466 | libextractor_ole2_la_SOURCES = \ | 525 | libextractor_wav_la_SOURCES = \ |
467 | ole2_extractor.c | 526 | wav_extractor.c |
468 | libextractor_ole2_la_CFLAGS = \ | 527 | libextractor_wav_la_LDFLAGS = \ |
469 | $(GSF_CFLAGS) | ||
470 | libextractor_ole2_la_CPPFLAGS = \ | ||
471 | $(GSF_CFLAGS) | ||
472 | libextractor_ole2_la_LDFLAGS = \ | ||
473 | $(PLUGINFLAGS) | ||
474 | libextractor_ole2_la_LIBADD = \ | ||
475 | $(top_builddir)/src/common/libextractor_common.la \ | ||
476 | $(GSF_LIBS) | ||
477 | |||
478 | test_ole2_SOURCES = \ | ||
479 | test_ole2.c | ||
480 | test_ole2_LDADD = \ | ||
481 | $(top_builddir)/src/plugins/libtest.la | ||
482 | |||
483 | |||
484 | libextractor_gstreamer_la_SOURCES = \ | ||
485 | gstreamer_extractor.c | ||
486 | libextractor_gstreamer_la_LDFLAGS = \ | ||
487 | $(PLUGINFLAGS) | 528 | $(PLUGINFLAGS) |
488 | libextractor_gstreamer_la_LIBADD = \ | ||
489 | $(GSTREAMER_LIBS) $(GSTREAMER_PBUTILS_LIBS) $(GSTREAMER_TAG_LIBS) $(GSTREAMER_APP_LIBS) | ||
490 | libextractor_gstreamer_la_CFLAGS = \ | ||
491 | $(GSTREAMER_CFLAGS) $(GSTREAMER_PBUTILS_CFLAGS) $(GSTREAMER_TAG_CFLAGS) $(GSTREAMER_APP_CFALGS) | ||
492 | 529 | ||
493 | test_gstreamer_SOURCES = \ | 530 | test_wav_SOURCES = \ |
494 | test_gstreamer.c | 531 | test_wav.c |
495 | test_gstreamer_LDADD = \ | 532 | test_wav_LDADD = \ |
496 | $(top_builddir)/src/plugins/libtest.la | 533 | $(top_builddir)/src/plugins/libtest.la |
497 | 534 | ||
498 | 535 | ||
499 | libextractor_thumbnailffmpeg_la_SOURCES = \ | 536 | libextractor_xm_la_SOURCES = \ |
500 | thumbnailffmpeg_extractor.c | 537 | xm_extractor.c |
501 | libextractor_thumbnailffmpeg_la_LDFLAGS = \ | 538 | libextractor_xm_la_LDFLAGS = \ |
502 | $(PLUGINFLAGS) | 539 | $(PLUGINFLAGS) |
503 | libextractor_thumbnailffmpeg_la_LIBADD = \ | ||
504 | -lavutil -lavformat -lavcodec -lswscale -lmagic | ||
505 | 540 | ||
506 | test_thumbnailffmpeg_SOURCES = \ | 541 | test_xm_SOURCES = \ |
507 | test_thumbnailffmpeg.c | 542 | test_xm.c |
508 | test_thumbnailffmpeg_LDADD = \ | 543 | test_xm_LDADD = \ |
509 | $(top_builddir)/src/plugins/libtest.la | 544 | $(top_builddir)/src/plugins/libtest.la |
510 | 545 | ||
511 | 546 | ||
512 | libextractor_html_la_SOURCES = \ | 547 | libextractor_zip_la_SOURCES = \ |
513 | html_extractor.c | 548 | zip_extractor.c |
514 | libextractor_html_la_LDFLAGS = \ | 549 | libextractor_zip_la_LDFLAGS = \ |
515 | $(PLUGINFLAGS) | 550 | $(PLUGINFLAGS) |
516 | libextractor_html_la_LIBADD = \ | 551 | libextractor_zip_la_LIBADD = \ |
517 | -ltidy -lmagic | 552 | $(top_builddir)/src/common/libextractor_common.la |
518 | 553 | ||
519 | test_html_SOURCES = \ | 554 | test_zip_SOURCES = \ |
520 | test_html.c | 555 | test_zip.c |
521 | test_html_LDADD = \ | 556 | test_zip_LDADD = \ |
522 | $(top_builddir)/src/plugins/libtest.la | 557 | $(top_builddir)/src/plugins/libtest.la |
558 | |||