summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/tests/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/tests/Makefile.am')
-rw-r--r--src/mesa/main/tests/Makefile.am17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mesa/main/tests/Makefile.am b/src/mesa/main/tests/Makefile.am
new file mode 100644
index 0000000..12f26b2
--- /dev/null
+++ b/src/mesa/main/tests/Makefile.am
@@ -0,0 +1,17 @@
+AM_CPPFLAGS = \
+ -I$(top_builddir)/src/gtest/include \
+ -I$(top_builddir)/src/mapi \
+ -I$(top_builddir)/src/mesa \
+ -I$(top_builddir)/include \
+ $(X11_CFLAGS)
+
+TESTS = main-test
+check_PROGRAMS = main-test
+
+main_test_SOURCES = \
+ enum_strings.cpp
+
+main_test_LDADD = \
+ $(top_builddir)/src/mesa/libmesa.a \
+ $(top_builddir)/src/gtest/libgtest.la \
+ -lpthread