summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/lnk/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'tdefile-plugins/lnk/Makefile.am')
-rw-r--r--tdefile-plugins/lnk/Makefile.am34
1 files changed, 34 insertions, 0 deletions
diff --git a/tdefile-plugins/lnk/Makefile.am b/tdefile-plugins/lnk/Makefile.am
new file mode 100644
index 0000000..083f9a0
--- /dev/null
+++ b/tdefile-plugins/lnk/Makefile.am
@@ -0,0 +1,34 @@
+## Makefile.am for lnk file meta info plugin
+
+INCLUDES = $(all_includes)
+
+bin_PROGRAMS = lnkforward
+
+lnkforward_SOURCES = lnkforward.cpp
+lnkforward_LDADD = $(LIB_TDECORE) $(LIB_KIO)
+lnkforward_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
+lnkforward_METASOURCES = lnkforward.moc
+
+lnkforward_DATA = lnkforward.desktop
+lnkforwarddir = $(kde_appsdir)/.hidden
+
+# these are the headers for your project
+noinst_HEADERS = tdefile_lnk.h read_lnk.h lnkforward.h
+
+kde_module_LTLIBRARIES = tdefile_lnk.la
+
+tdefile_lnk_la_SOURCES = tdefile_lnk.cpp read_lnk.cpp
+tdefile_lnk_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+tdefile_lnk_la_LIBADD = $(LIB_KIO)
+tdefile_lnk_la_METASOURCES = tdefile_lnk.moc
+
+# let automoc handle all of the meta source files (moc)
+METASOURCES = AUTO
+
+kde_services_DATA = tdefile_lnk.desktop
+
+mime_DATA = x-win-lnk.desktop
+mimedir = $(kde_mimedir)/application
+
+messages:
+ $(XGETTEXT) *.cpp -o $(podir)/tdefile_lnk.pot