1
test_targets = check-c-compile check-cxx-compile
4
test_targets += check-regular
7
TESTS = $(test_targets)
8
check_PROGRAMS = $(test_targets) check-static-type-checking
14
-I$(top_srcdir)/include \
17
check_c_compile_SOURCES = check-c-compile.c
18
check_c_compile_LDADD = \
19
$(top_builddir)/src/libframe.la \
22
check_cxx_compile_SOURCES = check-cxx-compile.cpp
23
check_cxx_compile_LDADD = \
24
$(top_builddir)/src/libframe.la \
27
check-static-type-checking$(EXEEXT):
28
@echo "Checking whether static type checking works..."
29
$(AM_V_at)if $(CC) -I../../include -L../../.libs check-static-type-checking.c -o check_static_type_checking; then \
30
echo "FAIL: Static type checking source compiled without error"; \
33
echo "SUCCESS: Static type checking source failed to compile"; \
39
check_regular_SOURCES = \
40
accept-ended-touch.cpp \
45
# Link against the (non-distributed) static lib to pick up the
48
check_regular_LDADD = \
49
$(top_builddir)/src/.libs/libframe.a \
50
$(top_builddir)/test/gtest/libgtest.a \
51
$(top_builddir)/test/gtest/libgtest_main.a \
52
$(top_builddir)/test/x11_mocks/libx11_mocks.a \
56
check_regular_CPPFLAGS = \
58
-I$(top_srcdir)/test/x11_mocks \