summaryrefslogtreecommitdiffstats
path: root/plugins/search/Makefile.am
blob: ebc85aacb4fea5cf083c8b86bcdcf8780667a03e (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
INCLUDES = -I$(srcdir)/../../libktorrent $(all_includes)
METASOURCES = AUTO
kde_module_LTLIBRARIES = ktsearchplugin.la
noinst_HEADERS = searchplugin.h searchprefpage.h searchtab.h searchenginelist.h
ktsearchplugin_la_SOURCES = searchplugin.cpp htmlpart.cpp searchbar.ui \
	searchpref.ui searchwidget.cpp searchprefpage.cpp searchpluginsettings.kcfgc \
	searchtab.cpp searchenginelist.cpp

# Libs needed by the plugin
ktsearchplugin_la_LIBADD = ../../libktorrent/libktorrent.la \
			   $(LIB_TDEHTML) $(LIB_TDEPARTS) $(LIB_QT) \
			   $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEFILE)

# LD flags for the plugin
# -module says: this is a module, i.e. something you're going to dlopen
# so e.g. it has no version number like a normal shared lib would have.
ktsearchplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)

# rc file containing the GUI for the plugin
# pluginsdir = $(kde_datadir)/ktsearchplugin
# plugins_DATA = ktsearchpluginui.rc

# Install the desktop file needed to detect the plugin
kde_services_DATA = ktsearchplugin.desktop

kde_kcfg_DATA = ktsearchplugin.kcfg

KDE_CXXFLAGS = $(USE_EXCEPTIONS) $(USE_RTTI)