summaryrefslogtreecommitdiffstats
path: root/src/plugins/upnp/Makefile.am
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-02 18:37:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-06 12:43:06 +0900
commitbb099158e6c9fd0f1c2771cb9350d3b0a0b51a27 (patch)
tree598156ab1f71ee857c8e1f233f0292e13f36fa28 /src/plugins/upnp/Makefile.am
parent7271fa27ac1881beb5326ca8c9c83471695d8487 (diff)
downloadktorrent-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/upnp/Makefile.am')
-rw-r--r--src/plugins/upnp/Makefile.am38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/plugins/upnp/Makefile.am b/src/plugins/upnp/Makefile.am
new file mode 100644
index 0000000..467ebc4
--- /dev/null
+++ b/src/plugins/upnp/Makefile.am
@@ -0,0 +1,38 @@
+INCLUDES = -I$(srcdir)/../../libktorrent $(all_includes)
+METASOURCES = AUTO
+
+libktupnp_la_LDFLAGS = $(all_libraries)
+noinst_LTLIBRARIES = libktupnp.la
+libktupnp_la_SOURCES = soap.cpp upnpdescriptionparser.cpp upnpmcastsocket.cpp\
+ upnprouter.cpp
+
+kde_module_LTLIBRARIES = ktupnpplugin.la
+noinst_HEADERS = upnpplugin.h upnpmcastsocket.h upnprouter.h upnpprefpage.h \
+ upnpprefwidget.h upnpdescriptionparser.h soap.h
+ktupnpplugin_la_SOURCES = upnpplugin.cpp upnpprefpage.cpp upnpwidget.ui \
+ upnpprefwidget.cpp upnppluginsettings.kcfgc
+
+# Libs needed by the plugin
+ktupnpplugin_la_LIBADD = libktupnp.la \
+ $(LIB_TDEPARTS) ../../libktorrent/libktorrent.la \
+ $(LIB_TQT) \
+ $(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.
+ktupnpplugin_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 = ktupnpplugin.desktop
+
+kde_kcfg_DATA = ktupnpplugin.kcfg
+
+
+KDE_CXXFLAGS = $(USE_EXCEPTIONS) $(USE_RTTI)