blob: 54f984cc4a66b5a0672522471eb8794b49593749 (
plain)
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
|
noinst_HEADERS = GLX_dummy.h
lib_LTLIBRARIES = libGLX_dummy.la libGLX_patchentry.la
check-local: libGLX_dummy_copy
.PHONY : libGLX_dummy_copy
# HACK to get multiple copies of the dummy library for testing
libGLX_dummy_copy : libGLX_dummy.la
cp .libs/libGLX_dummy.so.0.0.0 .libs/libGLX_dummy_0.so.0
cp .libs/libGLX_dummy.so.0.0.0 .libs/libGLX_dummy_1.so.0
COMMON_CFLAGS = \
-I$(top_srcdir)/src/GLX \
-I$(top_srcdir)/src/GLdispatch \
-I$(top_srcdir)/src/util \
-I$(top_srcdir)/src/util/trace \
-I$(top_srcdir)/include \
-Wno-error=unused-function
libGLX_dummy_la_CFLAGS = $(COMMON_CFLAGS)
libGLX_dummy_la_SOURCES = GLX_dummy.c
libGLX_dummy_la_LIBADD = $(top_builddir)/src/util/trace/libtrace.la
libGLX_patchentry_la_CFLAGS = $(COMMON_CFLAGS) -DPATCH_ENTRYPOINTS
libGLX_patchentry_la_SOURCES = GLX_dummy.c
libGLX_patchentry_la_LIBADD = $(top_builddir)/src/util/trace/libtrace.la
|