gbm: drop unneeded dependency of libudev
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 29 Jan 2014 16:25:12 +0000 (16:25 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 11 Feb 2014 17:17:50 +0000 (17:17 +0000)
As of recently we dlopen the library, additionally the only
code that is including the libudev.h header, is the loader.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/targets/gbm/Makefile.am
src/gbm/Makefile.am

index 4299d07b82eb63da62dd14c796af4b721b24643c..6d71a65b9cbe591ae1941d212d0a2aa6b17c36af 100644 (file)
@@ -34,7 +34,6 @@ AM_CPPFLAGS = \
 
 AM_CFLAGS = \
        $(GALLIUM_CFLAGS) \
-       $(LIBUDEV_CFLAGS) \
        $(LIBDRM_CFLAGS)
 
 gbm_LTLIBRARIES = gbm_gallium_drm.la
@@ -47,7 +46,6 @@ gbm_gallium_drm_la_LIBADD = \
        $(top_builddir)/src/gallium/winsys/sw/null/libws_null.la \
        $(top_builddir)/src/gallium/state_trackers/gbm/libgbm.la \
        $(top_builddir)/src/gallium/auxiliary/libgallium.la \
-       $(LIBUDEV_LIBS) \
        $(LIBDRM_LIBS) \
        -lm
 
index eacb96a38e6ac037bc2fad414503d274be8c1d18..c46f14a69b95dbf90bd777b7d724e717da9a5662 100644 (file)
@@ -9,7 +9,6 @@ AM_CFLAGS = \
        -I$(top_srcdir)/include \
        -I$(top_srcdir)/src/loader \
        -I$(top_srcdir)/src/gbm/main \
-       $(LIBUDEV_CFLAGS) \
        $(LIBKMS_CFLAGS) \
        $(DLOPEN_CFLAGS) \
        $(DEFINES)
@@ -23,7 +22,6 @@ libgbm_la_SOURCES = \
 libgbm_la_LDFLAGS = -version-info 1:0
 libgbm_la_LIBADD = \
        $(top_builddir)/src/loader/libloader.la \
-       $(LIBUDEV_LIBS) \
        $(LIBKMS_LIBS) \
        $(DLOPEN_LIBS)