diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-02 18:37:22 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-06 12:43:06 +0900 |
| commit | bb099158e6c9fd0f1c2771cb9350d3b0a0b51a27 (patch) | |
| tree | 598156ab1f71ee857c8e1f233f0292e13f36fa28 /src/plugins/scanfolder/Makefile.am | |
| parent | 7271fa27ac1881beb5326ca8c9c83471695d8487 (diff) | |
| download | ktorrent-bb099158.tar.gz ktorrent-bb099158.zip | |
Restructure source files into 'src' subfolder
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 44ef0bd5fe47a43e47aec5f7981b6c1d728dd9a8)
Diffstat (limited to 'src/plugins/scanfolder/Makefile.am')
| -rw-r--r-- | src/plugins/scanfolder/Makefile.am | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/plugins/scanfolder/Makefile.am b/src/plugins/scanfolder/Makefile.am new file mode 100644 index 0000000..49ba5a7 --- /dev/null +++ b/src/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_TDEPARTS) ../../libktorrent/libktorrent.la \ + $(LIB_TQT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEFILE) + + +KDE_CXXFLAGS = $(USE_EXCEPTIONS) $(USE_RTTI) |
