summaryrefslogtreecommitdiffstats
path: root/src/plugins/zeroconf/Makefile.am
diff options
context:
space:
mode:
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)
+
+