summaryrefslogtreecommitdiffstats
path: root/tdeioslave/remote/Makefile.am
blob: 4acb4e999ae69bf862d0015530e75e2c77b62e5b (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_remote.la

kio_remote_la_SOURCES = dummy.cpp
kio_remote_la_LIBADD  = libtdeioremote.la $(LIB_KIO)
kio_remote_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -no-undefined

dummy.cpp:
	echo > dummy.cpp

kde_services_DATA = remote.protocol

noinst_LTLIBRARIES = libtdeioremote.la
libtdeioremote_la_SOURCES = kio_remote.cpp remoteimpl.cpp

check_PROGRAMS = testremote
testremote_SOURCES = testremote.cpp
testremote_LDADD = libtdeioremote.la $(LIB_KIO)
testremote_LDFLAGS = $(all_libraries)

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

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