summaryrefslogtreecommitdiffstats
path: root/tdeioslave/trash/Makefile.am
blob: 5d0d9b3e62f4a5bd551c8196a371deb37a4dd7b0 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
INCLUDES = $(all_includes)
METASOURCES = AUTO

SUBDIRS = . tdefile-plugin

kde_module_LTLIBRARIES = tdeio_trash.la kcm_trash.la ktrashpropsdlgplugin.la

tdeio_trash_la_SOURCES = tdeio_trash.cpp
tdeio_trash_la_LIBADD  = libtrashcommon.la $(LIB_TDEIO)
tdeio_trash_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -no-undefined

kcm_trash_la_SOURCES = kcmtrash.cpp
kcm_trash_la_LIBADD  = libtrashcommon.la $(LIB_TDEIO)
kcm_trash_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -no-undefined

bin_PROGRAMS = ktrash
ktrash_SOURCES = ktrash.cpp
ktrash_LDADD = $(LIB_TDEIO)
ktrash_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor

kde_services_DATA = trash.protocol

noinst_LTLIBRARIES = libtrashcommon.la
libtrashcommon_la_SOURCES = trashimpl.cpp discspaceutil.cpp ktrashpropswidget.cpp

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

TESTS = testtrash

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

# ktrashpropsdlgplugin target
noinst_HEADERS = ktrashpropsdlgplugin.h discspaceutil.h trash_constant.h

ktrashpropsdlgplugin_la_SOURCES = ktrashpropsdlgplugin.cpp discspaceutil.cpp trashimpl.cpp
ktrashpropsdlgplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
ktrashpropsdlgplugin_la_LIBADD = $(LIB_TDEIO)

services_DATA = ktrashpropsdlgplugin.desktop
servicesdir = $(kde_servicesdir)

xdg_apps_DATA = kcmtrash.desktop