forked from lu-zero/mfx_dispatch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
61 lines (50 loc) · 1.72 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
ACLOCAL_AMFLAGS = -I m4
AM_CPPFLAGS = -I$(top_srcdir)/include -DMINGW_HAS_SECURE_API=1
dist_doc_DATA =
lib_LTLIBRARIES = libmfx.la
libmfx_la_SOURCES = \
src/mfx_critical_section.h \
src/mfx_exposed_functions_list.h \
src/mfx_dispatcher.h \
src/mfx_dispatcher_log.h \
src/mfx_library_iterator.h \
src/mfx_load_dll.h \
src/main.cpp \
src/mfx_critical_section.cpp \
src/mfx_dispatcher.cpp \
src/mfx_dispatcher_log.cpp \
src/mfx_load_plugin.cpp \
src/mfx_plugin_cfg_parser.cpp \
src/mfx_function_table.cpp
if WINDOWS
libmfx_la_SOURCES += \
src/mfx_dxva2_device.h \
src/mfx_win_reg_key.h \
src/mfx_dxva2_device.cpp \
src/mfx_library_iterator.cpp \
src/mfx_load_dll.cpp \
src/mfx_win_reg_key.cpp \
src/mfx_plugin_hive.cpp
else
libmfx_la_SOURCES += \
src/mfx_va_glue.c \
src/mfx_critical_section_linux.cpp \
src/mfx_library_iterator_linux.cpp \
src/mfx_load_dll_linux.cpp \
src/mfx_plugin_hive_linux.cpp
endif
libmfx_la_LDFLAGS = -version-info $(MFX_LT_CURRENT):$(MFX_LT_REVISION):$(MFX_LT_AGE)
libmfx_la_LIBADD = -lsupc++ $(LIBVA_DRM_LIBS) $(LIBVA_X11_LIBS)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libmfx.pc
pkginclude_HEADERS = \
mfx/mfxsession.h \
mfx/mfxdefs.h \
mfx/mfxla.h \
mfx/mfxenc.h \
mfx/mfxplugin.h \
mfx/mfxcommon.h \
mfx/mfxvstructures.h \
mfx/mfxstructures.h \
mfx/mfxvideo.h
pkgincludedir = $(includedir)/mfx