blob: 023227de6afcba95f2e3f101f4c93007b48ba663 (
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
47
|
INCLUDES = -I$(srcdir)/../../libktorrent $(all_includes)
METASOURCES = AUTO
if USE_SYSTEM_GEOIP
libgeoip_system = -lGeoIP
else
libgeoip_builtin = libgeoip_builtin.la
endif
noinst_LTLIBRARIES = $(libgeoip_builtin)
kde_module_LTLIBRARIES = ktinfowidgetplugin.la
noinst_HEADERS = infowidgetplugin.h infowidgetprefpage.h trackerview.h GeoIP.h \
statustab.h fileview.h
ktinfowidgetplugin_la_SOURCES = infowidgetplugin.cpp availabilitychunkbar.cpp \
chunkbar.cpp chunkdownloadview.cpp downloadedchunkbar.cpp flagdb.cpp peerview.cpp \
ktorrentmonitor.cpp iwfiletreediritem.cpp iwfiletreeitem.cpp infowidgetprefpage.cpp \
infowidgetpluginsettings.kcfgc iwpref.ui trackerviewbase.ui trackerview.cpp floatspinbox.cpp \
localefloatvalidator.cpp chunkdownloadviewbase.ui statustabbase.ui statustab.cpp fileview.cpp
libgeoip_builtin_la_SOURCES = GeoIP.c
# Libs needed by the plugin
ktinfowidgetplugin_la_LIBADD = ../../libktorrent/libktorrent.la \
$(LIB_TDEHTML) $(LIB_TDEPARTS) $(LIB_QT) \
$(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEFILE)
$(libgeoip_builtin)
# 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.
ktinfowidgetplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) $(libgeoip_system)
# 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 = ktinfowidgetplugin.desktop
kde_kcfg_DATA = ktinfowidgetplugin.kcfg
ktdatadir = $(kde_datadir)/ktorrent/geoip
SUBDIRS = geoip
KDE_CXXFLAGS = $(USE_EXCEPTIONS) $(USE_RTTI)
|