summaryrefslogtreecommitdiffstats
path: root/src/tdeioslave/Makefile.am
blob: 28b8a2ff05acdc3179032e8413f98459bc50b417 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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