diff options
Diffstat (limited to 'plugins/scanfolder/Makefile.am')
-rw-r--r-- | plugins/scanfolder/Makefile.am | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/plugins/scanfolder/Makefile.am b/plugins/scanfolder/Makefile.am new file mode 100644 index 0000000..eb8cc52 --- /dev/null +++ b/plugins/scanfolder/Makefile.am @@ -0,0 +1,31 @@ +INCLUDES = -I$(srcdir)/../../libktorrent $(all_includes) +METASOURCES = AUTO +kde_module_LTLIBRARIES = ktscanfolderplugin.la + + +# 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. +ktscanfolderplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) + +# rc file containing the GUI for the plugin +# pluginsdir = $(kde_datadir)/ktscanfolderplugin +# plugins_DATA = ktscanfolderpluginui.rc + +# Install the desktop file needed to detect the plugin + +rcdir = $(kde_datadir)/ktorrent + +kde_kcfg_DATA = ktscanfolderplugin.kcfg +kde_services_DATA = ktscanfolderplugin.desktop + +noinst_HEADERS = scanfolderplugin.h scanfolderprefpage.h \ + scanfolderprefpagewidget.h scanfolder.h +ktscanfolderplugin_la_SOURCES = scanfolderplugin.cpp \ + scanfolderpluginsettings.kcfgc scanfolderprefpage.cpp sfprefwidgetbase.ui scanfolderprefpagewidget.cpp \ + scanfolder.cpp +ktscanfolderplugin_la_LIBADD = $(LIB_KPARTS) ../../libktorrent/libktorrent.la \ + $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KFILE) + + +KDE_CXXFLAGS = $(USE_EXCEPTIONS) $(USE_RTTI) |