blob: 331742e7ab30e9b3796f9988a1d2188facaa9cf0 (
plain)
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
|
lib_LTLIBRARIES = libmmfile_formats.la
libmmfile_formats_la_DEPENDENCIES = $(top_builddir)/utils/libmmfile_utils.la
noinst_HEADERS = include/mm_file_format_dummy.h \
include/mm_file_format_aac.h \
include/mm_file_format_amr.h \
include/mm_file_format_imelody.h \
include/mm_file_format_midi.h \
include/mm_file_format_ffmpeg_mem.h \
include/mm_file_format_ffmpeg.h \
include/mm_file_format_mmf.h \
include/mm_file_format_mp3.h \
include/mm_file_format_wav.h \
include/mm_file_format_private.h
libmmfile_formats_la_SOURCES = mm_file_formats.c \
mm_file_format_dummy.c \
mm_file_format_ffmpeg.c \
mm_file_format_ffmpeg_mem.c \
mm_file_format_mp3.c \
mm_file_format_aac.c \
mm_file_format_mmf.c \
mm_file_format_amr.c \
mm_file_format_midi.c \
mm_file_format_imelody.c \
mm_file_format_wav.c
libmmfile_formats_la_CFLAGS = -I$(srcdir)/include \
$(MMCOMMON_CFLAGS) \
-I$(srcdir)/../../include \
-I$(srcdir)/../../utils/include \
-D_LARGEFILE64_SOURCE \
-D_FILE_OFFSET_BITS=64 \
$(AVUTIL_CFLAGS) \
$(AVCODEC_CFLAGS) \
$(SWSCALE_CFLAGS) \
$(AVFORMAT_CFLAGS)
if USE_TESTMODE
libmmfile_formats_la_CFLAGS += -D__MMFILE_TEST_MODE__
endif
if USE_DUMP
libmmfile_formats_la_CFLAGS += -DMMFILE_FORMAT_DEBUG_DUMP
endif
if USE_DRM
noinst_HEADERS += include/mm_file_format_ffmpeg_drm.h
libmmfile_formats_la_SOURCES += mm_file_format_ffmpeg_drm.c
libmmfile_formats_la_CFLAGS += $(DRMSERVICE_CFLAGS) -DDRM_SUPPORT
endif
if USE_IOMMAP
libmmfile_formats_la_CFLAGS += -D__MMFILE_MMAP_MODE__
endif
libmmfile_formats_la_LIBADD = $(MMCOMMON_LIBS) \
$(AVUTIL_LIBS) \
$(AVCODEC_LIBS) \
$(AVFORMAT_LIBS) \
$(SWSCALE_LIBS) \
$(top_builddir)/utils/libmmfile_utils.la
if USE_DRM
libmmfile_formats_la_LIBADD += $(DRMSERVICE_LIBS)
endif
libmmfile_formats_la_CFLAGS += $(MMLOG_CFLAGS) -DMMF_LOG_OWNER=0x040 -DMMF_DEBUG_PREFIX=\"MMF-FILE-FORMAT-FFMPEG\"
libmmfile_formats_la_LIBADD += $(MMLOG_LIBS)
libmmfile_formats_la_CFLAGS += -D__MMFILE_FFMPEG_V085__
|