Skip to content

Commit

Permalink
Merge remote-tracking branch 'jturney/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
keith-packard committed Oct 28, 2016
2 parents 9ed5b26 + 03d99ef commit 356db23
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 8 additions & 3 deletions glx/Makefile.am
@@ -1,4 +1,8 @@
noinst_LTLIBRARIES = libglx.la libglxdri.la
if DRI2
GLXDRI_LIBRARY = libglxdri.la
endif

noinst_LTLIBRARIES = libglx.la $(GLXDRI_LIBRARY)

AM_CFLAGS = \
@DIX_CFLAGS@ \
Expand All @@ -16,11 +20,10 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/hw/xfree86/os-support/bus \
-I$(top_srcdir)/hw/xfree86/common \
-I$(top_srcdir)/hw/xfree86/dri \
-I$(top_srcdir)/hw/xfree86/dri2 \
-I$(top_srcdir)/mi \
-I$(top_srcdir)/present

AM_CPPFLAGS += -I$(top_srcdir)/hw/xfree86/dri2

indirect_sources = \
indirect_dispatch.c \
indirect_dispatch.h \
Expand All @@ -33,7 +36,9 @@ indirect_sources = \
indirect_table.c

libglxdri_la_SOURCES =
if DRI2
libglxdri_la_SOURCES += glxdri2.c
endif

libglxdri_la_LIBADD = $(DLOPEN_LIBS)

Expand Down
2 changes: 2 additions & 0 deletions hw/xfree86/dixmods/Makefile.am
Expand Up @@ -29,10 +29,12 @@ libwfb_la_CFLAGS = $(AM_CFLAGS) -DFB_ACCESS_WRAPPER

libglx_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
libglx_la_LIBADD = $(top_builddir)/glx/libglx.la $(GLX_SYS_LIBS)
if DRI2
libglx_la_LIBADD += $(top_builddir)/glx/libglxdri.la
if NO_UNDEFINED
libglx_la_LIBADD += $(LIBDRM_LIBS) $(PIXMAN_LIBS)
endif
endif
libglx_la_SOURCES = glxmodule.c

libshadow_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
Expand Down

0 comments on commit 356db23

Please sign in to comment.