mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2025-12-27 06:23:42 +00:00
This program attempt multiple redirection combination: - passing handles using either CreateProcess or SetStdHandle; - having a console or not; - redirection stdout/stderr yes or not. Worth to mention that for running this test program the user will need either a native MingW or Wine (with .exe executables enabled in Linux binfmt). Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
37 lines
709 B
Makefile
37 lines
709 B
Makefile
NULL =
|
|
|
|
AM_CPPFLAGS = \
|
|
-DLOCALE_DIR=\""$(datadir)/locale"\" \
|
|
-I$(top_srcdir)/src/ \
|
|
-I$(top_srcdir)/tests/ \
|
|
$(GLIB2_CFLAGS) \
|
|
$(GTK_CFLAGS) \
|
|
$(WARN_CFLAGS) \
|
|
$(NULL)
|
|
|
|
LDADD= \
|
|
$(top_builddir)/src/libvirt-viewer-util.la \
|
|
$(GLIB2_LIBS) \
|
|
$(GTK_LIBS) \
|
|
$(LIBXML2_LIBS) \
|
|
$(NULL)
|
|
|
|
TESTS = test-version-compare test-monitor-mapping
|
|
check_PROGRAMS = $(TESTS)
|
|
test_version_compare_SOURCES = \
|
|
test-version-compare.c \
|
|
$(NULL)
|
|
|
|
test_monitor_mapping_SOURCES = \
|
|
test-monitor-mapping.c \
|
|
$(NULL)
|
|
|
|
if OS_WIN32
|
|
TESTS += redirect-test
|
|
redirect_test_SOURCES = redirect-test.c
|
|
redirect_test_LDFLAGS = -Wl,--subsystem,windows
|
|
redirect_test_CPPFLAGS = $(GLIB2_CFLAGS)
|
|
endif
|
|
|
|
-include $(top_srcdir)/git.mk
|