forked from intel/libyami
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
64 lines (51 loc) · 1.29 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
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
AUTOMAKE_OPTIONS = foreign
# 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
SUBDIRS = common codecparsers vaapi decoder encoder vpp pkgconfig
if ENABLE_DOCS
SUBDIRS += doc
endif
if ENABLE_CAPI
SUBDIRS += capi
endif
#generate libyami.la for ENABLE_TESTS and ENABLE_V4L2
SUBDIRS += .
if ENABLE_V4L2
SUBDIRS += v4l2
endif
if ENABLE_TESTS
SUBDIRS += tests
SUBDIRS += testscripts
SUBDIRS += examples
endif
lib_LTLIBRARIES = libyami.la
libyami_la_SOURCES =
# 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)
if ENABLE_CAPI
libyami_la_LIBADD += capi/libyami_capi.la
endif
if ENABLE_X11
libyami_la_LDFLAGS += $(LIBVA_X11_LIBS) $(X11_LIBS)
libyami_la_CPPFLAGS += $(LIBVA_X11_CFLAGS)
endif