summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-06-16 02:05:05 +0100
committerEmil Velikov <[email protected]>2014-07-02 10:52:52 +0100
commit9a7fd2954fa24a6d899c1fa5e7be55723d6892b8 (patch)
tree9ef913150a9dbb0474c7cb3eed650c8f4fb27d8b /src/gallium/state_trackers
parenta66dd60547f928bb758ae94206a4a73541bfa2df (diff)
st/dri/drm: Add a second libdridrm library
Will be used to create the single dri target library, on our way to convert all the dri targets during the conversion to to static/shared pipe-drivers. Signed-off-by: Emil Velikov <[email protected]> Tested-by: Rob Clark <[email protected]> Tested-by: Thomas Helland <thomashelland90 at gmail.com> Acked-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/dri/drm/Makefile.am10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/dri/drm/Makefile.am b/src/gallium/state_trackers/dri/drm/Makefile.am
index a348f65f390..d04a06a9fcc 100644
--- a/src/gallium/state_trackers/dri/drm/Makefile.am
+++ b/src/gallium/state_trackers/dri/drm/Makefile.am
@@ -36,10 +36,18 @@ AM_CPPFLAGS = \
$(LIBDRM_CFLAGS) \
$(VISIBILITY_CFLAGS)
-noinst_LTLIBRARIES = libdridrm.la
+noinst_LTLIBRARIES = libdridrm.la libdridrm_s.la
libdridrm_la_CPPFLAGS = \
$(AM_CPPFLAGS) \
-DSPLIT_TARGETS=1
+if HAVE_GALLIUM_STATIC_TARGETS
+libdridrm_s_la_CPPFLAGS = \
+ $(AM_CPPFLAGS) \
+ -DGALLIUM_STATIC_TARGETS=1
+endif # HAVE_GALLIUM_STATIC_TARGETS
+
libdridrm_la_SOURCES = $(C_SOURCES)
+
+libdridrm_s_la_SOURCES = $(C_SOURCES)