2016-10-11 00:04:53 +02:00
|
|
|
noinst_HEADERS = \
|
|
|
|
patchentrypoints.h \
|
2016-10-21 21:59:16 +02:00
|
|
|
GLX_dummy.h \
|
|
|
|
EGL_dummy.h
|
2013-08-12 22:12:10 +02:00
|
|
|
|
2016-12-02 22:45:37 +01:00
|
|
|
check_LTLIBRARIES =
|
2019-11-05 22:22:31 +01:00
|
|
|
|
2016-12-02 22:45:37 +01:00
|
|
|
check_LTLIBRARIES += libpatchentrypoints.la
|
2016-10-11 00:04:53 +02:00
|
|
|
libpatchentrypoints_la_CFLAGS = \
|
|
|
|
-I$(top_srcdir)/src/GLdispatch \
|
|
|
|
-I$(top_srcdir)/src/util \
|
|
|
|
-I$(top_srcdir)/include
|
|
|
|
libpatchentrypoints_la_SOURCES = \
|
|
|
|
patchentrypoints.c
|
2013-08-12 22:12:10 +02:00
|
|
|
|
2016-12-13 23:45:26 +01:00
|
|
|
if ENABLE_GLX
|
2016-12-02 22:45:37 +01:00
|
|
|
check_LTLIBRARIES += libGLX_dummy.la
|
2016-10-05 18:36:48 +02:00
|
|
|
libGLX_dummy_la_CFLAGS = \
|
2013-09-26 23:57:06 +02:00
|
|
|
-I$(top_srcdir)/src/GLX \
|
2013-11-26 00:21:41 +01:00
|
|
|
-I$(top_srcdir)/src/GLdispatch \
|
2013-09-26 23:57:06 +02:00
|
|
|
-I$(top_srcdir)/src/util \
|
2016-10-11 00:04:53 +02:00
|
|
|
-I$(top_srcdir)/include
|
2016-10-05 18:36:48 +02:00
|
|
|
libGLX_dummy_la_SOURCES = \
|
2016-04-05 00:57:56 +02:00
|
|
|
GLX_dummy.c
|
2016-10-05 18:36:48 +02:00
|
|
|
libGLX_dummy_la_LIBADD = $(top_builddir)/src/util/libtrace.la
|
|
|
|
libGLX_dummy_la_LIBADD += $(top_builddir)/src/util/libutils_misc.la
|
2016-10-11 00:04:53 +02:00
|
|
|
libGLX_dummy_la_LIBADD += libpatchentrypoints.la
|
2019-11-22 23:01:25 +01:00
|
|
|
libGLX_dummy_la_LIBADD += $(X11_LIBS)
|
2015-11-11 20:59:33 +01:00
|
|
|
# The -rpath option forces libtool to create a shared library instead of just a
|
|
|
|
# static library.
|
2016-10-05 18:36:48 +02:00
|
|
|
libGLX_dummy_la_LDFLAGS = \
|
2015-11-11 20:59:33 +01:00
|
|
|
-shared \
|
2019-11-22 23:01:25 +01:00
|
|
|
-rpath /nowhere \
|
|
|
|
$(LINKER_FLAG_NO_UNDEFINED)
|
2016-12-13 23:45:26 +01:00
|
|
|
endif # ENABLE_GLX
|
2015-11-11 20:59:33 +01:00
|
|
|
|
2016-12-13 23:45:26 +01:00
|
|
|
if ENABLE_EGL
|
2016-10-21 21:59:16 +02:00
|
|
|
EGL_DUMMY_CFLAGS_COMMON = \
|
|
|
|
-I$(top_srcdir)/src/util \
|
|
|
|
-I$(top_srcdir)/include
|
|
|
|
EGL_DUMMY_SOURCES_COMMON = EGL_dummy.c
|
|
|
|
EGL_DUMMY_LIBADD_COMMON = \
|
2019-11-22 23:01:25 +01:00
|
|
|
$(top_builddir)/src/util/libglvnd_pthread.la \
|
|
|
|
$(top_builddir)/src/util/libtrace.la \
|
|
|
|
$(top_builddir)/src/util/libutils_misc.la
|
2016-10-21 21:59:16 +02:00
|
|
|
EGL_DUMMY_LDFLAGS_COMMON = \
|
|
|
|
-shared \
|
2019-11-22 23:01:25 +01:00
|
|
|
-rpath /nowhere \
|
|
|
|
$(LINKER_FLAG_NO_UNDEFINED)
|
2016-10-21 21:59:16 +02:00
|
|
|
|
2016-12-02 22:45:37 +01:00
|
|
|
check_LTLIBRARIES += libEGL_dummy0.la
|
2016-10-21 21:59:16 +02:00
|
|
|
libEGL_dummy0_la_CFLAGS = \
|
|
|
|
$(EGL_DUMMY_CFLAGS_COMMON) \
|
|
|
|
-D DUMMY_VENDOR_NAME=\"dummy0\"
|
|
|
|
libEGL_dummy0_la_SOURCES = $(EGL_DUMMY_SOURCES_COMMON)
|
|
|
|
libEGL_dummy0_la_LIBADD = $(EGL_DUMMY_LIBADD_COMMON)
|
|
|
|
libEGL_dummy0_la_LDFLAGS = $(EGL_DUMMY_LDFLAGS_COMMON)
|
|
|
|
|
2016-12-02 22:45:37 +01:00
|
|
|
check_LTLIBRARIES += libEGL_dummy1.la
|
2016-10-21 21:59:16 +02:00
|
|
|
libEGL_dummy1_la_CFLAGS = \
|
|
|
|
$(EGL_DUMMY_CFLAGS_COMMON) \
|
|
|
|
-D DUMMY_VENDOR_NAME=\"dummy1\"
|
|
|
|
libEGL_dummy1_la_SOURCES = $(EGL_DUMMY_SOURCES_COMMON)
|
|
|
|
libEGL_dummy1_la_LIBADD = $(EGL_DUMMY_LIBADD_COMMON)
|
|
|
|
libEGL_dummy1_la_LDFLAGS = $(EGL_DUMMY_LDFLAGS_COMMON)
|
|
|
|
|
2016-12-13 23:45:26 +01:00
|
|
|
endif # ENABLE_EGL
|
2019-11-05 22:22:31 +01:00
|
|
|
|
|
|
|
EXTRA_DIST = meson.build
|