summaryrefslogtreecommitdiffstats
path: root/kioslave/home/Makefile.am
blob: be10e5bcc68b266c91c62a246d646e84d0d96a4c (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 = kio_home.la

kio_home_la_SOURCES = dummy.cpp
kio_home_la_LIBADD  = libkiohome.la $(LIB_KIO)
kio_home_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -no-undefined

dummy.cpp:
	echo > dummy.cpp

kde_services_DATA = home.protocol

noinst_LTLIBRARIES = libkiohome.la
libkiohome_la_SOURCES = kio_home.cpp homeimpl.cpp

check_PROGRAMS = testhome
testhome_SOURCES = testhome.cpp
testhome_LDADD = libkiohome.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)/kio_home.pot