Home | History | Annotate | Download | only in tests
      1 AM_CFLAGS = \
      2 	$(PTHREAD_CFLAGS)
      3 AM_CPPFLAGS = \
      4 	-I$(top_srcdir)/src/gtest/include \
      5 	-I$(top_srcdir)/src \
      6 	-I$(top_srcdir)/src/mapi \
      7 	-I$(top_builddir)/src/mesa \
      8 	-I$(top_srcdir)/src/mesa \
      9 	-I$(top_srcdir)/include \
     10 	$(DEFINES) $(INCLUDE_DIRS)
     11 
     12 TESTS = main-test
     13 check_PROGRAMS = main-test
     14 
     15 main_test_SOURCES =			\
     16 	enum_strings.cpp
     17 
     18 main_test_LDADD = \
     19 	$(top_builddir)/src/mesa/libmesa.la \
     20 	$(top_builddir)/src/gtest/libgtest.la \
     21 	$(PTHREAD_LIBS) \
     22 	$(DLOPEN_LIBS) \
     23 	$(CLOCK_LIB)
     24 
     25 if HAVE_SHARED_GLAPI
     26 main_test_SOURCES +=			\
     27 	dispatch_sanity.cpp		\
     28 	mesa_formats.cpp			\
     29 	mesa_extensions.cpp			\
     30 	program_state_string.cpp
     31 
     32 main_test_LDADD += \
     33 	$(top_builddir)/src/mapi/shared-glapi/libglapi.la
     34 else
     35 main_test_SOURCES +=			\
     36 	stubs.cpp
     37 endif
     38 
     39 EXTRA_DIST = meson.build
     40