summaryrefslogtreecommitdiff
path: root/src/Makefile_Evas.am
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-06-27 15:31:20 +0900
committerCedric Bail <cedric.bail@samsung.com>2013-07-02 16:58:10 +0900
commit26e01c0ff6711114c4e3985d51e1208b77fa3fd8 (patch)
tree718489c951228e971af498406e649bd09019db8d /src/Makefile_Evas.am
parentdb6cba1429624968cf7f9bc49a508d2bb5d0b23f (diff)
evas: build evas_module within cserve slave
Objective: use common loaders from cserve2 Ideally evas_module should be a static library but it would then require static/dynamic linking to too many modules unused by cserve2 (eg. engines & savers) Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Diffstat (limited to 'src/Makefile_Evas.am')
-rw-r--r--src/Makefile_Evas.am275
1 files changed, 178 insertions, 97 deletions
diff --git a/src/Makefile_Evas.am b/src/Makefile_Evas.am
index d4fe9aabab..7850af6ffe 100644
--- a/src/Makefile_Evas.am
+++ b/src/Makefile_Evas.am
@@ -109,12 +109,15 @@ lib/evas/cserve2/evas_cs2_utils.c
109endif 109endif
110 110
111# File 111# File
112lib_evas_libevas_la_SOURCES += \ 112lib_evas_file_SOURCES = \
113lib/evas/file/evas_path.c \
114lib/evas/file/evas_module.c \ 113lib/evas/file/evas_module.c \
115lib/evas/file/evas_module.h \ 114lib/evas/file/evas_module.h \
115lib/evas/file/evas_path.c \
116lib/evas/file/evas_path.h 116lib/evas/file/evas_path.h
117 117
118lib_evas_libevas_la_SOURCES += \
119$(lib_evas_file_SOURCES)
120
118# Engine 121# Engine
119lib_evas_libevas_la_SOURCES += \ 122lib_evas_libevas_la_SOURCES += \
120lib/evas/common/evas_op_copy_main_.c \ 123lib/evas/common/evas_op_copy_main_.c \
@@ -981,6 +984,108 @@ endif
981endif 984endif
982 985
983 986
987### Cserve2 binary
988
989if EVAS_CSERVE2
990
991evascserve2internal_bindir=$(libdir)/evas/cserve2/bin/$(MODULE_ARCH)
992evascserve2internal_bin_PROGRAMS = \
993bin/evas/evas_cserve2 \
994bin/evas/evas_cserve2_slave
995
996noinst_PROGRAMS += \
997bin/evas/dummy_slave
998
999bin_PROGRAMS += \
1000bin/evas/evas_cserve2_client \
1001bin/evas/evas_cserve2_usage \
1002bin/evas/evas_cserve2_debug
1003
1004bin_evas_evas_cserve2_SOURCES = \
1005bin/evas/evas_cserve2.h \
1006bin/evas/evas_cserve2_slave.h \
1007bin/evas/evas_cserve2_main.c \
1008bin/evas/evas_cserve2_slaves.c \
1009bin/evas/evas_cserve2_messages.c \
1010bin/evas/evas_cserve2_shm.c \
1011bin/evas/evas_cserve2_cache.c \
1012bin/evas/evas_cserve2_requests.c \
1013bin/evas/evas_cserve2_fonts.c \
1014bin/evas/evas_cserve2_scale.c \
1015bin/evas/evas_cserve2_main_loop_linux.c \
1016lib/evas/cserve2/evas_cs2_utils.h \
1017lib/evas/cserve2/evas_cs2_utils.c
1018
1019bin_evas_evas_cserve2_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
1020-I$(top_srcdir)/src/lib/evas/include \
1021-I$(top_srcdir)/src/lib/evas/cserve2 \
1022-DPACKAGE_BIN_DIR=\"$(bindir)\" \
1023-DPACKAGE_LIB_DIR=\"$(libdir)\" \
1024-DPACKAGE_DATA_DIR=\"$(datadir)/evas\" \
1025@EVAS_CFLAGS@
1026
1027bin_evas_evas_cserve2_LDADD = @USE_EVAS_LIBS@
1028bin_evas_evas_cserve2_DEPENDENCIES = @USE_EVAS_INTERNAL_LIBS@
1029
1030bin_evas_evas_cserve2_client_SOURCES = \
1031bin/evas/evas_cserve2_client.c
1032bin_evas_evas_cserve2_client_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
1033-I$(top_srcdir)/src/lib/evas/cserve2 \
1034@EINA_CFLAGS@
1035bin_evas_evas_cserve2_client_LDADD = @USE_EINA_LIBS@
1036bin_evas_evas_cserve2_client_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
1037
1038bin_evas_evas_cserve2_usage_SOURCES = \
1039bin/evas/evas_cserve2_usage.c
1040bin_evas_evas_cserve2_usage_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
1041-I$(top_srcdir)/src/lib/evas/cserve2 \
1042@EINA_CFLAGS@
1043bin_evas_evas_cserve2_usage_LDADD = @USE_EINA_LIBS@
1044bin_evas_evas_cserve2_usage_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
1045
1046bin_evas_evas_cserve2_debug_SOURCES = \
1047bin/evas/evas_cserve2_debug.c
1048bin_evas_evas_cserve2_debug_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
1049-I$(top_srcdir)/src/lib/evas/cserve2 \
1050@EINA_CFLAGS@
1051bin_evas_evas_cserve2_debug_LDADD = @USE_EINA_LIBS@
1052bin_evas_evas_cserve2_debug_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
1053
1054bin_evas_evas_cserve2_slave_SOURCES = \
1055bin/evas/evas_cserve2_slave.c \
1056bin/evas/evas_cserve2_utils.c \
1057$(lib_evas_file_SOURCES)
1058
1059bin_evas_evas_cserve2_slave_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
1060-I$(top_srcdir)/src/lib/evas/include \
1061-I$(top_srcdir)/src/lib/evas/cserve2 \
1062-DPACKAGE_BIN_DIR=\"$(bindir)\" \
1063-DPACKAGE_LIB_DIR=\"$(libdir)\" \
1064-DPACKAGE_DATA_DIR=\"$(datadir)/evas\" \
1065-DPACKAGE_BUILD_DIR=\"`pwd`/$(top_builddir)\" \
1066-DEVAS_MODULE_NO_ENGINES=1 \
1067-DEVAS_MODULE_NO_IMAGE_SAVERS=1 \
1068@EVAS_CFLAGS@
1069
1070bin_evas_evas_cserve2_slave_LDADD = @EVAS_CSERVE2_SLAVE_LIBS@ @USE_EINA_LIBS@
1071bin_evas_evas_cserve2_slave_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
1072bin_evas_evas_cserve2_slave_LDFLAGS = -export-dynamic
1073
1074bin_evas_dummy_slave_SOURCES = \
1075bin/evas/dummy_slave.c
1076
1077bin_evas_dummy_slave_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
1078-I$(top_srcdir)/src/lib/evas/include \
1079-I$(top_srcdir)/src/lib/evas/cserve2 \
1080@EVAS_CFLAGS@
1081
1082bin_evas_dummy_slave_LDADD = \
1083@EVAS_LDFLAGS@ \
1084@EVAS_CSERVE2_SLAVE_LIBS@
1085
1086endif
1087
1088
984### Loaders and savers 1089### Loaders and savers
985 1090
986if BUILD_LOADER_BMP 1091if BUILD_LOADER_BMP
@@ -988,6 +1093,11 @@ if EVAS_STATIC_BUILD_BMP
988lib_evas_libevas_la_SOURCES += modules/evas/loaders/bmp/evas_image_load_bmp.c 1093lib_evas_libevas_la_SOURCES += modules/evas/loaders/bmp/evas_image_load_bmp.c
989lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_bmp_cflags@ 1094lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_bmp_cflags@
990lib_evas_libevas_la_LIBADD += @evas_image_loader_bmp_libs@ 1095lib_evas_libevas_la_LIBADD += @evas_image_loader_bmp_libs@
1096if EVAS_CSERVE2
1097bin_evas_evas_cserve2_slave_SOURCES += modules/evas/loaders/bmp/evas_image_load_bmp.c
1098bin_evas_evas_cserve2_slave_CPPFLAGS += @evas_image_loader_bmp_cflags@
1099bin_evas_evas_cserve2_slave_LDADD += @evas_image_loader_bmp_libs@
1100endif
991else 1101else
992loaderbmppkgdir = $(libdir)/evas/modules/loaders/bmp/$(MODULE_ARCH) 1102loaderbmppkgdir = $(libdir)/evas/modules/loaders/bmp/$(MODULE_ARCH)
993loaderbmppkg_LTLIBRARIES = modules/evas/loaders/bmp/module.la 1103loaderbmppkg_LTLIBRARIES = modules/evas/loaders/bmp/module.la
@@ -1010,6 +1120,11 @@ if EVAS_STATIC_BUILD_EET
1010lib_evas_libevas_la_SOURCES += modules/evas/loaders/eet/evas_image_load_eet.c modules/evas/savers/eet/evas_image_save_eet.c 1120lib_evas_libevas_la_SOURCES += modules/evas/loaders/eet/evas_image_load_eet.c modules/evas/savers/eet/evas_image_save_eet.c
1011lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_eet_cflags@ 1121lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_eet_cflags@
1012lib_evas_libevas_la_LIBADD += @evas_image_loader_eet_libs@ 1122lib_evas_libevas_la_LIBADD += @evas_image_loader_eet_libs@
1123if EVAS_CSERVE2
1124bin_evas_evas_cserve2_slave_SOURCES += modules/evas/loaders/eet/evas_image_load_eet.c
1125bin_evas_evas_cserve2_slave_CPPFLAGS += @evas_image_loader_eet_cflags@
1126bin_evas_evas_cserve2_slave_LDADD += @USE_EET_LIBS@ @evas_image_loader_eet_libs@
1127endif
1013else 1128else
1014loadereetpkgdir = $(libdir)/evas/modules/loaders/eet/$(MODULE_ARCH) 1129loadereetpkgdir = $(libdir)/evas/modules/loaders/eet/$(MODULE_ARCH)
1015loadereetpkg_LTLIBRARIES = modules/evas/loaders/eet/module.la 1130loadereetpkg_LTLIBRARIES = modules/evas/loaders/eet/module.la
@@ -1032,6 +1147,11 @@ if EVAS_STATIC_BUILD_GENERIC
1032lib_evas_libevas_la_SOURCES += modules/evas/loaders/generic/evas_image_load_generic.c 1147lib_evas_libevas_la_SOURCES += modules/evas/loaders/generic/evas_image_load_generic.c
1033lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_generic_cflags@ 1148lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_generic_cflags@
1034lib_evas_libevas_la_LIBADD += @evas_image_loader_generic_libs@ 1149lib_evas_libevas_la_LIBADD += @evas_image_loader_generic_libs@
1150if EVAS_CSERVE2
1151bin_evas_evas_cserve2_slave_SOURCES += modules/evas/loaders/generic/evas_image_load_generic.c
1152bin_evas_evas_cserve2_slave_CPPFLAGS += @evas_image_loader_generic_cflags@
1153bin_evas_evas_cserve2_slave_LDADD += @evas_image_loader_generic_libs@
1154endif
1035else 1155else
1036loadergenericpkgdir = $(libdir)/evas/modules/loaders/generic/$(MODULE_ARCH) 1156loadergenericpkgdir = $(libdir)/evas/modules/loaders/generic/$(MODULE_ARCH)
1037loadergenericpkg_LTLIBRARIES = modules/evas/loaders/generic/module.la 1157loadergenericpkg_LTLIBRARIES = modules/evas/loaders/generic/module.la
@@ -1054,6 +1174,11 @@ if EVAS_STATIC_BUILD_GIF
1054lib_evas_libevas_la_SOURCES += modules/evas/loaders/gif/evas_image_load_gif.c 1174lib_evas_libevas_la_SOURCES += modules/evas/loaders/gif/evas_image_load_gif.c
1055lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_gif_cflags@ 1175lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_gif_cflags@
1056lib_evas_libevas_la_LIBADD += @evas_image_loader_gif_libs@ 1176lib_evas_libevas_la_LIBADD += @evas_image_loader_gif_libs@
1177if EVAS_CSERVE2
1178bin_evas_evas_cserve2_slave_SOURCES += modules/evas/loaders/gif/evas_image_load_gif.c
1179bin_evas_evas_cserve2_slave_CPPFLAGS += @evas_image_loader_gif_cflags@
1180bin_evas_evas_cserve2_slave_LDADD += @evas_image_loader_gif_libs@
1181endif
1057else 1182else
1058loadergifpkgdir = $(libdir)/evas/modules/loaders/gif/$(MODULE_ARCH) 1183loadergifpkgdir = $(libdir)/evas/modules/loaders/gif/$(MODULE_ARCH)
1059loadergifpkg_LTLIBRARIES = modules/evas/loaders/gif/module.la 1184loadergifpkg_LTLIBRARIES = modules/evas/loaders/gif/module.la
@@ -1076,6 +1201,11 @@ if EVAS_STATIC_BUILD_ICO
1076lib_evas_libevas_la_SOURCES += modules/evas/loaders/ico/evas_image_load_ico.c 1201lib_evas_libevas_la_SOURCES += modules/evas/loaders/ico/evas_image_load_ico.c
1077lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_ico_cflags@ 1202lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_ico_cflags@
1078lib_evas_libevas_la_LIBADD += @evas_image_loader_ico_libs@ 1203lib_evas_libevas_la_LIBADD += @evas_image_loader_ico_libs@
1204if EVAS_CSERVE2
1205bin_evas_evas_cserve2_slave_SOURCES += modules/evas/loaders/ico/evas_image_load_ico.c
1206bin_evas_evas_cserve2_slave_CPPFLAGS += @evas_image_loader_ico_cflags@
1207bin_evas_evas_cserve2_slave_LDADD += @evas_image_loader_ico_libs@
1208endif
1079else 1209else
1080loadericopkgdir = $(libdir)/evas/modules/loaders/ico/$(MODULE_ARCH) 1210loadericopkgdir = $(libdir)/evas/modules/loaders/ico/$(MODULE_ARCH)
1081loadericopkg_LTLIBRARIES = modules/evas/loaders/ico/module.la 1211loadericopkg_LTLIBRARIES = modules/evas/loaders/ico/module.la
@@ -1101,6 +1231,11 @@ lib_evas_libevas_la_SOURCES += modules/evas/savers/jpeg/evas_image_save_jpeg.c
1101endif 1231endif
1102lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_jpeg_cflags@ 1232lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_jpeg_cflags@
1103lib_evas_libevas_la_LIBADD += @evas_image_loader_jpeg_libs@ 1233lib_evas_libevas_la_LIBADD += @evas_image_loader_jpeg_libs@
1234if EVAS_CSERVE2
1235bin_evas_evas_cserve2_slave_SOURCES += modules/evas/loaders/jpeg/evas_image_load_jpeg.c
1236bin_evas_evas_cserve2_slave_CPPFLAGS += @evas_image_loader_jpeg_cflags@
1237bin_evas_evas_cserve2_slave_LDADD += @evas_image_loader_jpeg_libs@
1238endif
1104else 1239else
1105loaderjpegpkgdir = $(libdir)/evas/modules/loaders/jpeg/$(MODULE_ARCH) 1240loaderjpegpkgdir = $(libdir)/evas/modules/loaders/jpeg/$(MODULE_ARCH)
1106loaderjpegpkg_LTLIBRARIES = modules/evas/loaders/jpeg/module.la 1241loaderjpegpkg_LTLIBRARIES = modules/evas/loaders/jpeg/module.la
@@ -1138,6 +1273,11 @@ if EVAS_STATIC_BUILD_PMAPS
1138lib_evas_libevas_la_SOURCES += modules/evas/loaders/pmaps/evas_image_load_pmaps.c 1273lib_evas_libevas_la_SOURCES += modules/evas/loaders/pmaps/evas_image_load_pmaps.c
1139lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_pmaps_cflags@ 1274lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_pmaps_cflags@
1140lib_evas_libevas_la_LIBADD += @evas_image_loader_pmaps_libs@ 1275lib_evas_libevas_la_LIBADD += @evas_image_loader_pmaps_libs@
1276if EVAS_CSERVE2
1277bin_evas_evas_cserve2_slave_SOURCES += modules/evas/loaders/pmaps/evas_image_load_pmaps.c
1278bin_evas_evas_cserve2_slave_CPPFLAGS += @evas_image_loader_pmaps_cflags@
1279bin_evas_evas_cserve2_slave_LDADD += @evas_image_loader_pmaps_libs@
1280endif
1141else 1281else
1142loaderpmapspkgdir = $(libdir)/evas/modules/loaders/pmaps/$(MODULE_ARCH) 1282loaderpmapspkgdir = $(libdir)/evas/modules/loaders/pmaps/$(MODULE_ARCH)
1143loaderpmapspkg_LTLIBRARIES = modules/evas/loaders/pmaps/module.la 1283loaderpmapspkg_LTLIBRARIES = modules/evas/loaders/pmaps/module.la
@@ -1160,6 +1300,12 @@ if EVAS_STATIC_BUILD_PNG
1160lib_evas_libevas_la_SOURCES += modules/evas/loaders/png/evas_image_load_png.c modules/evas/savers/png/evas_image_save_png.c 1300lib_evas_libevas_la_SOURCES += modules/evas/loaders/png/evas_image_load_png.c modules/evas/savers/png/evas_image_save_png.c
1161lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_png_cflags@ 1301lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_png_cflags@
1162lib_evas_libevas_la_LIBADD += @evas_image_loader_png_libs@ 1302lib_evas_libevas_la_LIBADD += @evas_image_loader_png_libs@
1303if EVAS_CSERVE2
1304bin_evas_evas_cserve2_slave_SOURCES += modules/evas/loaders/png/evas_image_load_png.c
1305bin_evas_evas_cserve2_slave_CPPFLAGS += @evas_image_loader_png_cflags@
1306# FIXME: Problem here, forcing link to png12.
1307bin_evas_evas_cserve2_slave_LDADD += -lpng12 @evas_image_loader_png_libs@
1308endif
1163else 1309else
1164loaderpngpkgdir = $(libdir)/evas/modules/loaders/png/$(MODULE_ARCH) 1310loaderpngpkgdir = $(libdir)/evas/modules/loaders/png/$(MODULE_ARCH)
1165loaderpngpkg_LTLIBRARIES = modules/evas/loaders/png/module.la 1311loaderpngpkg_LTLIBRARIES = modules/evas/loaders/png/module.la
@@ -1196,6 +1342,11 @@ if EVAS_STATIC_BUILD_PSD
1196lib_evas_libevas_la_SOURCES += modules/evas/loaders/psd/evas_image_load_psd.c 1342lib_evas_libevas_la_SOURCES += modules/evas/loaders/psd/evas_image_load_psd.c
1197lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_psd_cflags@ 1343lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_psd_cflags@
1198lib_evas_libevas_la_LIBADD += @evas_image_loader_psd_libs@ 1344lib_evas_libevas_la_LIBADD += @evas_image_loader_psd_libs@
1345if EVAS_CSERVE2
1346bin_evas_evas_cserve2_slave_SOURCES += modules/evas/loaders/psd/evas_image_load_psd.c
1347bin_evas_evas_cserve2_slave_CPPFLAGS += @evas_image_loader_psd_cflags@
1348bin_evas_evas_cserve2_slave_LDADD += @evas_image_loader_psd_libs@
1349endif
1199else 1350else
1200loaderpsdpkgdir = $(libdir)/evas/modules/loaders/psd/$(MODULE_ARCH) 1351loaderpsdpkgdir = $(libdir)/evas/modules/loaders/psd/$(MODULE_ARCH)
1201loaderpsdpkg_LTLIBRARIES = modules/evas/loaders/psd/module.la 1352loaderpsdpkg_LTLIBRARIES = modules/evas/loaders/psd/module.la
@@ -1218,6 +1369,11 @@ if EVAS_STATIC_BUILD_TGA
1218lib_evas_libevas_la_SOURCES += modules/evas/loaders/tga/evas_image_load_tga.c 1369lib_evas_libevas_la_SOURCES += modules/evas/loaders/tga/evas_image_load_tga.c
1219lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_tga_cflags@ 1370lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_tga_cflags@
1220lib_evas_libevas_la_LIBADD += @evas_image_loader_tga_libs@ 1371lib_evas_libevas_la_LIBADD += @evas_image_loader_tga_libs@
1372if EVAS_CSERVE2
1373bin_evas_evas_cserve2_slave_SOURCES += modules/evas/loaders/tga/evas_image_load_tga.c
1374bin_evas_evas_cserve2_slave_CPPFLAGS += @evas_image_loader_tga_cflags@
1375bin_evas_evas_cserve2_slave_LDADD += @evas_image_loader_tga_libs@
1376endif
1221else 1377else
1222loadertgapkgdir = $(libdir)/evas/modules/loaders/tga/$(MODULE_ARCH) 1378loadertgapkgdir = $(libdir)/evas/modules/loaders/tga/$(MODULE_ARCH)
1223loadertgapkg_LTLIBRARIES = modules/evas/loaders/tga/module.la 1379loadertgapkg_LTLIBRARIES = modules/evas/loaders/tga/module.la
@@ -1240,6 +1396,11 @@ if EVAS_STATIC_BUILD_TIFF
1240lib_evas_libevas_la_SOURCES += modules/evas/loaders/tiff/evas_image_load_tiff.c modules/evas/savers/tiff/evas_image_save_tiff.c 1396lib_evas_libevas_la_SOURCES += modules/evas/loaders/tiff/evas_image_load_tiff.c modules/evas/savers/tiff/evas_image_save_tiff.c
1241lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_tiff_cflags@ 1397lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_tiff_cflags@
1242lib_evas_libevas_la_LIBADD += @evas_image_loader_tiff_libs@ 1398lib_evas_libevas_la_LIBADD += @evas_image_loader_tiff_libs@
1399if EVAS_CSERVE2
1400bin_evas_evas_cserve2_slave_SOURCES += modules/evas/loaders/tiff/evas_image_load_tiff.c
1401bin_evas_evas_cserve2_slave_CPPFLAGS += @evas_image_loader_tiff_cflags@
1402bin_evas_evas_cserve2_slave_LDADD += @evas_image_loader_tiff_libs@
1403endif
1243else 1404else
1244loadertiffpkgdir = $(libdir)/evas/modules/loaders/tiff/$(MODULE_ARCH) 1405loadertiffpkgdir = $(libdir)/evas/modules/loaders/tiff/$(MODULE_ARCH)
1245loadertiffpkg_LTLIBRARIES = modules/evas/loaders/tiff/module.la 1406loadertiffpkg_LTLIBRARIES = modules/evas/loaders/tiff/module.la
@@ -1276,6 +1437,11 @@ if EVAS_STATIC_BUILD_WBMP
1276lib_evas_libevas_la_SOURCES += modules/evas/loaders/wbmp/evas_image_load_wbmp.c 1437lib_evas_libevas_la_SOURCES += modules/evas/loaders/wbmp/evas_image_load_wbmp.c
1277lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_wbmp_cflags@ 1438lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_wbmp_cflags@
1278lib_evas_libevas_la_LIBADD += @evas_image_loader_wbmp_libs@ 1439lib_evas_libevas_la_LIBADD += @evas_image_loader_wbmp_libs@
1440if EVAS_CSERVE2
1441bin_evas_evas_cserve2_slave_SOURCES += modules/evas/loaders/wbmp/evas_image_load_wbmp.c
1442bin_evas_evas_cserve2_slave_CPPFLAGS += @evas_image_loader_wbmp_cflags@
1443bin_evas_evas_cserve2_slave_LDADD += @evas_image_loader_wbmp_libs@
1444endif
1279else 1445else
1280loaderwbmppkgdir = $(libdir)/evas/modules/loaders/wbmp/$(MODULE_ARCH) 1446loaderwbmppkgdir = $(libdir)/evas/modules/loaders/wbmp/$(MODULE_ARCH)
1281loaderwbmppkg_LTLIBRARIES = modules/evas/loaders/wbmp/module.la 1447loaderwbmppkg_LTLIBRARIES = modules/evas/loaders/wbmp/module.la
@@ -1298,6 +1464,11 @@ if EVAS_STATIC_BUILD_WEBP
1298lib_evas_libevas_la_SOURCES += modules/evas/loaders/webp/evas_image_load_webp.c modules/evas/savers/webp/evas_image_save_webp.c 1464lib_evas_libevas_la_SOURCES += modules/evas/loaders/webp/evas_image_load_webp.c modules/evas/savers/webp/evas_image_save_webp.c
1299lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_webp_cflags@ 1465lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_webp_cflags@
1300lib_evas_libevas_la_LIBADD += @evas_image_loader_webp_libs@ 1466lib_evas_libevas_la_LIBADD += @evas_image_loader_webp_libs@
1467if EVAS_CSERVE2
1468bin_evas_evas_cserve2_slave_SOURCES += modules/evas/loaders/webp/evas_image_load_webp.c
1469bin_evas_evas_cserve2_slave_CPPFLAGS += @evas_image_loader_webp_cflags@
1470bin_evas_evas_cserve2_slave_LDADD += @evas_image_loader_webp_libs@
1471endif
1301else 1472else
1302loaderwebppkgdir = $(libdir)/evas/modules/loaders/webp/$(MODULE_ARCH) 1473loaderwebppkgdir = $(libdir)/evas/modules/loaders/webp/$(MODULE_ARCH)
1303loaderwebppkg_LTLIBRARIES = modules/evas/loaders/webp/module.la 1474loaderwebppkg_LTLIBRARIES = modules/evas/loaders/webp/module.la
@@ -1334,6 +1505,11 @@ if EVAS_STATIC_BUILD_XPM
1334lib_evas_libevas_la_SOURCES += modules/evas/loaders/xpm/evas_image_load_xpm.c 1505lib_evas_libevas_la_SOURCES += modules/evas/loaders/xpm/evas_image_load_xpm.c
1335lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_xpm_cflags@ 1506lib_evas_libevas_la_CPPFLAGS += @evas_image_loader_xpm_cflags@
1336lib_evas_libevas_la_LIBADD += @evas_image_loader_xpm_libs@ 1507lib_evas_libevas_la_LIBADD += @evas_image_loader_xpm_libs@
1508if EVAS_CSERVE2
1509bin_evas_evas_cserve2_slave_SOURCES += modules/evas/loaders/xpm/evas_image_load_xpm.c
1510bin_evas_evas_cserve2_slave_CPPFLAGS += @evas_image_loader_xpm_cflags@
1511bin_evas_evas_cserve2_slave_LDADD += @evas_image_loader_xpm_libs@
1512endif
1337else 1513else
1338loaderxpmpkgdir = $(libdir)/evas/modules/loaders/xpm/$(MODULE_ARCH) 1514loaderxpmpkgdir = $(libdir)/evas/modules/loaders/xpm/$(MODULE_ARCH)
1339loaderxpmpkg_LTLIBRARIES = modules/evas/loaders/xpm/module.la 1515loaderxpmpkg_LTLIBRARIES = modules/evas/loaders/xpm/module.la
@@ -1351,100 +1527,6 @@ modules_evas_loaders_xpm_module_la_LIBTOOLFLAGS = --tag=disable-static
1351endif 1527endif
1352endif 1528endif
1353 1529
1354### binary (cserve2)
1355
1356if EVAS_CSERVE2
1357
1358evascserve2internal_bindir=$(libdir)/evas/cserve2/bin/$(MODULE_ARCH)
1359evascserve2internal_bin_PROGRAMS = \
1360bin/evas/evas_cserve2 \
1361bin/evas/evas_cserve2_slave
1362
1363noinst_PROGRAMS += \
1364bin/evas/dummy_slave
1365
1366bin_PROGRAMS += \
1367bin/evas/evas_cserve2_client \
1368bin/evas/evas_cserve2_usage \
1369bin/evas/evas_cserve2_debug
1370
1371bin_evas_evas_cserve2_SOURCES = \
1372bin/evas/evas_cserve2.h \
1373bin/evas/evas_cserve2_slave.h \
1374bin/evas/evas_cserve2_main.c \
1375bin/evas/evas_cserve2_slaves.c \
1376bin/evas/evas_cserve2_messages.c \
1377bin/evas/evas_cserve2_shm.c \
1378bin/evas/evas_cserve2_cache.c \
1379bin/evas/evas_cserve2_requests.c \
1380bin/evas/evas_cserve2_fonts.c \
1381bin/evas/evas_cserve2_scale.c \
1382bin/evas/evas_cserve2_main_loop_linux.c \
1383lib/evas/cserve2/evas_cs2_utils.h \
1384lib/evas/cserve2/evas_cs2_utils.c
1385
1386bin_evas_evas_cserve2_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
1387-I$(top_srcdir)/src/lib/evas/include \
1388-I$(top_srcdir)/src/lib/evas/cserve2 \
1389-DPACKAGE_BIN_DIR=\"$(bindir)\" \
1390-DPACKAGE_LIB_DIR=\"$(libdir)\" \
1391-DPACKAGE_DATA_DIR=\"$(datadir)/evas\" \
1392@EVAS_CFLAGS@
1393
1394bin_evas_evas_cserve2_LDADD = @USE_EVAS_LIBS@
1395bin_evas_evas_cserve2_DEPENDENCIES = @USE_EVAS_INTERNAL_LIBS@
1396
1397bin_evas_evas_cserve2_client_SOURCES = \
1398bin/evas/evas_cserve2_client.c
1399bin_evas_evas_cserve2_client_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
1400-I$(top_srcdir)/src/lib/evas/cserve2 \
1401@EINA_CFLAGS@
1402bin_evas_evas_cserve2_client_LDADD = @USE_EINA_LIBS@
1403bin_evas_evas_cserve2_client_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
1404
1405bin_evas_evas_cserve2_usage_SOURCES = \
1406bin/evas/evas_cserve2_usage.c
1407bin_evas_evas_cserve2_usage_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
1408-I$(top_srcdir)/src/lib/evas/cserve2 \
1409@EINA_CFLAGS@
1410bin_evas_evas_cserve2_usage_LDADD = @USE_EINA_LIBS@
1411bin_evas_evas_cserve2_usage_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
1412
1413bin_evas_evas_cserve2_debug_SOURCES = \
1414bin/evas/evas_cserve2_debug.c
1415bin_evas_evas_cserve2_debug_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
1416-I$(top_srcdir)/src/lib/evas/cserve2 \
1417@EINA_CFLAGS@
1418bin_evas_evas_cserve2_debug_LDADD = @USE_EINA_LIBS@
1419bin_evas_evas_cserve2_debug_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
1420
1421bin_evas_evas_cserve2_slave_SOURCES = \
1422bin/evas/evas_cserve2_slave.c \
1423bin/evas/evas_cserve2_utils.c
1424
1425bin_evas_evas_cserve2_slave_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
1426-I$(top_srcdir)/src/lib/evas/include \
1427-I$(top_srcdir)/src/lib/evas/cserve2 \
1428-DPACKAGE_BIN_DIR=\"$(bindir)\" \
1429-DPACKAGE_LIB_DIR=\"$(libdir)\" \
1430-DPACKAGE_DATA_DIR=\"$(datadir)/evas\" \
1431@EVAS_CFLAGS@
1432
1433bin_evas_evas_cserve2_slave_LDADD = @EVAS_CSERVE2_SLAVE_LIBS@ @USE_EINA_LIBS@
1434bin_evas_evas_cserve2_slave_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@
1435bin_evas_evas_cserve2_slave_LDFLAGS = -export-dynamic
1436
1437bin_evas_dummy_slave_SOURCES = \
1438bin/evas/dummy_slave.c
1439
1440bin_evas_dummy_slave_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
1441-I$(top_srcdir)/src/lib/evas/include \
1442-I$(top_srcdir)/src/lib/evas/cserve2 \
1443@EVAS_CFLAGS@
1444
1445bin_evas_dummy_slave_LDADD = \
1446@EVAS_LDFLAGS@ \
1447@EVAS_CSERVE2_SLAVE_LIBS@
1448 1530
1449### Cserve2 loaders 1531### Cserve2 loaders
1450 1532
@@ -1639,7 +1721,6 @@ bin_evas_loaders_xpm_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
1639bin_evas_loaders_xpm_module_la_LIBTOOLFLAGS = --tag=disable-static 1721bin_evas_loaders_xpm_module_la_LIBTOOLFLAGS = --tag=disable-static
1640endif 1722endif
1641 1723
1642endif
1643 1724
1644### Unit tests 1725### Unit tests
1645 1726