diff options
Diffstat (limited to 'src/plugins/Makefile.am')
-rw-r--r-- | src/plugins/Makefile.am | 85 |
1 files changed, 45 insertions, 40 deletions
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am index 8cdd905..f32114a 100644 --- a/src/plugins/Makefile.am +++ b/src/plugins/Makefile.am | |||
@@ -23,7 +23,9 @@ SUBDIRS = . | |||
23 | EXTRA_DIST = \ | 23 | EXTRA_DIST = \ |
24 | fuzz_default.sh \ | 24 | fuzz_default.sh \ |
25 | template_extractor.c \ | 25 | template_extractor.c \ |
26 | testdata/audiosig.rm \ | ||
26 | testdata/archive_test.tar \ | 27 | testdata/archive_test.tar \ |
28 | testdata/chello-elf \ | ||
27 | testdata/deb_bzip2.deb \ | 29 | testdata/deb_bzip2.deb \ |
28 | testdata/dvi_ora.dvi \ | 30 | testdata/dvi_ora.dvi \ |
29 | testdata/exiv2_iptc.jpg \ | 31 | testdata/exiv2_iptc.jpg \ |
@@ -51,6 +53,7 @@ EXTRA_DIST = \ | |||
51 | testdata/png_image.png \ | 53 | testdata/png_image.png \ |
52 | testdata/ps_bloomfilter.ps \ | 54 | testdata/ps_bloomfilter.ps \ |
53 | testdata/ps_wallace.ps \ | 55 | testdata/ps_wallace.ps \ |
56 | testdata/ra3.ra \ | ||
54 | testdata/riff_flame.avi \ | 57 | testdata/riff_flame.avi \ |
55 | testdata/rpm_test.rpm \ | 58 | testdata/rpm_test.rpm \ |
56 | testdata/s3m_2nd_pm.s3m \ | 59 | testdata/s3m_2nd_pm.s3m \ |
@@ -68,17 +71,6 @@ if HAVE_MAGIC | |||
68 | PLUGIN_MIME=libextractor_mime.la | 71 | PLUGIN_MIME=libextractor_mime.la |
69 | TEST_MIME=test_mime | 72 | TEST_MIME=test_mime |
70 | 73 | ||
71 | if HAVE_FFMPEG | ||
72 | # FFmpeg-thumbnailer requires MAGIC and FFMPEG | ||
73 | PLUGIN_FFMPEG=libextractor_thumbnailffmpeg.la | ||
74 | TEST_FFMPEG=test_thumbnailffmpeg | ||
75 | endif | ||
76 | |||
77 | if HAVE_FFMPEG_NEW | ||
78 | PLUGIN_PREVIEWOPUS=libextractor_previewopus.la | ||
79 | TEST_PREVIEWOPUS=test_previewopus | ||
80 | endif | ||
81 | |||
82 | if HAVE_GDK_PIXBUF | 74 | if HAVE_GDK_PIXBUF |
83 | # Gtk-thumbnailer requires MAGIC and GDK_PIXBUF | 75 | # Gtk-thumbnailer requires MAGIC and GDK_PIXBUF |
84 | PLUGIN_GTK=libextractor_thumbnailgtk.la | 76 | PLUGIN_GTK=libextractor_thumbnailgtk.la |
@@ -176,11 +168,13 @@ endif | |||
176 | 168 | ||
177 | plugin_LTLIBRARIES = \ | 169 | plugin_LTLIBRARIES = \ |
178 | libextractor_dvi.la \ | 170 | libextractor_dvi.la \ |
171 | libextractor_elf.la \ | ||
179 | libextractor_it.la \ | 172 | libextractor_it.la \ |
180 | libextractor_man.la \ | 173 | libextractor_man.la \ |
181 | libextractor_nsf.la \ | 174 | libextractor_nsf.la \ |
182 | libextractor_nsfe.la \ | 175 | libextractor_nsfe.la \ |
183 | libextractor_ps.la \ | 176 | libextractor_ps.la \ |
177 | libextractor_real.la \ | ||
184 | libextractor_riff.la \ | 178 | libextractor_riff.la \ |
185 | libextractor_s3m.la \ | 179 | libextractor_s3m.la \ |
186 | libextractor_sid.la \ | 180 | libextractor_sid.la \ |
@@ -188,7 +182,6 @@ plugin_LTLIBRARIES = \ | |||
188 | libextractor_xm.la \ | 182 | libextractor_xm.la \ |
189 | $(PLUGIN_ARCHIVE) \ | 183 | $(PLUGIN_ARCHIVE) \ |
190 | $(PLUGIN_EXIV2) \ | 184 | $(PLUGIN_EXIV2) \ |
191 | $(PLUGIN_FFMPEG) \ | ||
192 | $(PLUGIN_FLAC) \ | 185 | $(PLUGIN_FLAC) \ |
193 | $(PLUGIN_GIF) \ | 186 | $(PLUGIN_GIF) \ |
194 | $(PLUGIN_GSF) \ | 187 | $(PLUGIN_GSF) \ |
@@ -202,7 +195,6 @@ plugin_LTLIBRARIES = \ | |||
202 | $(PLUGIN_MPEG) \ | 195 | $(PLUGIN_MPEG) \ |
203 | $(PLUGIN_OGG) \ | 196 | $(PLUGIN_OGG) \ |
204 | $(PLUGIN_PDF) \ | 197 | $(PLUGIN_PDF) \ |
205 | $(PLUGIN_PREVIEWOPUS) \ | ||
206 | $(PLUGIN_RPM) \ | 198 | $(PLUGIN_RPM) \ |
207 | $(PLUGIN_TIFF) \ | 199 | $(PLUGIN_TIFF) \ |
208 | $(PLUGIN_ZLIB) | 200 | $(PLUGIN_ZLIB) |
@@ -213,6 +205,7 @@ endif | |||
213 | 205 | ||
214 | check_PROGRAMS = \ | 206 | check_PROGRAMS = \ |
215 | test_dvi \ | 207 | test_dvi \ |
208 | test_elf \ | ||
216 | test_it \ | 209 | test_it \ |
217 | test_man \ | 210 | test_man \ |
218 | test_nsf \ | 211 | test_nsf \ |
@@ -220,6 +213,7 @@ check_PROGRAMS = \ | |||
220 | test_odf \ | 213 | test_odf \ |
221 | test_ps \ | 214 | test_ps \ |
222 | test_png \ | 215 | test_png \ |
216 | test_real \ | ||
223 | test_riff \ | 217 | test_riff \ |
224 | test_s3m \ | 218 | test_s3m \ |
225 | test_sid \ | 219 | test_sid \ |
@@ -228,8 +222,6 @@ check_PROGRAMS = \ | |||
228 | test_zip \ | 222 | test_zip \ |
229 | $(TEST_ARCHIVE) \ | 223 | $(TEST_ARCHIVE) \ |
230 | $(TEST_EXIV2) \ | 224 | $(TEST_EXIV2) \ |
231 | $(TEST_FFMPEG) \ | ||
232 | $(TEST_PREVIEWOPUS) \ | ||
233 | $(TEST_FLAC) \ | 225 | $(TEST_FLAC) \ |
234 | $(TEST_GIF) \ | 226 | $(TEST_GIF) \ |
235 | $(TEST_GSF) \ | 227 | $(TEST_GSF) \ |
@@ -298,6 +290,19 @@ test_dvi_SOURCES = \ | |||
298 | test_dvi_LDADD = \ | 290 | test_dvi_LDADD = \ |
299 | $(top_builddir)/src/plugins/libtest.la | 291 | $(top_builddir)/src/plugins/libtest.la |
300 | 292 | ||
293 | libextractor_elf_la_SOURCES = \ | ||
294 | elf_extractor.c \ | ||
295 | pack.c pack.h | ||
296 | libextractor_elf_la_LDFLAGS = \ | ||
297 | $(PLUGINFLAGS) | ||
298 | libextractor_elf_la_LIBADD = \ | ||
299 | $(XLIB) $(SOCKET_LIBS) | ||
300 | |||
301 | test_elf_SOURCES = \ | ||
302 | test_elf.c | ||
303 | test_elf_LDADD = \ | ||
304 | $(top_builddir)/src/plugins/libtest.la | ||
305 | |||
301 | 306 | ||
302 | libextractor_exiv2_la_SOURCES = \ | 307 | libextractor_exiv2_la_SOURCES = \ |
303 | exiv2_extractor.cc | 308 | exiv2_extractor.cc |
@@ -358,6 +363,8 @@ test_gstreamer_CFLAGS = \ | |||
358 | 363 | ||
359 | libextractor_html_la_SOURCES = \ | 364 | libextractor_html_la_SOURCES = \ |
360 | html_extractor.c | 365 | html_extractor.c |
366 | libextractor_html_la_CFLAGS = \ | ||
367 | $(TIDY_CFLAGS) | ||
361 | libextractor_html_la_LDFLAGS = \ | 368 | libextractor_html_la_LDFLAGS = \ |
362 | $(PLUGINFLAGS) | 369 | $(PLUGINFLAGS) |
363 | libextractor_html_la_LIBADD = \ | 370 | libextractor_html_la_LIBADD = \ |
@@ -562,6 +569,20 @@ test_ps_LDADD = \ | |||
562 | $(top_builddir)/src/plugins/libtest.la | 569 | $(top_builddir)/src/plugins/libtest.la |
563 | 570 | ||
564 | 571 | ||
572 | libextractor_real_la_SOURCES = \ | ||
573 | real_extractor.c | ||
574 | libextractor_real_la_LDFLAGS = \ | ||
575 | $(PLUGINFLAGS) | ||
576 | libextractor_real_la_LIBADD = \ | ||
577 | -lm \ | ||
578 | $(XLIB) \ | ||
579 | $(LE_LIBINTL) | ||
580 | |||
581 | test_real_SOURCES = \ | ||
582 | test_real.c | ||
583 | test_real_LDADD = \ | ||
584 | $(top_builddir)/src/plugins/libtest.la | ||
585 | |||
565 | libextractor_riff_la_SOURCES = \ | 586 | libextractor_riff_la_SOURCES = \ |
566 | riff_extractor.c | 587 | riff_extractor.c |
567 | libextractor_riff_la_LDFLAGS = \ | 588 | libextractor_riff_la_LDFLAGS = \ |
@@ -615,19 +636,6 @@ test_sid_LDADD = \ | |||
615 | $(top_builddir)/src/plugins/libtest.la | 636 | $(top_builddir)/src/plugins/libtest.la |
616 | 637 | ||
617 | 638 | ||
618 | libextractor_thumbnailffmpeg_la_SOURCES = \ | ||
619 | thumbnailffmpeg_extractor.c | ||
620 | libextractor_thumbnailffmpeg_la_LDFLAGS = \ | ||
621 | $(PLUGINFLAGS) | ||
622 | libextractor_thumbnailffmpeg_la_LIBADD = \ | ||
623 | -lavutil -lavformat -lavcodec -lswscale -lmagic $(XLIB) | ||
624 | |||
625 | test_thumbnailffmpeg_SOURCES = \ | ||
626 | test_thumbnailffmpeg.c | ||
627 | test_thumbnailffmpeg_LDADD = \ | ||
628 | $(top_builddir)/src/plugins/libtest.la | ||
629 | |||
630 | |||
631 | libextractor_thumbnailgtk_la_SOURCES = \ | 639 | libextractor_thumbnailgtk_la_SOURCES = \ |
632 | thumbnailgtk_extractor.c | 640 | thumbnailgtk_extractor.c |
633 | libextractor_thumbnailgtk_la_LDFLAGS = \ | 641 | libextractor_thumbnailgtk_la_LDFLAGS = \ |
@@ -642,18 +650,6 @@ test_thumbnailgtk_SOURCES = \ | |||
642 | test_thumbnailgtk_LDADD = \ | 650 | test_thumbnailgtk_LDADD = \ |
643 | $(top_builddir)/src/plugins/libtest.la | 651 | $(top_builddir)/src/plugins/libtest.la |
644 | 652 | ||
645 | libextractor_previewopus_la_SOURCES = \ | ||
646 | previewopus_extractor.c | ||
647 | libextractor_previewopus_la_LDFLAGS = \ | ||
648 | $(PLUGINFLAGS) | ||
649 | libextractor_previewopus_la_LIBADD = \ | ||
650 | -lavutil -lavformat -lavcodec -lswscale -lavresample -lmagic $(XLIB) | ||
651 | |||
652 | test_previewopus_SOURCES = \ | ||
653 | test_previewopus.c | ||
654 | test_previewopus_LDADD = \ | ||
655 | $(top_builddir)/src/plugins/libtest.la | ||
656 | |||
657 | 653 | ||
658 | libextractor_tiff_la_SOURCES = \ | 654 | libextractor_tiff_la_SOURCES = \ |
659 | tiff_extractor.c | 655 | tiff_extractor.c |
@@ -668,6 +664,15 @@ test_tiff_LDADD = \ | |||
668 | $(top_builddir)/src/plugins/libtest.la | 664 | $(top_builddir)/src/plugins/libtest.la |
669 | 665 | ||
670 | 666 | ||
667 | #libextractor_vlc_la_SOURCES = \ | ||
668 | # vlc_extractor.c | ||
669 | #libextractor_vlc_la_LDFLAGS = \ | ||
670 | # $(PLUGINFLAGS) | ||
671 | #libextractor_vlc_la_LIBADD = \ | ||
672 | # -lvlc \ | ||
673 | # $(XLIB) | ||
674 | |||
675 | |||
671 | libextractor_wav_la_SOURCES = \ | 676 | libextractor_wav_la_SOURCES = \ |
672 | wav_extractor.c | 677 | wav_extractor.c |
673 | libextractor_wav_la_LDFLAGS = \ | 678 | libextractor_wav_la_LDFLAGS = \ |