spice/server/tests/Makefile.am
Marc-André Lureau 534b71dfaa build-sys: fix make distcheck
- Do not refer to .c files managed by another makefile (this will fail
  make distclean)
- Do not refer to files by relative path (should use $top_srcdir for ex)
- Use LDADD for object linking instead of LDFLAGS, for linker flags
2012-03-01 16:24:10 +01:00

67 lines
1.3 KiB
Makefile

NULL =
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/common \
-I$(top_srcdir)/server \
-I$(top_srcdir)/server/tests \
$(PROTOCOL_CFLAGS) \
$(SPICE_NONPKGCONFIG_CFLAGS) \
$(NULL)
if SUPPORT_AUTOMATED_TESTS
INCLUDES += -DAUTOMATED_TESTS
endif
LDADD = \
$(top_builddir)/common/libspice-common.la \
$(top_builddir)/server/libspice-server.la \
$(NULL)
COMMON_BASE = \
basic_event_loop.c \
basic_event_loop.h \
test_util.h \
$(NULL)
noinst_PROGRAMS = \
test_display_no_ssl \
test_display_streaming \
test_empty_success \
test_fail_on_null_core_interface \
test_just_sockets_no_ssl \
test_playback \
$(NULL)
test_display_streaming_SOURCES = \
$(COMMON_BASE) \
test_display_base.c \
test_display_base.h \
test_display_streaming.c \
$(NULL)
test_display_no_ssl_SOURCES = \
$(COMMON_BASE) \
test_display_base.c \
test_display_base.h \
test_display_no_ssl.c \
$(NULL)
test_just_sockets_no_ssl_SOURCES = \
$(COMMON_BASE) \
test_just_sockets_no_ssl.c \
$(NULL)
test_playback_SOURCES = \
$(COMMON_BASE) \
test_playback.c \
$(NULL)
test_empty_success_SOURCES = \
test_empty_success.c \
$(NULL)
test_fail_on_null_core_interface_SOURCES = \
test_fail_on_null_core_interface.c \
$(NULL)