automake: use GALLIUM_PIPE_LOADER_DEFINES only where applicable
As of last commit we no longer need the defines in order to have the function prototypes. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Acked-by: Rob Clark <robclark@freedesktop.org>
This commit is contained in:
@@ -67,7 +67,6 @@ COMMON_VL_CFLAGS = \
|
||||
$(VL_CFLAGS) \
|
||||
$(DRI2PROTO_CFLAGS) \
|
||||
$(LIBDRM_CFLAGS) \
|
||||
$(GALLIUM_PIPE_LOADER_DEFINES) \
|
||||
-DPIPE_SEARCH_DIR=\"$(libdir)/gallium-pipe\"
|
||||
|
||||
if HAVE_GALLIUM_STATIC_TARGETS
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
include Makefile.sources
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
$(GALLIUM_PIPE_LOADER_DEFINES) \
|
||||
-DPIPE_SEARCH_DIR=\"$(libdir)/gallium-pipe\" \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/src \
|
||||
|
||||
@@ -25,7 +25,6 @@ include Makefile.sources
|
||||
include $(top_srcdir)/src/gallium/Automake.inc
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
$(GALLIUM_PIPE_LOADER_DEFINES) \
|
||||
-DPIPE_SEARCH_DIR=\"$(libdir)/gallium-pipe\" \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/src/mapi \
|
||||
|
||||
@@ -29,7 +29,6 @@ AM_CFLAGS = \
|
||||
$(VISIBILITY_CFLAGS)
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
$(GALLIUM_PIPE_LOADER_DEFINES) \
|
||||
-DPIPE_SEARCH_DIR=\"$(libdir)/gallium-pipe\"
|
||||
|
||||
if HAVE_GALLIUM_STATIC_TARGETS
|
||||
|
||||
@@ -42,8 +42,7 @@ AM_CPPFLAGS = \
|
||||
else
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-DPIPE_SEARCH_DIR=\"$(libdir)/gallium-pipe\" \
|
||||
$(GALLIUM_PIPE_LOADER_DEFINES)
|
||||
-DPIPE_SEARCH_DIR=\"$(libdir)/gallium-pipe\"
|
||||
|
||||
endif
|
||||
|
||||
|
||||
@@ -8,8 +8,7 @@ AM_CFLAGS = \
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/gallium/drivers \
|
||||
-I$(top_srcdir)/src/gallium/winsys \
|
||||
-DPIPE_SEARCH_DIR=\"$(PIPE_SRC_DIR)/.libs\" \
|
||||
$(GALLIUM_PIPE_LOADER_DEFINES)
|
||||
-DPIPE_SEARCH_DIR=\"$(PIPE_SRC_DIR)/.libs\"
|
||||
|
||||
LDADD = \
|
||||
$(top_builddir)/src/gallium/auxiliary/pipe-loader/libpipe_loader.la \
|
||||
|
||||
Reference in New Issue
Block a user