summaryrefslogtreecommitdiffstats
path: root/kioslave/thumbnail/Makefile.am
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit4aed2c8219774f5d797760606b8489a92ddc5163 (patch)
tree3f8c130f7d269626bf6a9447407ef6c35954426a /kioslave/thumbnail/Makefile.am
downloadtdebase-4aed2c8219774f5d797760606b8489a92ddc5163.tar.gz
tdebase-4aed2c8219774f5d797760606b8489a92ddc5163.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kioslave/thumbnail/Makefile.am')
-rw-r--r--kioslave/thumbnail/Makefile.am69
1 files changed, 69 insertions, 0 deletions
diff --git a/kioslave/thumbnail/Makefile.am b/kioslave/thumbnail/Makefile.am
new file mode 100644
index 000000000..2b76cc4e0
--- /dev/null
+++ b/kioslave/thumbnail/Makefile.am
@@ -0,0 +1,69 @@
+## Makefile.am of kdebase/kioslave/thumbnail
+
+INCLUDES = $(all_includes) $(EXR_FLAGS)
+AM_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+METASOURCES = AUTO
+
+if have_xcursor
+CURSOR_MODULE = cursorthumbnail.la
+CURSOR_DATAFILE = cursorthumbnail.desktop
+endif
+
+if include_EXR_MODULES
+EXR_MODULE = exrthumbnail.la
+EXR_DATAFILE = exrthumbnail.desktop
+endif
+
+kde_module_LTLIBRARIES = kio_thumbnail.la imagethumbnail.la \
+ textthumbnail.la htmlthumbnail.la \
+ djvuthumbnail.la $(CURSOR_MODULE) \
+ $(EXR_MODULE)
+
+kio_thumbnail_la_SOURCES = thumbnail.cpp
+kio_thumbnail_la_LIBADD = $(LIB_KIO)
+kio_thumbnail_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+
+imagethumbnail_la_SOURCES = imagecreator.cpp
+imagethumbnail_la_LIBADD = $(LIB_KIO) # for kimageio
+imagethumbnail_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+
+textthumbnail_la_SOURCES = textcreator.cpp
+textthumbnail_la_LIBADD = $(LIB_KIO) # for kmimetype
+textthumbnail_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+
+htmlthumbnail_la_SOURCES = htmlcreator.cpp
+htmlthumbnail_la_LIBADD = $(LIB_KHTML)
+htmlthumbnail_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+
+djvuthumbnail_la_SOURCES = djvucreator.cpp
+djvuthumbnail_la_LIBADD = $(LIB_KDECORE)
+djvuthumbnail_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+
+cursorthumbnail_la_SOURCES = cursorcreator.cpp
+cursorthumbnail_la_LIBADD = $(LIB_KDECORE) $(LIB_XCURSOR)
+cursorthumbnail_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+
+exrthumbnail_la_SOURCES = exrcreator.cpp
+exrthumbnail_la_LIBADD = $(LIB_KDECORE) $(LIB_EXR)
+exrthumbnail_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+
+noinst_HEADERS = thumbnail.h imagecreator.h textcreator.h htmlcreator.h \
+ djvucreator.h cursorcreator.h \
+ exrcreator.h
+
+kdelnk_DATA = thumbnail.protocol
+kdelnkdir = $(kde_servicesdir)
+
+servicetypes_DATA = thumbcreator.desktop
+servicetypesdir = $(kde_servicetypesdir)
+
+services_DATA = imagethumbnail.desktop textthumbnail.desktop \
+ htmlthumbnail.desktop \
+ djvuthumbnail.desktop \
+ $(CURSOR_DATAFILE) $(EXR_DATAFILE)
+
+servicesdir = $(kde_servicesdir)
+
+messages:
+ $(XGETTEXT) *.cpp -o $(podir)/kio_thumbnail.pot
+