/
Makefile.am
66 lines (53 loc) · 2.86 KB
/
Makefile.am
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
SUBDIRS = man
ACLOCAL_AMFLAGS = -I m4
lib_LTLIBRARIES = libffmpegthumbnailer.la
libffmpegthumbnailer_la_SOURCES = libffmpegthumbnailer/moviedecoder.h \
libffmpegthumbnailer/moviedecoder.cpp \
libffmpegthumbnailer/imagewriter.h \
libffmpegthumbnailer/imagewriterfactory.h \
libffmpegthumbnailer/stringoperations.h \
libffmpegthumbnailer/stringoperations.cpp \
libffmpegthumbnailer/videothumbnailer.cpp \
libffmpegthumbnailer/videothumbnailerc.cpp \
libffmpegthumbnailer/ifilter.h \
libffmpegthumbnailer/videoframe.h \
libffmpegthumbnailer/histogram.h \
libffmpegthumbnailer/grayscalefilter.h \
libffmpegthumbnailer/filmstrip.h \
libffmpegthumbnailer/filmstripfilter.h \
libffmpegthumbnailer/filmstripfilter.cpp
if PNG
libffmpegthumbnailer_la_SOURCES += libffmpegthumbnailer/pngwriter.h \
libffmpegthumbnailer/pngwriter.cpp
endif
if JPEG
libffmpegthumbnailer_la_SOURCES += libffmpegthumbnailer/jpegwriter.h \
libffmpegthumbnailer/jpegwriter.cpp
endif
nobase_include_HEADERS = libffmpegthumbnailer/videothumbnailer.h \
libffmpegthumbnailer/videothumbnailerc.h \
libffmpegthumbnailer/imagetypes.h \
libffmpegthumbnailer/ifilter.h \
libffmpegthumbnailer/histogram.h \
libffmpegthumbnailer/videoframe.h \
libffmpegthumbnailer/filmstripfilter.h
libffmpegthumbnailer_includedir = $(includedir)/libffmpegthumbnailer
libffmpegthumbnailer_la_CXXFLAGS = $(AM_CXXFLAGS) $(FFMPEG_CFLAGS) $(PNG_CFLAGS)
libffmpegthumbnailer_la_LDFLAGS = -version-info 4:1:0
libffmpegthumbnailer_la_LIBADD = $(FFMPEG_LIBS) $(PNG_LIBS) $(JPEG_LIBS)
bin_PROGRAMS = ffmpegthumbnailer
ffmpegthumbnailer_SOURCES = main.cpp
ffmpegthumbnailer_LDADD = libffmpegthumbnailer.la
if ENABLE_UNITTEST
check_PROGRAMS = testrunner
TESTS = testrunner
AM_COLOR_TESTS = always
endif
testrunner_SOURCES = unittest/testrunner.cpp \
unittest/histogramtest.cpp \
unittest/videothumbnailertest.cpp
testrunner_CXXFLAGS = $(AM_CXXFLAGS) '-DTEST_DATADIR="$(top_srcdir)/unittest"'
testrunner_LDFLAGS = libffmpegthumbnailer.la
testrunner_LDADD = $(UNITTEST_LIBS)
pkgconfigdir = @pkgconfigdir@
pkgconfig_DATA = libffmpegthumbnailer.pc