summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/compiler
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-02-19 19:38:58 -0500
committerTom Stellard <[email protected]>2012-02-26 15:13:47 -0500
commite6fa2d89e14452b6bdf42c7eb4150fb2a2c46a4a (patch)
tree947a55f5bdd4bce093cea8915124f48f3d813537 /src/gallium/drivers/r300/compiler
parentedf33079771d61b093c6bffd98094b197915d758 (diff)
r300g: Use automake to generate Makefile v3
v2: - s/$(top_builddir)/$(top_srcdir)/ - Always generate Makefile.in v3: - Fixes from Matt Turner - Use Mesa CFLAGS
Diffstat (limited to 'src/gallium/drivers/r300/compiler')
-rw-r--r--src/gallium/drivers/r300/compiler/tests/.gitignore1
-rw-r--r--src/gallium/drivers/r300/compiler/tests/Makefile54
2 files changed, 0 insertions, 55 deletions
diff --git a/src/gallium/drivers/r300/compiler/tests/.gitignore b/src/gallium/drivers/r300/compiler/tests/.gitignore
deleted file mode 100644
index 85672fed777..00000000000
--- a/src/gallium/drivers/r300/compiler/tests/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-radeon_compiler_util_tests
diff --git a/src/gallium/drivers/r300/compiler/tests/Makefile b/src/gallium/drivers/r300/compiler/tests/Makefile
deleted file mode 100644
index fe83e5d0c96..00000000000
--- a/src/gallium/drivers/r300/compiler/tests/Makefile
+++ /dev/null
@@ -1,54 +0,0 @@
-TOP = ../../../../../..
-include $(TOP)/configs/current
-
-CFLAGS += -Wall -Werror
-
-### Basic defines ###
-TESTS = r300_compiler_tests
-
-TEST_SOURCES := $(TESTS:=.c)
-
-SHARED_SOURCES = \
- radeon_compiler_util_tests.c \
- rc_test_helpers.c \
- unit_test.c
-
-C_SOURCES = $(SHARED_SOURCES) $(TEST_SOURCES)
-
-INCLUDES = \
- -I. \
- -I..
-
-COMPILER_LIB = ../../libr300.a
-
-##### TARGETS #####
-
-default: depend run_tests
-
-depend: $(C_SOURCES)
- rm -f depend
- touch depend
- $(MKDEP) $(MKDEP_OPTIONS) $(INCLUDES) $^ 2> /dev/null
-
-# Remove .o and backup files
-clean:
- rm -f $(TESTS) depend depend.bak
-
-$(TESTS): $(TESTS:=.o) $(SHARED_SOURCES:.c=.o) $(COMPILER_LIB)
- $(APP_CC) -o $@ $^
-
-run_tests: $(TESTS)
- @echo "RUNNING TESTS:"
- @echo ""
- $(foreach test, $^, @./$(test))
-
-.PHONY: $(COMPILER_LIB)
-$(COMPILER_LIB):
- $(MAKE) -C ../..
-
-##### RULES #####
-.c.o:
- $(CC) -c $(INCLUDES) $(CFLAGS) $(LIBRARY_DEFINES) $< -o $@
-
-
-sinclude depend