mesa/src/mapi/shared-glapi/tests/Makefile.am
Johannes Obermayr ebcabb88cf tests: AM_CPPFLAGS must include $(top_srcdir) instead of $(top_builddir).
Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
2013-01-13 12:38:38 +01:00

18 lines
415 B
Makefile

if HAVE_SHARED_GLAPI
AM_CFLAGS = $(PTHREAD_CFLAGS)
AM_CPPFLAGS = \
-I$(top_srcdir)/src/gtest/include \
-I$(top_srcdir)/src/mapi \
-I$(top_srcdir)/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 \
$(PTHREAD_LIBS)
endif