diff options
Diffstat (limited to 'src/tdeioslave/Makefile.am')
-rw-r--r-- | src/tdeioslave/Makefile.am | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/src/tdeioslave/Makefile.am b/src/tdeioslave/Makefile.am new file mode 100644 index 00000000..28b8a2ff --- /dev/null +++ b/src/tdeioslave/Makefile.am @@ -0,0 +1,72 @@ +METASOURCES = AUTO + +if with_included_sqlite3 + LIB_SQLITE3_LOCAL = $(top_builddir)/src/libs/sqlite3/libsqlite3.la + SQLITE3_INCLUDES = -I$(top_srcdir)/src/libs/sqlite3 +endif + +INCLUDES = -I$(top_srcdir)/src/libs/jpegutils \ + -I$(top_srcdir)/src/libs/dimg \ + -I$(top_srcdir)/src/libs/dmetadata \ + -I$(top_srcdir)/src/digikam \ + $(SQLITE3_INCLUDES) \ + $(LIBKEXIV2_CFLAGS) $(LIBKDCRAW_CFLAGS) \ + $(all_includes) + +kde_module_LTLIBRARIES = tdeio_digikamthumbnail.la tdeio_digikamtags.la \ + tdeio_digikamalbums.la tdeio_digikamdates.la \ + tdeio_digikamsearch.la + +protocol_DATA = digikamthumbnail.protocol digikamtags.protocol \ + digikamalbums.protocol digikamdates.protocol \ + digikamsearch.protocol + +protocoldir = $(kde_servicesdir) + +# NOTE: if local libsqlite3 is used LIB_SQLITE3 is null. +# if shared libsqlite3 is used LIB_SQLITE3_LOCAL is null. + +# -- digikam TDEIO image thumbnails generator ---------------------------------------- + +tdeio_digikamthumbnail_la_SOURCES = digikamthumbnail.cpp + +tdeio_digikamthumbnail_la_LIBADD = $(LIB_TDEIO) $(LIBJPEG) $(LIBPNG) \ + $(top_builddir)/src/libs/jpegutils/libjpegutils.la \ + $(top_builddir)/src/libs/dimg/libdimg.la + +tdeio_digikamthumbnail_la_LDFLAGS = -module -avoid-version $(KDE_PLUGIN) $(all_libraries) -ltdecore -ltdeui $(LIB_TQT) -ltdefx + +# -- digikam tags TDEIO -------------------------------------------------------------- + +tdeio_digikamtags_la_SOURCES = digikamtags.cpp sqlitedb.cpp + +tdeio_digikamtags_la_LIBADD = $(LIB_TDEIO) $(LIB_SQLITE3) $(LIB_SQLITE3_LOCAL) + +tdeio_digikamtags_la_LDFLAGS = -module -avoid-version $(all_libraries) $(KDE_PLUGIN) -ltdecore -ltdeui $(LIB_TQT) -ltdefx + +# -- digikam albums TDEIO ------------------------------------------------------------ + +tdeio_digikamalbums_la_SOURCES = digikamalbums.cpp sqlitedb.cpp + +tdeio_digikamalbums_la_LIBADD = $(top_builddir)/src/libs/jpegutils/libjpegutils.la \ + $(top_builddir)/src/libs/dimg/libdimg.la \ + $(LIB_TDEIO) $(LIB_SQLITE3) $(LIB_SQLITE3_LOCAL) + + +tdeio_digikamalbums_la_LDFLAGS = -module -avoid-version $(all_libraries) $(KDE_PLUGIN) -ltdecore -ltdeui $(LIB_TQT) -ltdefx + +# -- digikam dates TDEIO ------------------------------------------------------------- + +tdeio_digikamdates_la_SOURCES = digikamdates.cpp sqlitedb.cpp + +tdeio_digikamdates_la_LIBADD = $(LIB_TDEIO) $(LIB_SQLITE3) $(LIB_SQLITE3_LOCAL) + +tdeio_digikamdates_la_LDFLAGS = -module -avoid-version $(all_libraries) $(KDE_PLUGIN) -ltdecore -ltdeui $(LIB_TQT) -ltdefx + +# -- digikam search TDEIO ------------------------------------------------------------ + +tdeio_digikamsearch_la_SOURCES = digikamsearch.cpp sqlitedb.cpp + +tdeio_digikamsearch_la_LIBADD = $(LIB_TDEIO) $(LIB_SQLITE3) $(LIB_SQLITE3_LOCAL) + +tdeio_digikamsearch_la_LDFLAGS = -module -avoid-version $(all_libraries) $(KDE_PLUGIN) -ltdecore -ltdeui $(LIB_TQT) -ltdefx |