summaryrefslogtreecommitdiffstats
path: root/kunittest/example/module/Makefile.am
blob: 17404d06e86b3b68b2254d68fc8a44b574e4269d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
INCLUDES = -I$(top_srcdir)/include $(all_includes)
METASOURCES = AUTO

noinst_HEADERS = samplemodule.h sampleextra.h sampletests.h

check_LTLIBRARIES = kunittest_samplemodule.la kunittest_samplemodule2.la

kunittest_samplemodule_la_SOURCES = samplemodule.cpp sampletests.cpp sampleextra.cpp
kunittest_samplemodule_la_LIBADD = -lkunittest
kunittest_samplemodule_la_LDFLAGS = -module $(KDE_CHECK_PLUGIN) $(all_libraries)

kunittest_samplemodule2_la_SOURCES = samplemodule2.cpp
kunittest_samplemodule2_la_LIBADD = -lkunittest
kunittest_samplemodule2_la_LDFLAGS = -module $(KDE_CHECK_PLUGIN) $(all_libraries)

check-local:
	kunittestmodrunner

guicheck:
	$(srcdir)/../../kunittestmod $(PWD)