r600g: Use automake to generate Makefile

This commit is contained in:
Tom Stellard 2012-04-13 14:29:49 -04:00 committed by Tom Stellard
parent 35f2fb70d3
commit 6077b347ae
3 changed files with 18 additions and 17 deletions

View file

@ -1993,6 +1993,7 @@ dnl Substitute the config
AC_CONFIG_FILES([configs/autoconf
src/gallium/drivers/Makefile
src/gallium/drivers/r300/Makefile
src/gallium/drivers/r600/Makefile
src/gbm/Makefile
src/gbm/main/gbm.pc
src/egl/drivers/Makefile

View file

@ -1,17 +0,0 @@
TOP = ../../../..
include $(TOP)/configs/current
LIBNAME = r600
#This is for libdrm include path
CFLAGS+=$(RADEON_CFLAGS)
LIBRARY_INCLUDES = -I$(TOP)/include
# get C_SOURCES
include Makefile.sources
include ../../Makefile.template
# FIXME: Remove when this driver is converted to automake.
all: default

View file

@ -0,0 +1,17 @@
include Makefile.sources
noinst_LIBRARIES = libr600.a
AM_CFLAGS = \
-I$(top_srcdir)/src/gallium/include \
-I$(top_srcdir)/src/gallium/auxiliary \
-I$(top_srcdir)/src/gallium/drivers \
-I$(top_srcdir)/include \
$(RADEON_CFLAGS) \
$(DEFINES) \
$(ASM_FLAGS) \
$(PIC_FLAGS) \
$(VISIBILITY_CFLAGS)
libr600_a_SOURCES = \
$(C_SOURCES)