blob: 916f1f6e3024b0532fde65b7fc546c69ae32c6b9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
SUBDIRS = .
INCLUDES = -I$(top_srcdir)/src/include $(LTDLINCL)
# install plugins under:
plugindir = $(libdir)/@RPLUGINDIR@
LIBS = \
@LE_LIBINTL@ @LE_LIB_LIBS@
lib_LTLIBRARIES = \
libextractor.la
bin_PROGRAMS = extract
extract_LDADD = \
$(top_builddir)/src/main/libextractor.la
if HAVE_ZLIB
zlib =-lz
endif
if HAVE_BZ2
bz2lib = -lbz2
endif
libextractor_la_LDFLAGS = \
$(LE_LIB_LDFLAGS) -version-info @LIB_VERSION_CURRENT@:@LIB_VERSION_REVISION@:@LIB_VERSION_AGE@
libextractor_la_LIBADD = \
$(LIBLTDL) $(zlib) $(bz2lib) $(LTLIBICONV)
EXTRA_DIST = \
iconv.c fuzz_default.sh fuzz_thumbnail.sh
libextractor_la_CPPFLAGS = -DPLUGINDIR=\"@RPLUGINDIR@\" -DPLUGININSTDIR=\"${plugindir}\" $(AM_CPPFLAGS)
libextractor_la_SOURCES = \
extractor.c \
extractor_metatypes.c \
extractor_print.c
extract_SOURCES = \
extract.c \
getopt.c \
getopt.h \
getopt1.c
LDADD = \
$(top_builddir)/src/main/libextractor.la
if HAVE_ZZUF
fuzz_tests=fuzz_default.sh fuzz_thumbnail.sh
endif
TESTS_ENVIRONMENT = testdatadir=$(top_srcdir)/test
TESTS_ENVIRONMENT += bindir=${bindir}
check_PROGRAMS = \
test_trivial \
test_plugin_loading \
test_plugin_load_multi
TESTS = $(check_PROGRAMS) $(fuzz_tests)
test_trivial_SOURCES = \
test_trivial.c
test_plugin_loading_SOURCES = \
test_plugin_loading.c
test_plugin_load_multi_SOURCES = \
test_plugin_load_multi.c
|