diff options
author | Jon TURNEY <[email protected]> | 2012-07-07 00:51:52 +0100 |
---|---|---|
committer | Jon TURNEY <[email protected]> | 2012-07-13 12:43:58 +0100 |
commit | a112ca5d5f8504310bf157d440c859676aae7753 (patch) | |
tree | 2a8c019f4e9804aac52725eb5bc9e1b0dfe886fa /src/mesa/main/tests/Makefile.am | |
parent | 8676890018a94b475dd0bb7389f3b77f37e36fdb (diff) |
automake: convert libmesa and libmesagallium
* "configure substitutions are not allowed in _SOURCES variables" in automake, so instead of
MESA_ASM_FILES, use some AM_CONDITIONALS to choose which architecture's asm sources are used
in libmesa_la_SOURCES. (Can't remove MESA_ASM_FILES autoconf variable as it's still used in
sources.mak)
* Update to link with the .la file in other Makefile.am files, and make a link to the
.a file for the convenience of other Makefiles which have not yet been converted to automake
v2: Remove stray -static from LDFLAGS
v3: Remove .a compatibility link on clean
Signed-off-by: Jon TURNEY <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Tested-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/main/tests/Makefile.am')
-rw-r--r-- | src/mesa/main/tests/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/tests/Makefile.am b/src/mesa/main/tests/Makefile.am index 12f26b20409..74e02a8ccca 100644 --- a/src/mesa/main/tests/Makefile.am +++ b/src/mesa/main/tests/Makefile.am @@ -12,6 +12,6 @@ main_test_SOURCES = \ enum_strings.cpp main_test_LDADD = \ - $(top_builddir)/src/mesa/libmesa.a \ + $(top_builddir)/src/mesa/libmesa.la \ $(top_builddir)/src/gtest/libgtest.la \ -lpthread |