1 AM_CFLAGS=-g $(PLOVER_GTK_CFLAGS)
2 INCLUDES=-I$(top_srcdir)
3 LDADD=../../plover-gtk/libplover-gtk.la ../../plover/libplover.la \
8 TESTS = $(txt_tests) $(gui_tests:=.xvfb)
9 TESTS_ENVIRONMENT = gtk_srcdir="$(top_srcdir)/plover-gtk"
10 TEST_EXTENSIONS = .xvfb
11 XVFB_LOG_COMPILER = $(top_srcdir)/tests/xvfb-run
12 XVFB_LOG_FLAGS = --auto-servernum --auth-file .Xauthority
14 check_PROGRAMS = $(txt_tests) $(gui_tests)
16 txt_tests = test-packagefilestore test-packagestore test-stockicons
17 gui_tests = test-transactionhelper
19 test_packagefilestore_SOURCES = test-packagefilestore.c treemodel.c treemodel.h
20 test_packagestore_SOURCES = test-packagestore.c treemodel.c treemodel.h
21 test_stockicons_DEPENDENCIES = \
22 icons/hicolor/scalable/mimetypes/application-x-redhat-package-manager.svg
25 $(AM_V_GEN)echo '#!/bin/sh' > $@
26 $(AM_V_GEN)echo '$(LOG_COMPILER) $(LOG_FLAGS) ./$*' >> $@
27 $(AM_V_GEN)chmod +x $@
29 icons/hicolor/scalable/mimetypes/application-x-redhat-package-manager.svg: \
30 $(top_srcdir)/plover-open/mimetypes-application-x-rpm.svg
31 $(PLOVER_V_SKIP)mkdir -p icons/hicolor/scalable/mimetypes \
32 icons/hicolor/24x24/mimetypes icons/hicolor/48x48/mimetypes
34 $(AM_V_GEN)rsvg -w 24 -h 24 -f png $< \
35 icons/hicolor/24x24/mimetypes/application-x-redhat-package-manager.png
36 $(AM_V_GEN)rsvg -w 48 -h 48 -f png $< \
37 icons/hicolor/48x48/mimetypes/application-x-redhat-package-manager.png
41 @VALGRIND_CHECK_RULES@
42 VALGRIND_SUPPRESSIONS_FILES = ../glib.supp
45 rm -rf icons razor-test-dir-* $(gui_tests:=.xvfb) .Xauthority