File: Makefile.am

package info (click to toggle)
libyami 1.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,152 kB
  • sloc: cpp: 44,247; ansic: 1,255; makefile: 728; lisp: 479; sh: 21; python: 19
file content (81 lines) | stat: -rw-r--r-- 1,808 bytes parent folder | download | duplicates (3)
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