Skip to content

Commit e409193

Browse files
maximd33ilu-zero
authored andcommitted
full linux dispatcher update
1 parent f48fb97 commit e409193

11 files changed

Lines changed: 1126 additions & 1091 deletions

Makefile.am

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
ACLOCAL_AMFLAGS = -I m4
22

3-
AM_CPPFLAGS = -I$(top_srcdir)/include -DMINGW_HAS_SECURE_API=1
3+
AM_CPPFLAGS = -I$(top_srcdir)/include -DMINGW_HAS_SECURE_API=1 -DMFX_MODULES_DIR=\".\" -DMFX_PLUGINS_CONF_DIR=\".\"
44

55
dist_doc_DATA =
66

77
lib_LTLIBRARIES = libmfx.la
88

9+
if WINDOWS
910
libmfx_la_SOURCES = \
1011
src/mfx_critical_section.h \
1112
src/mfx_exposed_functions_list.h \
@@ -18,11 +19,7 @@ libmfx_la_SOURCES = \
1819
src/mfx_dispatcher.cpp \
1920
src/mfx_dispatcher_log.cpp \
2021
src/mfx_load_plugin.cpp \
21-
src/mfx_function_table.cpp
22-
23-
24-
if WINDOWS
25-
libmfx_la_SOURCES += \
22+
src/mfx_function_table.cpp \
2623
src/mfx_dxva2_device.h \
2724
src/mfx_win_reg_key.h \
2825
src/mfx_dxva2_device.cpp \
@@ -31,12 +28,9 @@ libmfx_la_SOURCES += \
3128
src/mfx_win_reg_key.cpp \
3229
src/mfx_plugin_hive.cpp
3330
else
34-
libmfx_la_SOURCES += \
35-
src/mfx_va_glue.c \
36-
src/mfx_critical_section_linux.cpp \
37-
src/mfx_load_dll_linux.cpp \
38-
src/mfx_plugin_cfg_parser.cpp \
39-
src/mfx_plugin_hive_linux.cpp
31+
libmfx_la_SOURCES = \
32+
src/mfxloader.cpp \
33+
src/mfxparser.cpp
4034
endif
4135

4236

src/main.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@
1818
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1919
// SOFTWARE.
2020

21-
#ifndef MFX_HAVE_LINUX
2221
#include <windows.h>
2322
#include <stringapiset.h>
24-
#endif
2523

2624
#include <new>
2725
#include <memory>

src/mfx_critical_section_linux.cpp

Lines changed: 0 additions & 91 deletions
This file was deleted.

0 commit comments

Comments
 (0)