summaryrefslogtreecommitdiffstats
path: root/tdeioslave/home/Makefile.am
blob: d40341aab746e32c5769a72a0caed422aaa9aa69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
SUBDIRS= . kdedmodule
# wizard

INCLUDES = $(all_includes)
METASOURCES = AUTO

kde_module_LTLIBRARIES = tdeio_home.la

tdeio_home_la_SOURCES = dummy.cpp
tdeio_home_la_LIBADD  = libtdeiohome.la $(LIB_KIO)
tdeio_home_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -no-undefined

dummy.cpp:
	echo > dummy.cpp

kde_services_DATA = home.protocol

noinst_LTLIBRARIES = libtdeiohome.la
libtdeiohome_la_SOURCES = tdeio_home.cpp homeimpl.cpp

check_PROGRAMS = testhome
testhome_SOURCES = testhome.cpp
testhome_LDADD = libtdeiohome.la $(LIB_KIO)
testhome_LDFLAGS = $(all_libraries)

## TODO in unsermake: TESTS = testhome
check: testhome
	./testhome

messages:
	$(XGETTEXT) `find . -name "*.cc" -o -name "*.cpp" -o -name "*.h"` -o $(podir)/tdeio_home.pot