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
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
################################################################################
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
$(GALLIUM_CFLAGS)
libi915_la_SOURCES = $(C_SOURCES)
-
-all-local: libi915.la
- ln -f $(builddir)/.libs/libi915.a $(builddir)/libi915.a
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
$(LIBDRM_CFLAGS)
libnouveau_la_SOURCES = $(C_SOURCES)
-
-all-local: libnouveau.la
- ln -f $(builddir)/.libs/libnouveau.a $(builddir)/libnouveau.a
$(GALLIUM_CFLAGS)
libnv30_la_SOURCES = $(C_SOURCES)
-
-all-local: libnv30.la
- ln -f $(builddir)/.libs/libnv30.a $(builddir)/libnv30.a
$(GALLIUM_CFLAGS)
libnv50_la_SOURCES = $(C_SOURCES) $(CPP_SOURCES)
-
-all-local: libnv50.la
- ln -f $(builddir)/.libs/libnv50.a $(builddir)/libnv50.a
$(GALLIUM_CFLAGS)
libnvc0_la_SOURCES = $(C_SOURCES) $(CPP_SOURCES)
-
-all-local: libnvc0.la
- ln -f $(builddir)/.libs/libnvc0.a $(builddir)/libnvc0.a
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
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
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
rbug_context.c \
rbug_objects.c \
rbug_screen.c
-
-all-local: librbug.la
- ln -f $(builddir)/.libs/librbug.a $(builddir)/librbug.a
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
noinst_LTLIBRARIES = libsvga.la
libsvga_la_SOURCES = $(C_SOURCES)
-
-all-local: libsvga.la
- ln -f $(builddir)/.libs/libsvga.a $(builddir)/libsvga.a
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
dri_screen.c \
dri_drawable.c \
dri2.c
-
-all-local: libdridrm.la
- ln -f $(builddir)/.libs/libdridrm.a $(builddir)/libdridrm.a
dri_screen.c \
dri_drawable.c \
drisw.c
-
-all-local: libdrisw.la
- ln -f $(builddir)/.libs/libdrisw.a $(builddir)/libdrisw.a
-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
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
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
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
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
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
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
@$(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
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
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
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
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
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
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
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
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
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
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
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
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
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
# 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 \
-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 \
# 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 \
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)
$(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
include Makefile.sources
-# Hack to make some of the non-automake variables work.
-TOP=$(top_builddir)
-
AM_CFLAGS = \
-DI915 \
-I$(top_srcdir)/include \
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/ \
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/ \
include Makefile.sources
-# Hack to make some of the non-automake variables work.
-TOP=$(top_builddir)
-
AM_CFLAGS = \
-DRADEON_R200 \
-I$(top_srcdir)/include \
include Makefile.sources
-# Hack to make some of the non-automake variables work.
-TOP=$(top_builddir)
-
AM_CFLAGS = \
-DRADEON_R100 \
-I$(top_srcdir)/include \
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 \
# 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