summaryrefslogtreecommitdiffstats
path: root/src/plugins/zeroconf/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/zeroconf/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/zeroconf/Makefile.am')
-rw-r--r--src/plugins/zeroconf/Makefile.am21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/plugins/zeroconf/Makefile.am b/src/plugins/zeroconf/Makefile.am
new file mode 100644
index 0000000..594adf8
--- /dev/null
+++ b/src/plugins/zeroconf/Makefile.am
@@ -0,0 +1,21 @@
+INCLUDES = -I$(top_srcdir)/src/libktorrent -I$(top_builddir)/src/libktorrent $(all_includes)
+
+METASOURCES = AUTO
+
+if COMPILE_ZEROCONF
+kde_module_LTLIBRARIES = ktzeroconfplugin.la
+endif
+
+ktzeroconfplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) $(AVAHI_LIBS) $(AVAHI_TQT_LIBS)
+ktzeroconfplugin_la_SOURCES = localbrowser.cpp avahiservice.cpp \
+ zeroconfplugin.cpp
+
+ktzeroconfplugin_la_LIBADD = $(LIB_TDECORE) $(LIB_TDEFILE) $(LIB_TDEPARTS) $(LIB_TDEUI)\
+ $(LIB_TQT) ../../libktorrent/libktorrent.la
+
+noinst_HEADERS = zeroconfplugin.h
+
+kde_services_DATA = ktzeroconfplugin.desktop
+KDE_CXXFLAGS = $(USE_EXCEPTIONS) $(USE_RTTI)
+
+