summaryrefslogtreecommitdiff
path: root/src/mapi/shared-glapi/tests/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapi/shared-glapi/tests/Makefile.am')
-rw-r--r--src/mapi/shared-glapi/tests/Makefile.am17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mapi/shared-glapi/tests/Makefile.am b/src/mapi/shared-glapi/tests/Makefile.am
new file mode 100644
index 00000000000..49b86afb95a
--- /dev/null
+++ b/src/mapi/shared-glapi/tests/Makefile.am
@@ -0,0 +1,17 @@
+if HAVE_SHARED_GLAPI
+AM_CPPFLAGS = \
+ -I$(top_builddir)/src/gtest/include \
+ -I$(top_builddir)/src/mapi \
+ -I$(top_builddir)/include
+
+TESTS = shared-glapi-test
+check_PROGRAMS = shared-glapi-test
+
+shared_glapi_test_SOURCES = \
+ check_table.cpp
+
+shared_glapi_test_LDADD = \
+ $(top_builddir)/src/mapi/shared-glapi/libglapi.la \
+ $(top_builddir)/src/gtest/libgtest.la \
+ -lpthread
+endif