build: remove unused API_DEFINES 61/6361/1
authorAndreas Boll <andreas.boll.dev@gmail.com>
Wed, 27 Feb 2013 09:10:14 +0000 (10:10 +0100)
committerAndreas Boll <andreas.boll.dev@gmail.com>
Wed, 1 May 2013 19:34:48 +0000 (21:34 +0200)
Reviewed-by: Matt Turner <mattst88@gmail.com>
16 files changed:
configure.ac
src/glsl/Makefile.am
src/mesa/Makefile.am
src/mesa/drivers/dri/common/Makefile.am
src/mesa/drivers/dri/nouveau/Makefile.am
src/mesa/drivers/dri/r200/Makefile.am
src/mesa/drivers/dri/radeon/Makefile.am
src/mesa/drivers/dri/swrast/Makefile.am
src/mesa/drivers/osmesa/Makefile.am
src/mesa/drivers/x11/Makefile.am
src/mesa/libdricore/Makefile.am
src/mesa/main/tests/Makefile.am
src/mesa/main/tests/hash_table/Makefile.am
src/mesa/program/Makefile.am
src/mesa/x86-64/Makefile.am
src/mesa/x86/Makefile.am

index 1c84091..5bc8c94 100644 (file)
@@ -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)
index d0e5cd1..2bbad3d 100644 (file)
@@ -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)
 
index 2d077f8..d5f5f5b 100644 (file)
@@ -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)
 
index dfc8f3b..ce4119d 100644 (file)
@@ -27,7 +27,6 @@ AM_CFLAGS = \
        -I$(top_srcdir)/src/mapi \
        -I$(top_srcdir)/src/mesa/ \
        $(DEFINES) \
-       $(API_DEFINES) \
        $(LIBDRM_CFLAGS) \
        $(VISIBILITY_CFLAGS)
 
index 00ee1df..2b47f75 100644 (file)
@@ -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)
 
index 4991399..4357922 100644 (file)
@@ -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)
 
index b0aaa45..43de059 100644 (file)
@@ -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)
 
index 3e53907..d3da196 100644 (file)
@@ -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)
index 2503401..082c294 100644 (file)
@@ -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) \
index 2b0a163..32bd385 100644 (file)
@@ -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
index dce5170..56ceeb7 100644 (file)
@@ -28,7 +28,6 @@ noinst_PROGRAMS =
 
 AM_CPPFLAGS = \
        $(INCLUDE_DIRS) \
-       $(API_DEFINES) \
        $(DEFINES) \
        -DUSE_DRICORE
 
index 4acc815..87262d5 100644 (file)
@@ -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
index f63841d..0330ebb 100644 (file)
@@ -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 \
index b0e9eff..ab565e2 100644 (file)
@@ -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)
index baeb4b6..80e7917 100644 (file)
@@ -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
index 5976bb4..21ce360 100644 (file)
@@ -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