build: remove unused API_DEFINES
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
@@ -687,9 +687,6 @@ if test "x$enable_opengl" = xno -a \
|
||||
AC_MSG_ERROR([Building OpenGL ES2 without OpenGL is not supported])
|
||||
fi
|
||||
|
||||
API_DEFINES=""
|
||||
AC_SUBST([API_DEFINES])
|
||||
|
||||
AM_CONDITIONAL(HAVE_OPENGL, test "x$enable_opengl" = xyes)
|
||||
AM_CONDITIONAL(HAVE_OPENGL_ES1, test "x$enable_gles1" = xyes)
|
||||
AM_CONDITIONAL(HAVE_OPENGL_ES2, test "x$enable_gles2" = xyes)
|
||||
|
@@ -27,8 +27,7 @@ AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/mesa/ \
|
||||
-I$(top_srcdir)/src/glsl/glcpp \
|
||||
-I$(top_srcdir)/src/gtest/include \
|
||||
$(DEFINES) \
|
||||
$(API_DEFINES)
|
||||
$(DEFINES)
|
||||
AM_CFLAGS = $(VISIBILITY_CFLAGS)
|
||||
AM_CXXFLAGS = $(VISIBILITY_CXXFLAGS)
|
||||
|
||||
|
@@ -93,7 +93,7 @@ SRCDIR = $(top_srcdir)/src/mesa/
|
||||
BUILDDIR = $(top_builddir)/src/mesa/
|
||||
include Makefile.sources
|
||||
|
||||
AM_CPPFLAGS = $(API_DEFINES) $(DEFINES) $(INCLUDE_DIRS)
|
||||
AM_CPPFLAGS = $(DEFINES) $(INCLUDE_DIRS)
|
||||
AM_CFLAGS = $(LLVM_CFLAGS) $(VISIBILITY_CFLAGS)
|
||||
AM_CXXFLAGS = $(LLVM_CFLAGS) $(VISIBILITY_CXXFLAGS)
|
||||
|
||||
|
@@ -27,7 +27,6 @@ AM_CFLAGS = \
|
||||
-I$(top_srcdir)/src/mapi \
|
||||
-I$(top_srcdir)/src/mesa/ \
|
||||
$(DEFINES) \
|
||||
$(API_DEFINES) \
|
||||
$(LIBDRM_CFLAGS) \
|
||||
$(VISIBILITY_CFLAGS)
|
||||
|
||||
|
@@ -30,7 +30,6 @@ AM_CFLAGS = \
|
||||
-I$(top_srcdir)/src/mesa/ \
|
||||
-I$(top_srcdir)/src/mesa/drivers/dri/common \
|
||||
$(DEFINES) \
|
||||
$(API_DEFINES) \
|
||||
$(VISIBILITY_CFLAGS) \
|
||||
$(NOUVEAU_CFLAGS)
|
||||
|
||||
|
@@ -33,7 +33,6 @@ AM_CFLAGS = \
|
||||
-I$(top_srcdir)/src/mesa/drivers/dri/r200/server \
|
||||
-I$(top_builddir)/src/mesa/drivers/dri/common \
|
||||
$(DEFINES) \
|
||||
$(API_DEFINES) \
|
||||
$(VISIBILITY_CFLAGS) \
|
||||
$(RADEON_CFLAGS)
|
||||
|
||||
|
@@ -33,7 +33,6 @@ AM_CFLAGS = \
|
||||
-I$(top_srcdir)/src/mesa/drivers/dri/radeon/server \
|
||||
-I$(top_builddir)/src/mesa/drivers/dri/common \
|
||||
$(DEFINES) \
|
||||
$(API_DEFINES) \
|
||||
$(VISIBILITY_CFLAGS) \
|
||||
$(RADEON_CFLAGS)
|
||||
|
||||
|
@@ -31,7 +31,6 @@ AM_CFLAGS = \
|
||||
-I$(top_srcdir)/src/mesa/ \
|
||||
-I$(top_srcdir)/src/mesa/drivers/dri/common \
|
||||
$(DEFINES) \
|
||||
$(API_DEFINES) \
|
||||
$(VISIBILITY_CFLAGS)
|
||||
|
||||
dridir = $(DRI_DRIVER_INSTALL_DIR)
|
||||
|
@@ -26,8 +26,7 @@ AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/mapi \
|
||||
-I$(top_builddir)/src/mapi \
|
||||
-I$(top_srcdir)/src/mesa/ \
|
||||
$(DEFINES) \
|
||||
$(API_DEFINES)
|
||||
$(DEFINES)
|
||||
AM_CFLAGS = $(PTHREAD_CFLAGS) \
|
||||
$(VISIBILITY_CFLAGS)
|
||||
AM_CXXFLAGS = $(PTHREAD_CFLAGS) \
|
||||
|
@@ -29,7 +29,6 @@ AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/mesa \
|
||||
-I$(top_srcdir)/src/mesa/main \
|
||||
$(X11_INCLUDES) \
|
||||
$(API_DEFINES) \
|
||||
$(DEFINES)
|
||||
|
||||
if HAVE_X11_DRIVER
|
||||
|
@@ -28,7 +28,6 @@ noinst_PROGRAMS =
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
$(INCLUDE_DIRS) \
|
||||
$(API_DEFINES) \
|
||||
$(DEFINES) \
|
||||
-DUSE_DRICORE
|
||||
|
||||
|
@@ -8,7 +8,7 @@ AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/mapi \
|
||||
-I$(top_srcdir)/src/mesa \
|
||||
-I$(top_srcdir)/include \
|
||||
$(API_DEFINES) $(DEFINES) $(INCLUDE_DIRS)
|
||||
$(DEFINES) $(INCLUDE_DIRS)
|
||||
|
||||
TESTS = main-test
|
||||
check_PROGRAMS = main-test
|
||||
|
@@ -21,7 +21,7 @@
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/src/mesa/main \
|
||||
$(API_DEFINES) $(DEFINES) $(INCLUDE_DIRS)
|
||||
$(DEFINES) $(INCLUDE_DIRS)
|
||||
|
||||
LDADD = \
|
||||
$(top_builddir)/src/mesa/libmesa.la \
|
||||
|
@@ -21,7 +21,7 @@
|
||||
|
||||
include ../Makefile.sources
|
||||
|
||||
AM_CPPFLAGS = $(API_DEFINES) $(DEFINES) $(INCLUDE_DIRS)
|
||||
AM_CPPFLAGS = $(DEFINES) $(INCLUDE_DIRS)
|
||||
AM_CFLAGS = $(VISIBILITY_CFLAGS)
|
||||
AM_CXXFLAGS = $(VISIBILITY_CXXFLAGS)
|
||||
libdricore_program_la_CFLAGS = $(NOVISIBILITY_CFLAGS)
|
||||
|
@@ -25,7 +25,6 @@ AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/src/mesa \
|
||||
-I$(top_srcdir)/src/mapi \
|
||||
$(API_DEFINES) \
|
||||
$(DEFINES)
|
||||
|
||||
noinst_PROGRAMS = gen_matypes
|
||||
|
@@ -25,7 +25,6 @@ AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/src/mesa \
|
||||
-I$(top_srcdir)/src/mapi \
|
||||
$(API_DEFINES) \
|
||||
$(DEFINES)
|
||||
|
||||
noinst_PROGRAMS = gen_matypes
|
||||
|
Reference in New Issue
Block a user