summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/auxiliary/Makefile.am4
-rw-r--r--src/gallium/auxiliary/pipe-loader/Makefile.am11
-rw-r--r--src/gallium/drivers/Makefile.am14
-rw-r--r--src/gallium/drivers/i915/Makefile.am3
-rw-r--r--src/gallium/drivers/llvmpipe/Makefile.am2
-rw-r--r--src/gallium/drivers/nouveau/Makefile.am3
-rw-r--r--src/gallium/drivers/nv30/Makefile.am3
-rw-r--r--src/gallium/drivers/nv50/Makefile.am3
-rw-r--r--src/gallium/drivers/nvc0/Makefile.am3
-rw-r--r--src/gallium/drivers/r300/Makefile.am5
-rw-r--r--src/gallium/drivers/r600/Makefile.am4
-rw-r--r--src/gallium/drivers/radeonsi/Makefile.am4
-rw-r--r--src/gallium/drivers/rbug/Makefile.am3
-rw-r--r--src/gallium/drivers/softpipe/Makefile.am3
-rw-r--r--src/gallium/drivers/svga/Makefile.am3
-rw-r--r--src/gallium/drivers/trace/Makefile.am4
-rw-r--r--src/gallium/state_trackers/dri/drm/Makefile.am3
-rw-r--r--src/gallium/state_trackers/dri/sw/Makefile.am3
-rw-r--r--src/gallium/state_trackers/egl/Makefile.am6
-rw-r--r--src/gallium/state_trackers/gbm/Makefile.am6
-rw-r--r--src/gallium/state_trackers/glx/Makefile.am6
-rw-r--r--src/gallium/state_trackers/vdpau/Makefile.am6
-rw-r--r--src/gallium/state_trackers/vega/Makefile.am6
-rw-r--r--src/gallium/state_trackers/xorg/Makefile.am6
-rw-r--r--src/gallium/state_trackers/xvmc/Makefile.am6
-rw-r--r--src/gallium/targets/opencl/Makefile.am4
-rw-r--r--src/gallium/winsys/i915/drm/Makefile.am4
-rw-r--r--src/gallium/winsys/i915/sw/Makefile.am4
-rw-r--r--src/gallium/winsys/nouveau/drm/Makefile.am4
-rw-r--r--src/gallium/winsys/radeon/drm/Makefile.am4
-rw-r--r--src/gallium/winsys/svga/drm/Makefile.am4
-rw-r--r--src/gallium/winsys/sw/dri/Makefile.am4
-rw-r--r--src/gallium/winsys/sw/fbdev/Makefile.am4
-rw-r--r--src/gallium/winsys/sw/null/Makefile.am4
-rw-r--r--src/gallium/winsys/sw/wayland/Makefile.am4
-rw-r--r--src/gallium/winsys/sw/wrapper/Makefile.am4
-rw-r--r--src/gallium/winsys/sw/xlib/Makefile.am4
-rw-r--r--src/glsl/Makefile.am7
-rw-r--r--src/mapi/glapi/Makefile.am9
-rw-r--r--src/mapi/glapi/gen/Makefile.am11
-rw-r--r--src/mapi/vgapi/Makefile.am3
-rw-r--r--src/mesa/Makefile.am13
-rw-r--r--src/mesa/drivers/dri/i915/Makefile.am3
-rw-r--r--src/mesa/drivers/dri/i965/Makefile.am3
-rw-r--r--src/mesa/drivers/dri/nouveau/Makefile.am3
-rw-r--r--src/mesa/drivers/dri/r200/Makefile.am3
-rw-r--r--src/mesa/drivers/dri/radeon/Makefile.am3
-rw-r--r--src/mesa/drivers/dri/swrast/Makefile.am3
-rw-r--r--src/mesa/libdricore/Makefile.am1
49 files changed, 6 insertions, 224 deletions
diff --git a/src/gallium/auxiliary/Makefile.am b/src/gallium/auxiliary/Makefile.am
index b8ac7c9..a4eee47 100644
--- a/src/gallium/auxiliary/Makefile.am
+++ b/src/gallium/auxiliary/Makefile.am
@@ -45,7 +45,3 @@ util/u_format_srgb.c: $(srcdir)/util/u_format_srgb.py
util/u_format_table.c: $(srcdir)/util/u_format_table.py $(srcdir)/util/u_format_pack.py $(srcdir)/util/u_format_parse.py $(srcdir)/util/u_format.csv
$(AM_V_GEN) $(PYTHON2) $(srcdir)/util/u_format_table.py $(srcdir)/util/u_format.csv > $@
-
-#XXX: Delete this when all targets are converted to automake.
-all-local: libgallium.la
- ln -f $(builddir)/.libs/libgallium.a $(builddir)/libgallium.a
diff --git a/src/gallium/auxiliary/pipe-loader/Makefile.am b/src/gallium/auxiliary/pipe-loader/Makefile.am
index cc0be79..9a8094f 100644
--- a/src/gallium/auxiliary/pipe-loader/Makefile.am
+++ b/src/gallium/auxiliary/pipe-loader/Makefile.am
@@ -22,15 +22,4 @@ if HAVE_DRM_LOADER_GALLIUM
libpipe_loader_la_SOURCES += pipe_loader_drm.c
AM_CFLAGS = $(LIBDRM_CFLAGS)
endif
-
-# Provide compatibility with scripts for the old Mesa build system for
-# a while by putting a link to the library in the current directory.
-all-local: libpipe_loader.la
- ln -f .libs/libpipe_loader.a .
-
-clean-local:
- rm -f libpipe_loader.a
endif
-
-# FIXME: Remove when the rest of Gallium is converted to automake.
-default: all
diff --git a/src/gallium/drivers/Makefile.am b/src/gallium/drivers/Makefile.am
index a70b8f7..25d9533 100644
--- a/src/gallium/drivers/Makefile.am
+++ b/src/gallium/drivers/Makefile.am
@@ -64,17 +64,3 @@ endif
################################################################################
SUBDIRS += $(GALLIUM_MAKE_DIRS)
-
-# FIXME: Remove when the rest of Gallium is converted to automake.
-default: all
-
-all-local: $(noinst_LTLIBRARIES)
-if HAVE_GALAHAD_GALLIUM
- ln -f $(builddir)/galahad/.libs/libgalahad.a $(builddir)/galahad/libgalahad.a
-endif
-if HAVE_IDENTITY_GALLIUM
- ln -f $(builddir)/identity/.libs/libidentity.a $(builddir)/identity/libidentity.a
-endif
-if HAVE_NOOP_GALLIUM
- ln -f $(builddir)/noop/.libs/libnoop.a $(builddir)/noop/libnoop.a
-endif
diff --git a/src/gallium/drivers/i915/Makefile.am b/src/gallium/drivers/i915/Makefile.am
index 5c73811..4e6f464 100644
--- a/src/gallium/drivers/i915/Makefile.am
+++ b/src/gallium/drivers/i915/Makefile.am
@@ -31,6 +31,3 @@ AM_CPPFLAGS = \
$(GALLIUM_CFLAGS)
libi915_la_SOURCES = $(C_SOURCES)
-
-all-local: libi915.la
- ln -f $(builddir)/.libs/libi915.a $(builddir)/libi915.a
diff --git a/src/gallium/drivers/llvmpipe/Makefile.am b/src/gallium/drivers/llvmpipe/Makefile.am
index 1514f16..78cb95d 100644
--- a/src/gallium/drivers/llvmpipe/Makefile.am
+++ b/src/gallium/drivers/llvmpipe/Makefile.am
@@ -105,5 +105,3 @@ lp_test_printf_SOURCES = lp_test_printf.c lp_test_main.c
lp_test_printf_LDADD = libllvmpipe.la ../../auxiliary/libgallium.la $(LLVM_LIBS)
nodist_EXTRA_lp_test_printf_SOURCES = dummy.cpp
-all-local: libllvmpipe.la
- ln -f $(builddir)/.libs/libllvmpipe.a $(builddir)/libllvmpipe.a
diff --git a/src/gallium/drivers/nouveau/Makefile.am b/src/gallium/drivers/nouveau/Makefile.am
index ca4623f..12e3da0 100644
--- a/src/gallium/drivers/nouveau/Makefile.am
+++ b/src/gallium/drivers/nouveau/Makefile.am
@@ -33,6 +33,3 @@ AM_CPPFLAGS = \
$(LIBDRM_CFLAGS)
libnouveau_la_SOURCES = $(C_SOURCES)
-
-all-local: libnouveau.la
- ln -f $(builddir)/.libs/libnouveau.a $(builddir)/libnouveau.a
diff --git a/src/gallium/drivers/nv30/Makefile.am b/src/gallium/drivers/nv30/Makefile.am
index 6a6cd1e..668a8b2 100644
--- a/src/gallium/drivers/nv30/Makefile.am
+++ b/src/gallium/drivers/nv30/Makefile.am
@@ -31,6 +31,3 @@ AM_CPPFLAGS = \
$(GALLIUM_CFLAGS)
libnv30_la_SOURCES = $(C_SOURCES)
-
-all-local: libnv30.la
- ln -f $(builddir)/.libs/libnv30.a $(builddir)/libnv30.a
diff --git a/src/gallium/drivers/nv50/Makefile.am b/src/gallium/drivers/nv50/Makefile.am
index d22e684..93eeb1f 100644
--- a/src/gallium/drivers/nv50/Makefile.am
+++ b/src/gallium/drivers/nv50/Makefile.am
@@ -31,6 +31,3 @@ AM_CPPFLAGS = \
$(GALLIUM_CFLAGS)
libnv50_la_SOURCES = $(C_SOURCES) $(CPP_SOURCES)
-
-all-local: libnv50.la
- ln -f $(builddir)/.libs/libnv50.a $(builddir)/libnv50.a
diff --git a/src/gallium/drivers/nvc0/Makefile.am b/src/gallium/drivers/nvc0/Makefile.am
index 8954f02..6a245af 100644
--- a/src/gallium/drivers/nvc0/Makefile.am
+++ b/src/gallium/drivers/nvc0/Makefile.am
@@ -31,6 +31,3 @@ AM_CPPFLAGS = \
$(GALLIUM_CFLAGS)
libnvc0_la_SOURCES = $(C_SOURCES) $(CPP_SOURCES)
-
-all-local: libnvc0.la
- ln -f $(builddir)/.libs/libnvc0.a $(builddir)/libnvc0.a
diff --git a/src/gallium/drivers/r300/Makefile.am b/src/gallium/drivers/r300/Makefile.am
index 3b88f73..2da9bf9 100644
--- a/src/gallium/drivers/r300/Makefile.am
+++ b/src/gallium/drivers/r300/Makefile.am
@@ -38,8 +38,3 @@ libr300_la_SOURCES = $(C_SOURCES)
libr300_helper_la_SOURCES = \
$(top_srcdir)/src/glsl/ralloc.c \
$(top_srcdir)/src/mesa/program/register_allocate.c
-
-#XXX: Delete this when all r300 targets are converted to automake.
-all-local: libr300.la libr300-helper.la
- ln -f $(builddir)/.libs/libr300.a $(builddir)/libr300.a
- ln -f $(builddir)/.libs/libr300-helper.a $(builddir)/libr300-helper.a
diff --git a/src/gallium/drivers/r600/Makefile.am b/src/gallium/drivers/r600/Makefile.am
index 0fa1ffd..ac8e12b 100644
--- a/src/gallium/drivers/r600/Makefile.am
+++ b/src/gallium/drivers/r600/Makefile.am
@@ -42,7 +42,3 @@ if HAVE_GALLIUM_COMPUTE
AM_CFLAGS += \
-DHAVE_OPENCL
endif
-
-#XXX: Delete this when all r600 targets are converted to automake.
-all-local: libr600.la
- ln -f $(builddir)/.libs/libr600.a $(builddir)/libr600.a
diff --git a/src/gallium/drivers/radeonsi/Makefile.am b/src/gallium/drivers/radeonsi/Makefile.am
index 595cf86..e771d31 100644
--- a/src/gallium/drivers/radeonsi/Makefile.am
+++ b/src/gallium/drivers/radeonsi/Makefile.am
@@ -34,7 +34,3 @@ AM_CFLAGS = $(LLVM_CFLAGS)
libradeonsi_la_SOURCES = $(C_SOURCES)
libradeonsi_la_LIBADD = ../radeon/libllvmradeon@VERSION@.la
-
-#XXX: Delete this when all radeonsi targets are converted to automake.
-all-local: libradeonsi.la
- ln -f $(builddir)/.libs/libradeonsi.a $(builddir)/libradeonsi.a
diff --git a/src/gallium/drivers/rbug/Makefile.am b/src/gallium/drivers/rbug/Makefile.am
index 43b5d6e..655bfe1 100644
--- a/src/gallium/drivers/rbug/Makefile.am
+++ b/src/gallium/drivers/rbug/Makefile.am
@@ -38,6 +38,3 @@ librbug_la_SOURCES = \
rbug_context.c \
rbug_objects.c \
rbug_screen.c
-
-all-local: librbug.la
- ln -f $(builddir)/.libs/librbug.a $(builddir)/librbug.a
diff --git a/src/gallium/drivers/softpipe/Makefile.am b/src/gallium/drivers/softpipe/Makefile.am
index b6c3c6a..52ce958 100644
--- a/src/gallium/drivers/softpipe/Makefile.am
+++ b/src/gallium/drivers/softpipe/Makefile.am
@@ -59,6 +59,3 @@ libsoftpipe_la_SOURCES = \
sp_tex_tile_cache.c \
sp_tile_cache.c \
sp_surface.c
-
-all-local: libsoftpipe.la
- ln -f $(builddir)/.libs/libsoftpipe.a $(builddir)/libsoftpipe.a
diff --git a/src/gallium/drivers/svga/Makefile.am b/src/gallium/drivers/svga/Makefile.am
index 426fc89..e08a133 100644
--- a/src/gallium/drivers/svga/Makefile.am
+++ b/src/gallium/drivers/svga/Makefile.am
@@ -34,6 +34,3 @@ AM_CFLAGS = -std=gnu99
noinst_LTLIBRARIES = libsvga.la
libsvga_la_SOURCES = $(C_SOURCES)
-
-all-local: libsvga.la
- ln -f $(builddir)/.libs/libsvga.a $(builddir)/libsvga.a
diff --git a/src/gallium/drivers/trace/Makefile.am b/src/gallium/drivers/trace/Makefile.am
index 9adcef1..a9e1457 100644
--- a/src/gallium/drivers/trace/Makefile.am
+++ b/src/gallium/drivers/trace/Makefile.am
@@ -11,7 +11,3 @@ libtrace_la_SOURCES = \
tr_dump_state.c \
tr_screen.c \
tr_texture.c
-
-#XXX: Delete this when all targets using libtrace are converted to automake
-all-local: libtrace.la
- ln -f $(builddir)/.libs/libtrace.a $(builddir)/libtrace.a
diff --git a/src/gallium/state_trackers/dri/drm/Makefile.am b/src/gallium/state_trackers/dri/drm/Makefile.am
index 20bebeb..235c3b6 100644
--- a/src/gallium/state_trackers/dri/drm/Makefile.am
+++ b/src/gallium/state_trackers/dri/drm/Makefile.am
@@ -38,6 +38,3 @@ libdridrm_la_SOURCES = \
dri_screen.c \
dri_drawable.c \
dri2.c
-
-all-local: libdridrm.la
- ln -f $(builddir)/.libs/libdridrm.a $(builddir)/libdridrm.a
diff --git a/src/gallium/state_trackers/dri/sw/Makefile.am b/src/gallium/state_trackers/dri/sw/Makefile.am
index 8b72076..9e4d976 100644
--- a/src/gallium/state_trackers/dri/sw/Makefile.am
+++ b/src/gallium/state_trackers/dri/sw/Makefile.am
@@ -38,6 +38,3 @@ libdrisw_la_SOURCES = \
dri_screen.c \
dri_drawable.c \
drisw.c
-
-all-local: libdrisw.la
- ln -f $(builddir)/.libs/libdrisw.a $(builddir)/libdrisw.a
diff --git a/src/gallium/state_trackers/egl/Makefile.am b/src/gallium/state_trackers/egl/Makefile.am
index cce3a84..d647a64 100644
--- a/src/gallium/state_trackers/egl/Makefile.am
+++ b/src/gallium/state_trackers/egl/Makefile.am
@@ -101,9 +101,3 @@ AM_CPPFLAGS += \
-I$(top_srcdir)/src/gallium/winsys/sw \
-DHAVE_NULL_BACKEND
endif
-
-#XXX: Delete this when all targets that rely on egl are converted to automake.
-all-local: libegl.la
- ln -f $(builddir)/.libs/libegl.a $(builddir)/libegl.a
-
-CLEANFILES = libegl.a
diff --git a/src/gallium/state_trackers/gbm/Makefile.am b/src/gallium/state_trackers/gbm/Makefile.am
index 7caa840..70c5f77 100644
--- a/src/gallium/state_trackers/gbm/Makefile.am
+++ b/src/gallium/state_trackers/gbm/Makefile.am
@@ -33,9 +33,3 @@ endif
noinst_LTLIBRARIES = libgbm.la
libgbm_la_SOURCES = gbm_drm.c
-
-#XXX: Delete this when all targets that rely on gbm are converted to automake.
-all-local: libgbm.la
- ln -f $(builddir)/.libs/libgbm.a $(builddir)/libgbm.a
-
-CLEANFILES = libgbm.a
diff --git a/src/gallium/state_trackers/glx/Makefile.am b/src/gallium/state_trackers/glx/Makefile.am
index 2b16f91..e5b3924 100644
--- a/src/gallium/state_trackers/glx/Makefile.am
+++ b/src/gallium/state_trackers/glx/Makefile.am
@@ -38,9 +38,3 @@ libxlib_la_SOURCES = \
xlib/glx_usefont.c \
xlib/xm_api.c \
xlib/xm_st.c
-
-#XXX: Delete this when all targets that rely on xlib are converted to automake.
-all-local: libxlib.la
- ln -f $(builddir)/.libs/libxlib.a $(builddir)/xlib/libxlib.a
-
-CLEANFILES = libxlib.a
diff --git a/src/gallium/state_trackers/vdpau/Makefile.am b/src/gallium/state_trackers/vdpau/Makefile.am
index f300640..f7c5ed6 100644
--- a/src/gallium/state_trackers/vdpau/Makefile.am
+++ b/src/gallium/state_trackers/vdpau/Makefile.am
@@ -47,9 +47,3 @@ libvdpautracker_la_SOURCES = \
output.c \
preemption.c \
mixer.c
-
-#XXX: Delete this when all targets that rely on vdpautracker are converted to automake.
-all-local: libvdpautracker.la
- ln -f $(builddir)/.libs/libvdpautracker.a $(builddir)/libvdpautracker.a
-
-CLEANFILES = libvdpautracker.a
diff --git a/src/gallium/state_trackers/vega/Makefile.am b/src/gallium/state_trackers/vega/Makefile.am
index f656af7..85c1732 100644
--- a/src/gallium/state_trackers/vega/Makefile.am
+++ b/src/gallium/state_trackers/vega/Makefile.am
@@ -67,9 +67,3 @@ CLEANFILES = api_tmp.h
api_tmp.h: $(top_srcdir)/src/mapi/vgapi/vgapi.csv $(top_srcdir)/src/mapi/mapi/mapi_abi.py
$(AM_V_GEN) $(PYTHON2) $(PYTHON_FLAGS) $(top_srcdir)/src/mapi/mapi/mapi_abi.py \
--printer vgapi --mode app $< > $@
-
-#XXX: Delete this when all targets that rely on vega are converted to automake.
-all-local: libvega.la
- ln -f $(builddir)/.libs/libvega.a $(builddir)/libvega.a
-
-CLEANFILES += libvega.a
diff --git a/src/gallium/state_trackers/xorg/Makefile.am b/src/gallium/state_trackers/xorg/Makefile.am
index dcb49ad..e3bad1f 100644
--- a/src/gallium/state_trackers/xorg/Makefile.am
+++ b/src/gallium/state_trackers/xorg/Makefile.am
@@ -49,9 +49,3 @@ libxorgtracker_la_SOURCES = \
xorg_renderer.c \
xorg_xv.c \
xorg_xvmc.c
-
-#XXX: Delete this when all targets that rely on xorgtracker are converted to automake.
-all-local: libxorgtracker.la
- ln -f $(builddir)/.libs/libxorgtracker.a $(builddir)/libxorgtracker.a
-
-CLEANFILES = libxorgtracker.a
diff --git a/src/gallium/state_trackers/xvmc/Makefile.am b/src/gallium/state_trackers/xvmc/Makefile.am
index 973ac5d..8ac7406 100644
--- a/src/gallium/state_trackers/xvmc/Makefile.am
+++ b/src/gallium/state_trackers/xvmc/Makefile.am
@@ -57,9 +57,3 @@ tests_test_rendering_SOURCES = tests/test_rendering.c tests/testlib.c
tests_test_rendering_LDADD = $(TEST_LIBS)
tests_xvmc_bench_SOURCES = tests/xvmc_bench.c tests/testlib.c
tests_xvmc_bench_LDADD = $(TEST_LIBS)
-
-#XXX: Delete this when all targets that rely on xvmctracker are converted to automake.
-all-local: libxvmctracker.la
- ln -f $(builddir)/.libs/libxvmctracker.a $(builddir)/libxvmctracker.a
-
-CLEANFILES = libxvmctracker.a
diff --git a/src/gallium/targets/opencl/Makefile.am b/src/gallium/targets/opencl/Makefile.am
index 362d49d..c5c3003 100644
--- a/src/gallium/targets/opencl/Makefile.am
+++ b/src/gallium/targets/opencl/Makefile.am
@@ -40,7 +40,3 @@ all-local: libOpenCL.la
@$(MAKE) -C $(PIPE_SRC_DIR)
$(MKDIR_P) $(top_builddir)/$(LIB_DIR)
ln -f .libs/libOpenCL.so* $(top_builddir)/$(LIB_DIR)/
-
-# FIXME: Remove when the rest of Gallium is converted to automake.
-TOP=$(top_builddir)
-default: all
diff --git a/src/gallium/winsys/i915/drm/Makefile.am b/src/gallium/winsys/i915/drm/Makefile.am
index b7b6145..7a64925 100644
--- a/src/gallium/winsys/i915/drm/Makefile.am
+++ b/src/gallium/winsys/i915/drm/Makefile.am
@@ -32,7 +32,3 @@ AM_CFLAGS = \
noinst_LTLIBRARIES = libi915drm.la
libi915drm_la_SOURCES = $(C_SOURCES)
-
-#XXX: Delete this when all targets using the i915 winsys are converted to automake.
-all-local: libi915drm.la
- ln -f $(builddir)/.libs/libi915drm.a $(builddir)/libi915drm.a
diff --git a/src/gallium/winsys/i915/sw/Makefile.am b/src/gallium/winsys/i915/sw/Makefile.am
index 1cf3cbe..2276f0d 100644
--- a/src/gallium/winsys/i915/sw/Makefile.am
+++ b/src/gallium/winsys/i915/sw/Makefile.am
@@ -35,7 +35,3 @@ libi915sw_la_SOURCES = \
i915_sw_buffer.c \
i915_sw_fence.c \
i915_sw_winsys.c
-
-#XXX: Delete this when all targets using the i915 winsys are converted to automake.
-all-local: libi915sw.la
- ln -f $(builddir)/.libs/libi915sw.a $(builddir)/libi915sw.a
diff --git a/src/gallium/winsys/nouveau/drm/Makefile.am b/src/gallium/winsys/nouveau/drm/Makefile.am
index fb04b36..1448877 100644
--- a/src/gallium/winsys/nouveau/drm/Makefile.am
+++ b/src/gallium/winsys/nouveau/drm/Makefile.am
@@ -31,7 +31,3 @@ AM_CFLAGS = \
noinst_LTLIBRARIES = libnouveaudrm.la
libnouveaudrm_la_SOURCES = nouveau_drm_winsys.c
-
-#XXX: Delete this when all targets using the nouveau winsys are converted to automake.
-all-local: libnouveaudrm.la
- ln -f $(builddir)/.libs/libnouveaudrm.a $(builddir)/libnouveaudrm.a
diff --git a/src/gallium/winsys/radeon/drm/Makefile.am b/src/gallium/winsys/radeon/drm/Makefile.am
index 5b2506b..184d257 100644
--- a/src/gallium/winsys/radeon/drm/Makefile.am
+++ b/src/gallium/winsys/radeon/drm/Makefile.am
@@ -9,7 +9,3 @@ AM_CFLAGS = \
noinst_LTLIBRARIES = libradeonwinsys.la
libradeonwinsys_la_SOURCES = $(C_SOURCES)
-
-#XXX: Delete this when all targets using the radeon winsys are converted to automake.
-all-local: libradeonwinsys.la
- ln -f $(builddir)/.libs/libradeonwinsys.a $(builddir)/libradeonwinsys.a
diff --git a/src/gallium/winsys/svga/drm/Makefile.am b/src/gallium/winsys/svga/drm/Makefile.am
index fadd750..452af3a 100644
--- a/src/gallium/winsys/svga/drm/Makefile.am
+++ b/src/gallium/winsys/svga/drm/Makefile.am
@@ -35,7 +35,3 @@ AM_CFLAGS = -std=gnu99 -D_FILE_OFFSET_BITS=64
noinst_LTLIBRARIES = libsvgadrm.la
libsvgadrm_la_SOURCES = $(C_SOURCES)
-
-#XXX: Delete this when all targets using the svga winsys are converted to automake.
-all-local: libsvgadrm.la
- ln -f $(builddir)/.libs/libsvgadrm.a $(builddir)/libsvgadrm.a
diff --git a/src/gallium/winsys/sw/dri/Makefile.am b/src/gallium/winsys/sw/dri/Makefile.am
index c93ce3c..e0f9451 100644
--- a/src/gallium/winsys/sw/dri/Makefile.am
+++ b/src/gallium/winsys/sw/dri/Makefile.am
@@ -28,7 +28,3 @@ AM_CPPFLAGS = \
noinst_LTLIBRARIES = libswdri.la
libswdri_la_SOURCES = dri_sw_winsys.c
-
-#XXX: Delete this when all targets using the swdri winsys are converted to automake.
-all-local: libswdri.la
- ln -f $(builddir)/.libs/libswdri.a $(builddir)/libswdri.a
diff --git a/src/gallium/winsys/sw/fbdev/Makefile.am b/src/gallium/winsys/sw/fbdev/Makefile.am
index ec06f7e..801f689 100644
--- a/src/gallium/winsys/sw/fbdev/Makefile.am
+++ b/src/gallium/winsys/sw/fbdev/Makefile.am
@@ -28,7 +28,3 @@ AM_CPPFLAGS = \
noinst_LTLIBRARIES = libfbdev.la
libfbdev_la_SOURCES = fbdev_sw_winsys.c
-
-#XXX: Delete this when all targets using the fbdev winsys are converted to automake.
-all-local: libfbdev.la
- ln -f $(builddir)/.libs/libfbdev.a $(builddir)/libfbdev.a
diff --git a/src/gallium/winsys/sw/null/Makefile.am b/src/gallium/winsys/sw/null/Makefile.am
index 5a1e11d..fb450dd 100644
--- a/src/gallium/winsys/sw/null/Makefile.am
+++ b/src/gallium/winsys/sw/null/Makefile.am
@@ -28,7 +28,3 @@ AM_CPPFLAGS = \
noinst_LTLIBRARIES = libws_null.la
libws_null_la_SOURCES = null_sw_winsys.c
-
-#XXX: Delete this when all targets using the ws_null winsys are converted to automake.
-all-local: libws_null.la
- ln -f $(builddir)/.libs/libws_null.a $(builddir)/libws_null.a
diff --git a/src/gallium/winsys/sw/wayland/Makefile.am b/src/gallium/winsys/sw/wayland/Makefile.am
index 1f61e58..40ec7d9 100644
--- a/src/gallium/winsys/sw/wayland/Makefile.am
+++ b/src/gallium/winsys/sw/wayland/Makefile.am
@@ -29,7 +29,3 @@ AM_CPPFLAGS = \
noinst_LTLIBRARIES = libws_wayland.la
libws_wayland_la_SOURCES = wayland_sw_winsys.c
-
-#XXX: Delete this when all targets using the ws_wayland winsys are converted to automake.
-all-local: libws_wayland.la
- ln -f $(builddir)/.libs/libws_wayland.a $(builddir)/libws_wayland.a
diff --git a/src/gallium/winsys/sw/wrapper/Makefile.am b/src/gallium/winsys/sw/wrapper/Makefile.am
index 14f4382..3dcd6ad 100644
--- a/src/gallium/winsys/sw/wrapper/Makefile.am
+++ b/src/gallium/winsys/sw/wrapper/Makefile.am
@@ -28,7 +28,3 @@ AM_CPPFLAGS = \
noinst_LTLIBRARIES = libwsw.la
libwsw_la_SOURCES = wrapper_sw_winsys.c
-
-#XXX: Delete this when all targets using the wsw winsys are converted to automake.
-all-local: libwsw.la
- ln -f $(builddir)/.libs/libwsw.a $(builddir)/libwsw.a
diff --git a/src/gallium/winsys/sw/xlib/Makefile.am b/src/gallium/winsys/sw/xlib/Makefile.am
index 76dbea3..59da37d 100644
--- a/src/gallium/winsys/sw/xlib/Makefile.am
+++ b/src/gallium/winsys/sw/xlib/Makefile.am
@@ -29,7 +29,3 @@ AM_CPPFLAGS = \
noinst_LTLIBRARIES = libws_xlib.la
libws_xlib_la_SOURCES = xlib_sw_winsys.c
-
-#XXX: Delete this when all targets using the ws_xlib winsys are converted to automake.
-all-local: libws_xlib.la
- ln -f $(builddir)/.libs/libws_xlib.a $(builddir)/libws_xlib.a
diff --git a/src/glsl/Makefile.am b/src/glsl/Makefile.am
index aff1559..0f545d5 100644
--- a/src/glsl/Makefile.am
+++ b/src/glsl/Makefile.am
@@ -78,10 +78,3 @@ CLEANFILES = glsl_lexer.cc glsl_parser.cc $(BUILT_SOURCES) builtin_function.cpp
builtin_function.cpp: $(srcdir)/builtins/profiles/* $(srcdir)/builtins/ir/* $(srcdir)/builtins/glsl/* $(srcdir)/builtins/tools/generate_builtins.py $(srcdir)/builtins/tools/texture_builtins.py builtin_compiler/builtin_compiler$(BUILD_EXEEXT)
$(AM_V_GEN) $(PYTHON2) $(PYTHON_FLAGS) $(srcdir)/builtins/tools/generate_builtins.py builtin_compiler/builtin_compiler$(BUILD_EXEEXT) > builtin_function.cpp || rm -f builtin_function.cpp
-
-# Provide compatibility with scripts for the old Mesa build system for
-# a while by putting a link to the library in the current directory.
-all-local: libglsl.la
- ln -f .libs/libglsl.a .
-
-CLEANFILES += libglsl.a
diff --git a/src/mapi/glapi/Makefile.am b/src/mapi/glapi/Makefile.am
index 181a28a..bdb527d 100644
--- a/src/mapi/glapi/Makefile.am
+++ b/src/mapi/glapi/Makefile.am
@@ -58,12 +58,3 @@ endif
noinst_LTLIBRARIES = libglapi.la
libglapi_la_SOURCES = $(glapi_GLAPI_sources) $(glapi_ASM_sources) $(glapi_MAPI_sources)
-libglapi_la_LIBADD =
-libglapi_la_LDFLAGS =
-
-# Provide compatibility with scripts for the old Mesa build system for
-# a while by putting a link to libglapi.a here
-all-local: libglapi.la
- ln -sf .libs/libglapi.a libglapi.a
-
-CLEANFILES = libglapi.a
diff --git a/src/mapi/glapi/gen/Makefile.am b/src/mapi/glapi/gen/Makefile.am
index ff22c8e..46b2127 100644
--- a/src/mapi/glapi/gen/Makefile.am
+++ b/src/mapi/glapi/gen/Makefile.am
@@ -3,9 +3,6 @@
# Instead, when the Mesa developers update/change the API interface it's
# up to him/her to re-run this makefile and check in the newly generated files.
-
-TOP = ../../../..
-
# These are the "official" xserver indent flags from utils/modular/x-indent.sh
XORG_INDENT_FLAGS = -linux -bad -bap -blf -bli0 -cbi0 -cdw -nce -cs -i4 -lc80 -psl -nbbo \
-nbc -psl -nbfda -nut -nss -T pointer -T ScreenPtr -T ScrnInfoPtr -T pointer \
@@ -26,10 +23,10 @@ XORG_INDENT_FLAGS = -linux -bad -bap -blf -bli0 -cbi0 -cdw -nce -cs -i4 -lc80 -p
-T _XFUNCPROTOBEGIN -T _XFUNCPROTOEND -T _X_EXPORT
-MESA_DIR = $(TOP)/src/mesa
-MESA_GLAPI_DIR = $(TOP)/src/mapi/glapi
-MESA_MAPI_DIR = $(TOP)/src/mapi/mapi
-MESA_GLX_DIR = $(TOP)/src/glx
+MESA_DIR = $(top_srcdir)/src/mesa
+MESA_GLAPI_DIR = $(top_srcdir)/src/mapi/glapi
+MESA_MAPI_DIR = $(top_srcdir)/src/mapi/mapi
+MESA_GLX_DIR = $(top_srcdir)/src/glx
MESA_GLAPI_OUTPUTS = \
$(MESA_GLAPI_DIR)/glapi_mapi_tmp.h \
diff --git a/src/mapi/vgapi/Makefile.am b/src/mapi/vgapi/Makefile.am
index 47875ed..b7abf92 100644
--- a/src/mapi/vgapi/Makefile.am
+++ b/src/mapi/vgapi/Makefile.am
@@ -19,8 +19,6 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
-TOP=$(top_srcdir)
-
AM_CPPFLAGS = \
$(DEFINES) \
-I$(top_srcdir)/include \
@@ -41,6 +39,7 @@ VG_include_HEADERS = \
lib_LTLIBRARIES = libOpenVG.la
+TOP=$(top_srcdir)
include ../mapi/sources.mak
libOpenVG_la_SOURCES = $(MAPI_FILES) vgapi_tmp.h
libOpenVG_la_LIBADD = $(VG_LIB_DEPS)
diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am
index 9809ee4..41483dd 100644
--- a/src/mesa/Makefile.am
+++ b/src/mesa/Makefile.am
@@ -128,20 +128,9 @@ libmesagallium_la_LIBADD = \
$(top_builddir)/src/mesa/program/libprogram.la \
$()
-libmesagallium_la_LDFLAGS =
-
-if HAVE_GALLIUM
-# Provide compatibility with scripts for the old Mesa build system for
-# a while by putting a link to the library in the current directory.
-all-local: $(noinst_LTLIBRARIES)
- ln -f .libs/libmesagallium.a .
-endif
-
-CLEANFILES += libmesagallium.a
-
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gl.pc
# Emacs tags
tags:
- etags `find . -name \*.[ch]` $(TOP)/include/GL/*.h
+ etags `find . -name \*.[ch]` $(top_srcdir)/include/GL/*.h
diff --git a/src/mesa/drivers/dri/i915/Makefile.am b/src/mesa/drivers/dri/i915/Makefile.am
index 677eba8..7db4398 100644
--- a/src/mesa/drivers/dri/i915/Makefile.am
+++ b/src/mesa/drivers/dri/i915/Makefile.am
@@ -23,9 +23,6 @@
include Makefile.sources
-# Hack to make some of the non-automake variables work.
-TOP=$(top_builddir)
-
AM_CFLAGS = \
-DI915 \
-I$(top_srcdir)/include \
diff --git a/src/mesa/drivers/dri/i965/Makefile.am b/src/mesa/drivers/dri/i965/Makefile.am
index fb4f56c..c59e6cc 100644
--- a/src/mesa/drivers/dri/i965/Makefile.am
+++ b/src/mesa/drivers/dri/i965/Makefile.am
@@ -25,9 +25,6 @@ include Makefile.sources
if HAVE_I965_DRI
-# Hack to make some of the non-automake variables work.
-TOP=$(top_builddir)
-
AM_CFLAGS = \
-I$(top_srcdir)/include \
-I$(top_srcdir)/src/ \
diff --git a/src/mesa/drivers/dri/nouveau/Makefile.am b/src/mesa/drivers/dri/nouveau/Makefile.am
index 8bfbf92..00ee1df 100644
--- a/src/mesa/drivers/dri/nouveau/Makefile.am
+++ b/src/mesa/drivers/dri/nouveau/Makefile.am
@@ -23,9 +23,6 @@
include Makefile.sources
-# Hack to make some of the non-automake variables work.
-TOP=$(top_builddir)
-
AM_CFLAGS = \
-I$(top_srcdir)/include \
-I$(top_srcdir)/src/ \
diff --git a/src/mesa/drivers/dri/r200/Makefile.am b/src/mesa/drivers/dri/r200/Makefile.am
index c8947a8..34ce531 100644
--- a/src/mesa/drivers/dri/r200/Makefile.am
+++ b/src/mesa/drivers/dri/r200/Makefile.am
@@ -23,9 +23,6 @@
include Makefile.sources
-# Hack to make some of the non-automake variables work.
-TOP=$(top_builddir)
-
AM_CFLAGS = \
-DRADEON_R200 \
-I$(top_srcdir)/include \
diff --git a/src/mesa/drivers/dri/radeon/Makefile.am b/src/mesa/drivers/dri/radeon/Makefile.am
index f93dcf4..f836162 100644
--- a/src/mesa/drivers/dri/radeon/Makefile.am
+++ b/src/mesa/drivers/dri/radeon/Makefile.am
@@ -23,9 +23,6 @@
include Makefile.sources
-# Hack to make some of the non-automake variables work.
-TOP=$(top_builddir)
-
AM_CFLAGS = \
-DRADEON_R100 \
-I$(top_srcdir)/include \
diff --git a/src/mesa/drivers/dri/swrast/Makefile.am b/src/mesa/drivers/dri/swrast/Makefile.am
index 244aa8b..3e53907 100644
--- a/src/mesa/drivers/dri/swrast/Makefile.am
+++ b/src/mesa/drivers/dri/swrast/Makefile.am
@@ -23,9 +23,6 @@
include Makefile.sources
-# Hack to make some of the non-automake variables work.
-TOP=$(top_builddir)
-
AM_CFLAGS = \
-D__NOT_HAVE_DRM_H \
-I$(top_srcdir)/include \
diff --git a/src/mesa/libdricore/Makefile.am b/src/mesa/libdricore/Makefile.am
index 8956276..753548e 100644
--- a/src/mesa/libdricore/Makefile.am
+++ b/src/mesa/libdricore/Makefile.am
@@ -19,7 +19,6 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
-TOP=$(top_srcdir)
SRCDIR=$(top_srcdir)/src/mesa/
BUILDDIR=$(top_builddir)/src/mesa/
include ../sources.mak