1include $(top_srcdir)/build/vars.build.mk 2plugin = xmlsnippets 3 4geanyplugins_LTLIBRARIES = xmlsnippets.la 5 6check_PROGRAMS = xmlsnippets-check 7 8common_sources = xmlsnippets.c xmlsnippets.h 9 10xmlsnippets_la_SOURCES = \ 11 plugin.c plugin.h \ 12 $(common_sources) 13 14xmlsnippets_la_CPPFLAGS = $(AM_CPPFLAGS) -DG_LOG_DOMAIN=\"XMLSnippets\" 15xmlsnippets_la_LIBADD = $(COMMONLIBS) 16 17xmlsnippets_check_SOURCES = \ 18 tests.c \ 19 test-stubs.c test-stubs.h \ 20 $(common_sources) 21 22xmlsnippets_check_CPPFLAGS = -DTEST 23xmlsnippets_check_LDADD = $(COMMONLIBS) 24TESTS = $(check_PROGRAMS) 25 26include $(top_srcdir)/build/cppcheck.mk 27