gallium/drivers: Use automake to generate makefile

This commit is contained in:
Tom Stellard 2012-03-03 09:07:48 -05:00 committed by Tom Stellard
parent ea738548e5
commit fe3f98ed70
19 changed files with 50 additions and 16 deletions

View File

@ -1948,6 +1948,7 @@ CXXFLAGS="$CXXFLAGS $USER_CXXFLAGS"
dnl Substitute the config
AC_CONFIG_FILES([configs/autoconf
src/gallium/drivers/Makefile
src/gallium/drivers/r300/Makefile
src/gbm/Makefile
src/gbm/main/gbm.pc

3
src/gallium/drivers/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
Makefile
Makefile.in
.deps/

View File

@ -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

View File

@ -0,0 +1,4 @@
SUBDIRS = $(GALLIUM_DRIVERS_DIRS)
# FIXME: Remove when the rest of Gallium is converted to automake.
default: all

View File

@ -9,3 +9,6 @@ C_SOURCES = \
glhd_screen.c
include ../../Makefile.template
# FIXME: Remove when this driver is converted to automake.
all: default

View File

@ -7,3 +7,6 @@ LIBNAME = i915
include Makefile.sources
include ../../Makefile.template
# FIXME: Remove when this driver is converted to automake.
all: default

View File

@ -9,3 +9,6 @@ C_SOURCES = \
id_screen.c
include ../../Makefile.template
# FIXME: Remove when this driver is converted to automake.
all: default

View File

@ -62,6 +62,9 @@ CLEAN_EXTRA = *.o
include ../../Makefile.template
# FIXME: Remove when this driver is converted to automake.
all: default
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

View File

@ -11,3 +11,6 @@ C_SOURCES = \
noop_state.c
include ../../Makefile.template
# FIXME: Remove when this driver is converted to automake.
all: default

View File

@ -14,3 +14,6 @@ LIBRARY_DEFINES += $(shell $(PKG_CONFIG) libdrm libdrm_nouveau --cflags-only-oth
include Makefile.sources
include ../../Makefile.template
# FIXME: Remove when this driver is converted to automake.
all: default

View File

@ -10,3 +10,6 @@ LIBRARY_INCLUDES = \
$(LIBDRM_CFLAGS)
include ../../Makefile.template
# FIXME: Remove when this driver is converted to automake.
all: default

View File

@ -10,3 +10,6 @@ LIBRARY_INCLUDES = \
$(LIBDRM_CFLAGS)
include ../../Makefile.template
# FIXME: Remove when this driver is converted to automake.
all: default

View File

@ -11,3 +11,6 @@ LIBRARY_INCLUDES = \
-I$(TOP)/src/gallium/drivers/nouveau/include
include ../../Makefile.template
# FIXME: Remove when this driver is converted to automake.
all: default

View File

@ -32,7 +32,3 @@ r300_compiler_tests_SOURCES = \
$(testdir)/radeon_compiler_util_tests.c \
$(testdir)/rc_test_helpers.c \
$(testdir)/unit_test.c
# FIXME: remove this when the rest of the gallium
# build system is converted to automake.
default: libr300.a

View File

@ -12,3 +12,6 @@ LIBRARY_INCLUDES = -I$(TOP)/include
include Makefile.sources
include ../../Makefile.template
# FIXME: Remove when this driver is converted to automake.
all: default

View File

@ -10,3 +10,6 @@ C_SOURCES = \
rbug_screen.c
include ../../Makefile.template
# FIXME: Remove when this driver is converted to automake.
all: default

View File

@ -35,3 +35,6 @@ C_SOURCES = \
sp_surface.c
include ../../Makefile.template
# FIXME: Remove when this driver is converted to automake.
all: default

View File

@ -17,3 +17,6 @@ LIBRARY_DEFINES = \
-DHAVE_STDINT_H -DHAVE_SYS_TYPES_H
include ../../Makefile.template
# FIXME: Remove when this driver is converted to automake.
all: default

View File

@ -11,3 +11,6 @@ C_SOURCES = \
tr_texture.c
include ../../Makefile.template
# FIXME: Remove when this driver is converted to automake.
all: default