diff options
author | Tom Stellard <[email protected]> | 2012-07-13 13:33:11 -0400 |
---|---|---|
committer | Andreas Boll <[email protected]> | 2013-01-10 22:01:06 +0100 |
commit | e04413cbb0597ac3f93dacbe0ed0732d847f7812 (patch) | |
tree | 230d98fe119f84b130100804e01fdca3915e37ee /src | |
parent | c07c2696c72ac02dfeab837f006b999c4519f67f (diff) |
r300g: Build a libtool archive
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r300/Makefile.am | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/gallium/drivers/r300/Makefile.am b/src/gallium/drivers/r300/Makefile.am index adf3bc38008..3f39af3b104 100644 --- a/src/gallium/drivers/r300/Makefile.am +++ b/src/gallium/drivers/r300/Makefile.am @@ -1,7 +1,7 @@ include Makefile.sources include $(top_srcdir)/src/gallium/Automake.inc -noinst_LIBRARIES = libr300.a +noinst_LTLIBRARIES = libr300.la check_PROGRAMS = r300_compiler_tests testdir = compiler/tests TESTS = r300_compiler_tests @@ -17,12 +17,7 @@ AM_CFLAGS = \ $(LLVM_CFLAGS) \ $(RADEON_CFLAGS) -libr300_a_SOURCES = \ - $(C_SOURCES) \ - $(top_srcdir)/src/glsl/ralloc.c \ - $(top_srcdir)/src/mesa/program/register_allocate.c - -r300_compiler_tests_LDADD = libr300.a +r300_compiler_tests_LDADD = libr300.la r300_compiler_tests_CPPFLAGS = \ -I$(top_srcdir)/src/gallium/drivers/r300/compiler r300_compiler_tests_SOURCES = \ @@ -30,3 +25,12 @@ r300_compiler_tests_SOURCES = \ $(testdir)/radeon_compiler_util_tests.c \ $(testdir)/rc_test_helpers.c \ $(testdir)/unit_test.c + +libr300_la_SOURCES = \ + $(C_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 + ln -f $(builddir)/.libs/libr300.a $(builddir)/libr300.a |