gallium/drivers: Use automake to generate makefile
This commit is contained in:
parent
ea738548e5
commit
fe3f98ed70
|
@ -1948,6 +1948,7 @@ CXXFLAGS="$CXXFLAGS $USER_CXXFLAGS"
|
||||||
|
|
||||||
dnl Substitute the config
|
dnl Substitute the config
|
||||||
AC_CONFIG_FILES([configs/autoconf
|
AC_CONFIG_FILES([configs/autoconf
|
||||||
|
src/gallium/drivers/Makefile
|
||||||
src/gallium/drivers/r300/Makefile
|
src/gallium/drivers/r300/Makefile
|
||||||
src/gbm/Makefile
|
src/gbm/Makefile
|
||||||
src/gbm/main/gbm.pc
|
src/gbm/main/gbm.pc
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
Makefile
|
||||||
|
Makefile.in
|
||||||
|
.deps/
|
|
@ -1,12 +0,0 @@
|
||||||
# src/gallium/drivers/Makefile
|
|
||||||
TOP = ../../..
|
|
||||||
include $(TOP)/configs/current
|
|
||||||
|
|
||||||
SUBDIRS = $(GALLIUM_DRIVERS_DIRS)
|
|
||||||
|
|
||||||
default install clean:
|
|
||||||
@for dir in $(SUBDIRS) ; do \
|
|
||||||
if [ -d $$dir ] ; then \
|
|
||||||
(cd $$dir && $(MAKE) $@) || exit 1; \
|
|
||||||
fi \
|
|
||||||
done
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
SUBDIRS = $(GALLIUM_DRIVERS_DIRS)
|
||||||
|
|
||||||
|
# FIXME: Remove when the rest of Gallium is converted to automake.
|
||||||
|
default: all
|
|
@ -9,3 +9,6 @@ C_SOURCES = \
|
||||||
glhd_screen.c
|
glhd_screen.c
|
||||||
|
|
||||||
include ../../Makefile.template
|
include ../../Makefile.template
|
||||||
|
|
||||||
|
# FIXME: Remove when this driver is converted to automake.
|
||||||
|
all: default
|
||||||
|
|
|
@ -7,3 +7,6 @@ LIBNAME = i915
|
||||||
include Makefile.sources
|
include Makefile.sources
|
||||||
|
|
||||||
include ../../Makefile.template
|
include ../../Makefile.template
|
||||||
|
|
||||||
|
# FIXME: Remove when this driver is converted to automake.
|
||||||
|
all: default
|
||||||
|
|
|
@ -9,3 +9,6 @@ C_SOURCES = \
|
||||||
id_screen.c
|
id_screen.c
|
||||||
|
|
||||||
include ../../Makefile.template
|
include ../../Makefile.template
|
||||||
|
|
||||||
|
# FIXME: Remove when this driver is converted to automake.
|
||||||
|
all: default
|
||||||
|
|
|
@ -62,6 +62,9 @@ CLEAN_EXTRA = *.o
|
||||||
|
|
||||||
include ../../Makefile.template
|
include ../../Makefile.template
|
||||||
|
|
||||||
|
# FIXME: Remove when this driver is converted to automake.
|
||||||
|
all: default
|
||||||
|
|
||||||
PROGS_DEPS := ../../auxiliary/libgallium.a
|
PROGS_DEPS := ../../auxiliary/libgallium.a
|
||||||
|
|
||||||
lp_tile_soa.c: lp_tile_soa.py ../../auxiliary/util/u_format_parse.py ../../auxiliary/util/u_format_pack.py ../../auxiliary/util/u_format.csv
|
lp_tile_soa.c: lp_tile_soa.py ../../auxiliary/util/u_format_parse.py ../../auxiliary/util/u_format_pack.py ../../auxiliary/util/u_format.csv
|
||||||
|
|
|
@ -11,3 +11,6 @@ C_SOURCES = \
|
||||||
noop_state.c
|
noop_state.c
|
||||||
|
|
||||||
include ../../Makefile.template
|
include ../../Makefile.template
|
||||||
|
|
||||||
|
# FIXME: Remove when this driver is converted to automake.
|
||||||
|
all: default
|
||||||
|
|
|
@ -14,3 +14,6 @@ LIBRARY_DEFINES += $(shell $(PKG_CONFIG) libdrm libdrm_nouveau --cflags-only-oth
|
||||||
include Makefile.sources
|
include Makefile.sources
|
||||||
|
|
||||||
include ../../Makefile.template
|
include ../../Makefile.template
|
||||||
|
|
||||||
|
# FIXME: Remove when this driver is converted to automake.
|
||||||
|
all: default
|
||||||
|
|
|
@ -10,3 +10,6 @@ LIBRARY_INCLUDES = \
|
||||||
$(LIBDRM_CFLAGS)
|
$(LIBDRM_CFLAGS)
|
||||||
|
|
||||||
include ../../Makefile.template
|
include ../../Makefile.template
|
||||||
|
|
||||||
|
# FIXME: Remove when this driver is converted to automake.
|
||||||
|
all: default
|
||||||
|
|
|
@ -10,3 +10,6 @@ LIBRARY_INCLUDES = \
|
||||||
$(LIBDRM_CFLAGS)
|
$(LIBDRM_CFLAGS)
|
||||||
|
|
||||||
include ../../Makefile.template
|
include ../../Makefile.template
|
||||||
|
|
||||||
|
# FIXME: Remove when this driver is converted to automake.
|
||||||
|
all: default
|
||||||
|
|
|
@ -11,3 +11,6 @@ LIBRARY_INCLUDES = \
|
||||||
-I$(TOP)/src/gallium/drivers/nouveau/include
|
-I$(TOP)/src/gallium/drivers/nouveau/include
|
||||||
|
|
||||||
include ../../Makefile.template
|
include ../../Makefile.template
|
||||||
|
|
||||||
|
# FIXME: Remove when this driver is converted to automake.
|
||||||
|
all: default
|
||||||
|
|
|
@ -32,7 +32,3 @@ r300_compiler_tests_SOURCES = \
|
||||||
$(testdir)/radeon_compiler_util_tests.c \
|
$(testdir)/radeon_compiler_util_tests.c \
|
||||||
$(testdir)/rc_test_helpers.c \
|
$(testdir)/rc_test_helpers.c \
|
||||||
$(testdir)/unit_test.c
|
$(testdir)/unit_test.c
|
||||||
|
|
||||||
# FIXME: remove this when the rest of the gallium
|
|
||||||
# build system is converted to automake.
|
|
||||||
default: libr300.a
|
|
||||||
|
|
|
@ -12,3 +12,6 @@ LIBRARY_INCLUDES = -I$(TOP)/include
|
||||||
include Makefile.sources
|
include Makefile.sources
|
||||||
|
|
||||||
include ../../Makefile.template
|
include ../../Makefile.template
|
||||||
|
|
||||||
|
# FIXME: Remove when this driver is converted to automake.
|
||||||
|
all: default
|
||||||
|
|
|
@ -10,3 +10,6 @@ C_SOURCES = \
|
||||||
rbug_screen.c
|
rbug_screen.c
|
||||||
|
|
||||||
include ../../Makefile.template
|
include ../../Makefile.template
|
||||||
|
|
||||||
|
# FIXME: Remove when this driver is converted to automake.
|
||||||
|
all: default
|
||||||
|
|
|
@ -35,3 +35,6 @@ C_SOURCES = \
|
||||||
sp_surface.c
|
sp_surface.c
|
||||||
|
|
||||||
include ../../Makefile.template
|
include ../../Makefile.template
|
||||||
|
|
||||||
|
# FIXME: Remove when this driver is converted to automake.
|
||||||
|
all: default
|
||||||
|
|
|
@ -17,3 +17,6 @@ LIBRARY_DEFINES = \
|
||||||
-DHAVE_STDINT_H -DHAVE_SYS_TYPES_H
|
-DHAVE_STDINT_H -DHAVE_SYS_TYPES_H
|
||||||
|
|
||||||
include ../../Makefile.template
|
include ../../Makefile.template
|
||||||
|
|
||||||
|
# FIXME: Remove when this driver is converted to automake.
|
||||||
|
all: default
|
||||||
|
|
|
@ -11,3 +11,6 @@ C_SOURCES = \
|
||||||
tr_texture.c
|
tr_texture.c
|
||||||
|
|
||||||
include ../../Makefile.template
|
include ../../Makefile.template
|
||||||
|
|
||||||
|
# FIXME: Remove when this driver is converted to automake.
|
||||||
|
all: default
|
||||||
|
|
Loading…
Reference in New Issue