trace: Convert to automake

This commit is contained in:
Tom Stellard 2012-08-24 11:46:32 -07:00 committed by Andreas Boll
parent 34a6150188
commit 047fe04750
4 changed files with 20 additions and 13 deletions

View file

@ -2006,6 +2006,7 @@ AC_CONFIG_FILES([configs/current
src/gallium/drivers/Makefile
src/gallium/drivers/r300/Makefile
src/gallium/drivers/r600/Makefile
src/gallium/drivers/trace/Makefile
src/gallium/state_trackers/clover/Makefile
src/gallium/targets/Makefile
src/gallium/targets/opencl/Makefile

2
src/gallium/drivers/trace/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
Makefile
Makefile.in

View file

@ -1,13 +0,0 @@
TOP = ../../../..
include $(TOP)/configs/current
LIBNAME = trace
C_SOURCES = \
tr_context.c \
tr_dump.c \
tr_dump_state.c \
tr_screen.c \
tr_texture.c
include ../../Makefile.template

View file

@ -0,0 +1,17 @@
include $(top_srcdir)/src/gallium/Automake.inc
AM_CFLAGS = \
$(GALLIUM_CFLAGS)
noinst_LTLIBRARIES = libtrace.la
libtrace_la_SOURCES = \
tr_context.c \
tr_dump.c \
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