forked from ShiftMediaProject/mfx_dispatch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
69 lines (58 loc) · 2.04 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
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 = -no-undefined -static-libgcc -static-libstdc++
libmfx_la_LDFLAGS += -version-info $(MFX_LT_CURRENT):$(MFX_LT_REVISION):$(MFX_LT_AGE)
libmfx_la_LIBADD = $(DLLIB) $(LIBVA_DRM_LIBS) $(LIBVA_X11_LIBS)
libmfx_la_CPPFLAGS = $(LIBVA_DRM_CFLAGS) $(LIBVA_X11_CFLAGS) $(AM_CPPFLAGS)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libmfx.pc
pkginclude_HEADERS = \
mfx/mfxastructures.h \
mfx/mfxaudio.h \
mfx/mfxcommon.h \
mfx/mfxdefs.h \
mfx/mfxenc.h \
mfx/mfxjpeg.h \
mfx/mfxla.h \
mfx/mfxmvc.h \
mfx/mfxpak.h \
mfx/mfxplugin.h \
mfx/mfxsession.h \
mfx/mfxstructures.h \
mfx/mfxvideo.h \
mfx/mfxvp8.h \
mfx/mfxvstructures.h
pkgincludedir = $(includedir)/mfx