This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 106
/
Makefile.am
81 lines (67 loc) · 1.77 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
ACLOCAL_AMFLAGS = -I m4
# Extra clean files so that maintainer-clean removes *everything*
DISTCLEANFILES = \
aclocal.m4 autom4te.cache compile config.guess config.sub \
configure config.h.in config.h.in~ depcomp install-sh ltmain.sh \
Makefile.in missing
if ENABLE_TESTS
SUBDIRS = gtestsrc common codecparsers vaapi decoder encoder vpp pkgconfig
else
SUBDIRS = common codecparsers vaapi decoder encoder vpp pkgconfig
endif
if ENABLE_DOCS
SUBDIRS += doc
endif
SUBDIRS += capi
if ENABLE_V4L2
SUBDIRS += v4l2
endif
libyami_source_h = \
interface/Yami.h \
interface/YamiC.h \
$(NULL)
lib_LTLIBRARIES = libyami.la
libyami_la_SOURCES =
libyami_includedir = $(includedir)/libyami
libyami_include_HEADERS = $(libyami_source_h)
# Dummy C++ source to cause C++ linking
nodist_EXTRA_libyami_la_SOURCES = dummy.cxx
libyami_la_LDFLAGS = \
$(LIBYAMI_LT_LDFLAGS) \
$(LIBVA_LIBS) \
$(LIBVA_DRM_LIBS) \
$(NULL)
libyami_la_CPPFLAGS = \
$(LIBVA_CFLAGS) \
$(LIBVA_DRM_CFLAGS) \
$(NULL)
libyami_la_LIBADD = common/libyami_common.la \
codecparsers/libyami_codecparser.la \
vaapi/libyami_vaapi.la \
decoder/libyami_decoder.la \
encoder/libyami_encoder.la \
vpp/libyami_vpp.la \
$(NULL)
libyami_la_LIBADD += capi/libyami_capi.la
if ENABLE_X11
libyami_la_LDFLAGS += $(LIBVA_X11_LIBS) $(X11_LIBS)
libyami_la_CPPFLAGS += $(LIBVA_X11_CFLAGS)
endif
libyami_la_LDFLAGS += $(AM_LDFLAGS)
libyami_la_CPPFLAGS += $(AM_CPPFLAGS)
if ENABLE_V4L2
lib_LTLIBRARIES += libyami_v4l2.la
libyami_v4l2_la_SOURCES =
# Dummy C++ source to cause C++ linking
nodist_EXTRA_libyami_v4l2_la_SOURCES = dummy.cxx
# for library version
libyami_v4l2_la_LDFLAGS = \
$(LIBYAMI_LT_LDFLAGS) \
$(AM_LDFLAGS) \
$(LIBVA_LIBS) \
$(LIBVA_DRM_LIBS) \
$(NULL)
libyami_v4l2_la_LIBADD = libyami.la \
v4l2/libyamiv4l2.la \
$(NULL)
endif