summaryrefslogtreecommitdiffstats
path: root/kate/openheader/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'kate/openheader/Makefile.am')
-rw-r--r--kate/openheader/Makefile.am21
1 files changed, 21 insertions, 0 deletions
diff --git a/kate/openheader/Makefile.am b/kate/openheader/Makefile.am
new file mode 100644
index 0000000..9db3328
--- /dev/null
+++ b/kate/openheader/Makefile.am
@@ -0,0 +1,21 @@
+INCLUDES = $(all_includes)
+METASOURCES = AUTO
+
+# Install this plugin in the KDE modules directory
+kde_module_LTLIBRARIES = kateopenheaderplugin.la
+
+# This is all standard. Remove the LIB_KHTML reference if you are not
+# using the KHTML Part
+kateopenheaderplugin_la_SOURCES = plugin_kateopenheader.cpp
+kateopenheaderplugin_la_LIBADD = -lkateinterfaces
+kateopenheaderplugin_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
+
+# Install the .rc file in the Part's directory (in this case, the part
+# is KHTMLPart)
+pluginsdir = $(kde_datadir)/kate/plugins/kateopenheader
+plugins_DATA = ui.rc
+
+kde_services_DATA = kateopenheader.desktop
+
+messages: rc.cpp
+ $(XGETTEXT) *.cpp -o $(podir)/kateopenheader.pot