glx: Move GLX extension string utility functions
authorJon TURNEY <jon.turney@dronecode.org.uk>
Sat, 7 Nov 2009 19:34:12 +0000 (19:34 +0000)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Wed, 29 Jun 2011 18:09:23 +0000 (19:09 +0100)
Move GLX extension string utility functions from the DRI1 convenience library
into the GLX extension convenience library, so other DDX which don't have DRI
can use them.

This is probably also needed if anyone actually tries to build an Xorg DDX
with only DRI2 support...

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
glx/Makefile.am

index 7cc2521..34be4ae 100644 (file)
@@ -48,9 +48,7 @@ glapi_sources =                                       \
        glthread.c                              \
        glthread.h
 
-libglxdri_la_SOURCES = \
-        extension_string.c \
-        extension_string.h
+libglxdri_la_SOURCES =
 
 if DRI
 libglxdri_la_SOURCES += glxdri.c
@@ -65,6 +63,8 @@ libglxdri_la_LIBADD = $(DLOPEN_LIBS)
 libglx_la_SOURCES = \
        $(indirect_sources) \
        $(glapi_sources) \
+       extension_string.c \
+       extension_string.h \
        indirect_util.c \
        indirect_util.h \
        indirect_program.c \