Skip to content

Commit

Permalink
full linux dispatcher update
Browse files Browse the repository at this point in the history
  • Loading branch information
maximd33i authored and lu-zero committed Sep 4, 2020
1 parent f48fb97 commit e409193
Show file tree
Hide file tree
Showing 11 changed files with 1,126 additions and 1,091 deletions.
18 changes: 6 additions & 12 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
ACLOCAL_AMFLAGS = -I m4

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

dist_doc_DATA =

lib_LTLIBRARIES = libmfx.la

if WINDOWS
libmfx_la_SOURCES = \
src/mfx_critical_section.h \
src/mfx_exposed_functions_list.h \
Expand All @@ -18,11 +19,7 @@ libmfx_la_SOURCES = \
src/mfx_dispatcher.cpp \
src/mfx_dispatcher_log.cpp \
src/mfx_load_plugin.cpp \
src/mfx_function_table.cpp


if WINDOWS
libmfx_la_SOURCES += \
src/mfx_function_table.cpp \
src/mfx_dxva2_device.h \
src/mfx_win_reg_key.h \
src/mfx_dxva2_device.cpp \
Expand All @@ -31,12 +28,9 @@ libmfx_la_SOURCES += \
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_load_dll_linux.cpp \
src/mfx_plugin_cfg_parser.cpp \
src/mfx_plugin_hive_linux.cpp
libmfx_la_SOURCES = \
src/mfxloader.cpp \
src/mfxparser.cpp
endif


Expand Down
2 changes: 0 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

#ifndef MFX_HAVE_LINUX
#include <windows.h>
#include <stringapiset.h>
#endif

#include <new>
#include <memory>
Expand Down
91 changes: 0 additions & 91 deletions src/mfx_critical_section_linux.cpp

This file was deleted.

Loading

0 comments on commit e409193

Please sign in to comment.