summaryrefslogtreecommitdiffstats
path: root/kioslave/trash/Makefile.am
blob: cb5403728bba22c5a2df643ce3eb6d9d3f2a062b (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
INCLUDES = $(all_includes)
METASOURCES = AUTO

SUBDIRS = . kfile-plugin

kde_module_LTLIBRARIES = kio_trash.la

kio_trash_la_SOURCES = kio_trash.cpp
kio_trash_la_LIBADD  = libtrashcommon.la $(LIB_KIO)
kio_trash_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -no-undefined

bin_PROGRAMS = ktrash
ktrash_SOURCES = ktrash.cpp
ktrash_LDADD = $(LIB_KIO)
ktrash_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor

kde_services_DATA = trash.protocol

noinst_LTLIBRARIES = libtrashcommon.la
libtrashcommon_la_SOURCES = trashimpl.cpp

check_PROGRAMS = testtrash
testtrash_SOURCES = testtrash.cpp
testtrash_LDADD = libtrashcommon.la $(LIB_KIO)
testtrash_LDFLAGS = $(all_libraries)

TESTS = testtrash

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