927c5f08d2053003641b367f19b224d8aae3cd56
[platform/core/uifw/dali-adaptor.git] / build / tizen / adaptor / Makefile.am
1 #
2 # Copyright (c) 2014 Samsung Electronics Co., Ltd.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #
16
17 # Build the Dali Adaptor library
18
19
20 ############# INCLUDE FILE LISTS #############
21
22 # Base Adaptor
23 base_adaptor_src_dir = ../../../adaptors/base
24 include ../../../adaptors/base/file.list
25
26 # Platform Abstraction
27 tizen_platform_abstraction_src_dir = ../../../platform-abstractions/tizen
28 portable_platform_abstraction_src_dir = ../../../platform-abstractions/portable
29 include ../../../platform-abstractions/tizen/file.list
30
31 # Text Abstraction
32 text_src_dir = ../../../text
33 include ../../../text/file.list
34
35 # Integration
36 adaptor_integration_api_dir = ../../../adaptors/integration-api
37 include ../../../adaptors/integration-api/file.list
38
39 # Internal Common
40 adaptor_common_dir = ../../../adaptors/common
41 include ../../../adaptors/common/file.list
42
43 if USE_EFL
44 # ECore Common
45 adaptor_ecore_common_dir = ../../../adaptors/ecore/common
46 include ../../../adaptors/ecore/common/file.list
47 else
48 # If we're not using any EFL, then we need to use libuv mainloop
49 # for the frame work
50 adaptor_libuv_dir = ../../../adaptors/libuv
51 include ../../../adaptors/libuv/file.list
52 endif
53
54 # Wayland
55 if WAYLAND
56 if USE_EFL
57 ## Use ecore_wayland
58 adaptor_ecore_wayland_dir = ../../../adaptors/ecore/wayland
59 include ../../../adaptors/ecore/wayland/file.list
60 else
61 ## Use wayland
62 adaptor_wayland_dir = ../../../adaptors/wayland
63 include ../../../adaptors/wayland/file.list
64 endif
65 else
66 # X11
67 adaptor_x11_dir = ../../../adaptors/x11
68 include ../../../adaptors/x11/file.list
69 endif
70
71 # Ubuntu
72 if UBUNTU_PROFILE
73 adaptor_ubuntu_dir = ../../../adaptors/ubuntu
74 include ../../../adaptors/ubuntu/file.list
75 else
76 # Tizen
77 adaptor_tizen_dir = ../../../adaptors/tizen
78 include ../../../adaptors/tizen/file.list
79 endif
80
81 # Mobile
82 adaptor_mobile_dir = ../../../adaptors/mobile
83 include ../../../adaptors/mobile/file.list
84
85 # WEARABLE
86 adaptor_wearable_dir = ../../../adaptors/wearable
87 include ../../../adaptors/wearable/file.list
88
89 # TV
90 adaptor_tv_dir = ../../../adaptors/tv
91 include ../../../adaptors/tv/file.list
92
93 # Public API
94 adaptor_public_api_dir = ../../../adaptors/public-api
95 include ../../../adaptors/public-api/file.list
96
97 # Devel API ( for use by Toolkit)
98 adaptor_devel_api_dir = ../../../adaptors/devel-api
99 include ../../../adaptors/devel-api/file.list
100
101
102 # Static libraries
103 static_libraries_libunibreak_src_dir = ../../../text/dali/internal/libunibreak
104 include ../../../text/dali/internal/libunibreak/file.list
105
106 static_libraries_glyphy_src_dir = ../../../text/dali/internal/glyphy
107 include ../../../text/dali/internal/glyphy/file.list
108
109 static_libraries_image_resampler_src_dir = ../../../third-party/image-resampler
110 include ../../../third-party/image-resampler/file.list
111
112 # Package doc
113 package_doxy_dir = ../../../doc
114 include ../../../doc/file.list
115
116 ############# source files #############
117
118 # FRAMEWORK FILES for adaptor
119 # Either use ecore mainloop +  appcore / uiman
120 # Or libuv main loop with no appcore / uimain
121 if USE_EFL
122 adaptor_internal_src_files = $(adaptor_tizen_framework_efl_src_files) \
123                              $(adaptor_ecore_common_internal_src_files)
124 else
125 adaptor_internal_src_files = $(adaptor_tizen_framework_libuv_src_files)
126 endif
127
128 # COMMON
129 if COMMON_PROFILE
130
131 adaptor_internal_src_files += $(adaptor_common_internal_src_files) \
132                               $(adaptor_common_internal_default_profile_src_files) \
133                               $(adaptor_tizen_internal_src_files) \
134                               $(adaptor_tizen_internal_non_mobile_src_files) \
135                               $(static_libraries_libunibreak_src_files)
136
137 if WAYLAND
138
139 if USE_ECORE_WAYLAND
140 adaptor_internal_src_files += $(adaptor_ecore_wayland_tizen_internal_src_files) \
141                               $(adaptor_ecore_wayland_internal_default_profile_src_files)
142 else
143 adaptor_internal_src_files += $(adaptor_wayland_tizen_internal_src_files)
144 endif # USE_ECORE_WAYLAND
145
146 adaptor_internal_src_files += $(adaptor_tizen_internal_egl_extension_src_files) \
147                               $(adaptor_tizen_internal_native_image_src_files)
148 else
149 adaptor_internal_src_files += $(adaptor_x11_tizen_internal_src_files) \
150                               $(adaptor_common_internal_egl_extension_src_files) \
151                               $(adaptor_x11_internal_default_profile_src_files)
152 endif # WAYLAND
153 endif # COMMON_PROFILE
154
155
156 # UBUNTU
157 if UBUNTU_PROFILE
158
159 adaptor_internal_src_files += $(adaptor_common_internal_src_files) \
160                              $(adaptor_common_internal_default_profile_src_files) \
161                              $(adaptor_ubuntu_internal_src_files) \
162                              $(adaptor_x11_ubuntu_internal_src_files) \
163                              $(adaptor_x11_internal_default_profile_src_files) \
164                              $(static_libraries_libunibreak_src_files) \
165                              $(adaptor_common_internal_egl_extension_src_files)
166
167 endif # UBUNTU_PROFILE
168
169
170 # MOBILE
171 if MOBILE_PROFILE
172
173 adaptor_internal_src_files += $(adaptor_common_internal_src_files) \
174                              $(adaptor_common_internal_mobile_profile_src_files) \
175                              $(adaptor_tizen_internal_src_files) \
176                              $(static_libraries_libunibreak_src_files)
177
178 if WAYLAND
179
180 if USE_ECORE_WAYLAND
181 adaptor_internal_src_files += $(adaptor_ecore_wayland_tizen_internal_src_files)
182 else
183 adaptor_internal_src_files += $(adaptor_wayland_tizen_internal_src_files)
184 endif # USE_ECORE_WAYLAND
185
186 adaptor_internal_src_files += $(adaptor_tizen_internal_egl_extension_src_files) \
187                               $(adaptor_tizen_internal_native_image_src_files) \
188                               $(adaptor_common_internal_wayland_mobile_profile_src_files)
189 else
190 adaptor_internal_src_files += $(adaptor_x11_tizen_internal_src_files) \
191                               $(adaptor_common_internal_egl_extension_src_files) \
192                               $(adaptor_common_internal_x_mobile_profile_src_files)
193 endif # WAYLAND
194
195 endif # MOBILE_PROFILE
196
197 # WEARABLE
198 if WEARABLE_PROFILE
199
200 adaptor_internal_src_files += $(adaptor_common_internal_src_files) \
201                              $(adaptor_common_internal_mobile_profile_src_files) \
202                              $(adaptor_tizen_internal_src_files) \
203                              $(static_libraries_libunibreak_src_files)
204 if WAYLAND
205
206 if USE_ECORE_WAYLAND
207 adaptor_internal_src_files += $(adaptor_ecore_wayland_tizen_internal_src_files)
208 else
209 adaptor_internal_src_files += $(adaptor_wayland_tizen_internal_src_files)
210 endif # USE_ECORE_WAYLAND
211
212 adaptor_internal_src_files += $(adaptor_tizen_internal_egl_extension_src_files) \
213                               $(adaptor_tizen_internal_native_image_src_files) \
214                               $(adaptor_internal_wearable_profile_src_files) \
215                               $(adaptor_common_internal_wayland_mobile_profile_src_files)
216 else
217 adaptor_internal_src_files += $(adaptor_x11_tizen_internal_src_files) \
218                               $(adaptor_common_internal_egl_extension_src_files) \
219                               $(adaptor_common_internal_x_mobile_profile_src_files)
220 endif # WAYLAND
221
222 endif # WEARABLE
223
224
225 # TV
226 if TV_PROFILE
227
228 adaptor_internal_src_files += $(adaptor_common_internal_src_files) \
229                              $(adaptor_common_internal_tv_profile_src_files) \
230                              $(adaptor_tizen_internal_src_files) \
231                              $(adaptor_tizen_internal_non_mobile_src_files) \
232                              $(static_libraries_libunibreak_src_files)
233 if WAYLAND
234
235 if USE_ECORE_WAYLAND
236 adaptor_internal_src_files += $(adaptor_ecore_wayland_tizen_internal_src_files)
237 else
238 adaptor_internal_src_files += $(adaptor_wayland_tizen_internal_src_files)
239 endif # USE_ECORE_WAYLAND
240
241 adaptor_internal_src_files += $(adaptor_tizen_internal_egl_extension_src_files) \
242                               $(adaptor_tizen_internal_native_image_src_files)
243 else
244 adaptor_internal_src_files += $(adaptor_x11_tv_internal_src_files) \
245                               $(adaptor_x11_internal_tv_profile_key_src_files) \
246                               $(adaptor_common_internal_egl_extension_src_files)
247 endif # WAYLAND
248
249 endif
250
251 # IVI
252 if IVI_PROFILE
253
254 adaptor_internal_src_files += $(adaptor_common_internal_src_files) \
255                              $(adaptor_common_internal_mobile_profile_src_files) \
256                              $(adaptor_tizen_internal_src_files) \
257                              $(static_libraries_libunibreak_src_files)
258
259 if WAYLAND
260
261 if USE_ECORE_WAYLAND
262 adaptor_internal_src_files += $(adaptor_ecore_wayland_tizen_internal_src_files)
263 else
264 adaptor_internal_src_files += $(adaptor_wayland_tizen_internal_src_files)
265 endif # USE_ECORE_WAYLAND
266
267 adaptor_internal_src_files += $(adaptor_tizen_internal_egl_extension_src_files) \
268                               $(adaptor_tizen_internal_native_image_src_files)
269 else
270 adaptor_internal_src_files += $(adaptor_x11_tizen_internal_src_files) \
271                               $(adaptor_common_internal_egl_extension_src_files)
272 endif # WAYLAND
273
274 endif # IVI_PROFILE
275
276
277
278 # Node JS support for using an external libuv main loop. If not enabled then just use e-core as normal
279 # Used for things like callbacks, file-monintors, x input handling
280 if LIB_UV_EVENT_LOOP
281 main_loop_integration_src_files = $(adaptor_common_internal_uv_src_files)
282 input_event_handler_src_files = $(adaptor_uv_x_event_handler_internal_src_files)
283 else
284 main_loop_integration_src_files = $(adaptor_common_internal_ecore_src_files)
285 input_event_handler_src_files = $(adaptor_ecore_x_event_handler_internal_src_files)
286 endif
287
288 if ENABLE_VECTOR_BASED_TEXT_RENDERING
289 adaptor_internal_src_files += $(static_libraries_glyphy_src_files)
290 DALI_ADAPTOR_CFLAGS += -DENABLE_VECTOR_BASED_TEXT_RENDERING
291 endif
292
293 pkgconfigdir = $(libdir)/pkgconfig
294 pkgconfig_DATA = dali-adaptor.pc dali-adaptor-integration.pc
295
296 lib_LTLIBRARIES = libdali-adaptor.la
297
298 libdali_adaptor_la_SOURCES = \
299                      $(base_adaptor_src_files) \
300                      $(main_loop_integration_src_files) \
301                      $(tizen_platform_abstraction_src_files) \
302                      $(text_abstraction_src_files) \
303                      $(devel_api_src_files) \
304                      $(public_api_src_files) \
305                      $(adaptor_internal_src_files) \
306                      $(input_event_handler_src_files) \
307                      $(image_resampler_src_files)
308
309
310 if ENABLE_NETWORK_LOGGING
311 libdali_adaptor_la_SOURCES += \
312   $(base_adaptor_networking_src_files)
313 endif
314
315 libdali_adaptor_la_DEPENDENCIES =
316
317 # List include directories with more platform-specific (tizen) before portable root:
318 libdali_adaptor_la_includes = \
319                       -I../../.. \
320                       -I../../../platform-abstractions/tizen \
321                       -I../../../platform-abstractions/tizen/resource-loader \
322                       -I../../../platform-abstractions/portable \
323                       -I../../../platform-abstractions/ \
324                       -I../../../adaptors/public-api \
325                       -I../../../adaptors/integration-api \
326                       -I../../../adaptors/public-api/adaptor-framework \
327                       -I../../../adaptors/devel-api/adaptor-framework \
328                       -I../../../adaptors/common \
329                       -I../../../adaptors/base/interfaces \
330                       -I../../../adaptors/ \
331                       -I../../../text \
332                       -I../../../text/dali/internal/libunibreak \
333                       -I../../../third-party/image-resampler
334
335 if WAYLAND
336 libdali_adaptor_la_includes += -I../../../adaptors/integration-api/wayland
337
338 if USE_ECORE_WAYLAND
339 libdali_adaptor_la_includes += \
340                       -I../../../adaptors/ecore/common \
341                       -I../../../adaptors/ecore/wayland
342 else
343 libdali_adaptor_la_includes += -I../../../adaptors/wayland \
344                                -I../../../adaptors/wayland/input/text/imf \
345                                -I../../../adaptors/wayland/clipboard
346 endif # USE_ECORE_WAYLADN
347
348 libdali_adaptor_la_includes += \
349                       -I../../../adaptors/tizen
350 else
351 libdali_adaptor_la_includes += \
352                       -I../../../adaptors/ecore/common \
353                       -I../../../adaptors/x11 \
354                       -I../../../adaptors/integration-api/x11
355 endif # WAYLAND
356
357 if UBUNTU_PROFILE
358 libdali_adaptor_la_includes += \
359                       -I../../../adaptors/ubuntu
360 else
361 libdali_adaptor_la_includes += \
362                       -I../../../adaptors/tizen
363 endif
364
365 daliDefaultThemeDir  = ${dataReadWriteDir}/theme/
366 daliShaderbinCacheDir = ${dataReadOnlyDir}/core/shaderbin/
367
368 libdali_adaptor_la_CXXFLAGS = \
369                       -DDALI_DATA_RW_DIR="\"${daliReadWriteDir}\"" \
370                       -DDALI_DATA_RO_DIR="\"${daliReadOnlyDir}\"" \
371                       -DDALI_DEFAULT_FONT_CACHE_DIR="\"${daliDefaultFontCacheDir}\"" \
372                       -DDALI_USER_FONT_CACHE_DIR="\"${daliUserFontCacheDir}\"" \
373                       -DDALI_SHADERBIN_DIR="\"${daliShaderbinCacheDir}\"" \
374                       -DDALI_DEFAULT_THEME_DIR="\"${daliDefaultThemeDir}\"" \
375                       -DFONT_PRELOADED_PATH="\"${fontPreloadedPath}\"" \
376                       -DFONT_DOWNLOADED_PATH="\"${fontDownloadedPath}\"" \
377                       -DFONT_APPLICATION_PATH="\"${fontApplicationPath}\"" \
378                       -DFONT_CONFIGURATION_FILE="\"${fontConfigurationFile}\"" \
379                       -DTIZEN_PLATFORM_CONFIG_SUPPORTED=${tizenPlatformConfigSupported} \
380                       -DNON_POWER_OF_TWO_TEXTURES \
381                       -DDALI_COMPILATION -DDALI_ADAPTOR_COMPILATION \
382                       -Werror -Wall -lgcc -Wold-style-cast\
383                       $(libdali_adaptor_la_includes) \
384                       $(DALI_ADAPTOR_CFLAGS) \
385                       $(DALICORE_CFLAGS) \
386                       $(OPENGLES20_CFLAGS) \
387                       $(FREETYPE_CFLAGS) \
388                       $(FONTCONFIG_CFLAGS) \
389                       $(PNG_CFLAGS) \
390                       $(DLOG_CFLAGS) \
391                       $(VCONF_CFLAGS) \
392                       $(EXIF_CFLAGS) \
393                       $(MMFSOUND_CFLAGS) \
394                       $(TTS_CFLAGS) \
395                       $(CAPI_SYSTEM_SENSOR_CFLAGS) \
396                       $(LIBDRM_CFLAGS) \
397                       $(LIBEXIF_CFLAGS) \
398                       $(LIBCURL_CFLAGS) \
399                       $(TPKP_CURL_CFLAGS) \
400                       $(UTILX_CFLAGS)
401
402 # Todo, as soon as common repos are updated on build server remove this.
403 if !COMMON_PROFILE
404 libdali_adaptor_la_CXXFLAGS += -DWAYLAND_EXTENSIONS_SUPPORTED
405 endif
406
407 libdali_adaptor_la_CFLAGS = \
408                       -Werror -Wall \
409                       -DDALI_COMPILATION -DDALI_ADAPTOR_COMPILATION \
410                       $(DALI_ADAPTOR_CFLAGS)
411
412 libdali_adaptor_la_LIBADD = \
413                       $(DALICORE_LIBS) \
414                       $(OPENGLES20_LIBS) \
415                       $(FREETYPE_LIBS) \
416                       $(FONTCONFIG_LIBS) \
417                       $(PNG_LIBS) \
418                       $(DLOG_LIBS) \
419                       $(VCONF_LIBS) \
420                       $(EXIF_LIBS) \
421                       $(TTS_LIBS) \
422                       $(CAPI_SYSTEM_SENSOR_LIBS) \
423                       $(LIBDRM_LIBS) \
424                       $(LIBEXIF_LIBS) \
425                       $(LIBCURL_LIBS) \
426                       $(HARFBUZZ_LIBS) \
427                       $(TPKP_CURL_LIBS) \
428                       $(UTILX_LIBS) \
429                       -lgif \
430                       -lpthread \
431                       -lturbojpeg \
432                       -ljpeg
433
434 if USE_EFL
435 # EVAS used indicator
436 libdali_adaptor_la_CXXFLAGS += $(ELEMENTARY_CFLAGS) \
437                                $(EVAS_CFLAGS) \
438                                $(ECORE_CFLAGS) \
439                                $(ECORE_IPC_CFLAGS) \
440                                $(ELDBUS_CFLAGS) \
441                                -DUSE_EFL
442
443
444 libdali_adaptor_la_LIBADD += $(ELEMENTARY_LIBS) \
445                              $(ECORE_IPC_LIBS) \
446                              $(ELDBUS_LIBS)
447
448 endif
449
450 if USE_APPFW
451
452 libdali_adaptor_la_CXXFLAGS += $(CAPI_APPFW_APPLICATION_CFLAGS) \
453                                $(CAPI_SYSTEM_SYSTEM_SETTINGS_CFLAGS) \
454                                $(CAPI_SYSTEM_INFO_CFLAGS) \
455                                $(TTS_CFLAGS) \
456                                $(SENSOR_CFLAGS)
457
458 libdali_adaptor_la_LIBADD += $(CAPI_APPFW_APPLICATION_LIBS) \
459                              $(CAPI_SYSTEM_SYSTEM_SETTINGS_LIBS) \
460                              $(CAPI_SYSTEM_INFO_LIBS) \
461                              $(TTS_LIBS) \
462                              $(SENSOR_LIBS)
463
464 endif
465 if WAYLAND
466 # This is to avoid having to include wayland-egl.h everywhere
467 libdali_adaptor_la_CXXFLAGS += -DWL_EGL_PLATFORM
468 libdali_adaptor_la_CXXFLAGS += $(WAYLAND_CFLAGS)
469 libdali_adaptor_la_LIBADD += $(WAYLAND_LIBS)
470 else
471 libdali_adaptor_la_CXXFLAGS += $(X11_CFLAGS)
472 libdali_adaptor_la_LIBADD += $(X11_LIBS)
473 libdali_adaptor_la_LIBADD += $(ECORE_X_LIBS)
474 endif
475
476 if COMMON_PROFILE
477 libdali_adaptor_la_CXXFLAGS += $(HAPTIC_CFLAGS)
478 endif
479
480 if MOBILE_PROFILE
481 libdali_adaptor_la_CXXFLAGS += \
482                       $(DEVICED_CFLAGS) \
483                       $(EFL_ASSIST_CFLAGS) \
484                       $(NATIVE_BUFFER_CFLAGS) \
485                       $(NATIVE_BUFFER_POOL_CFLAGS)
486
487 libdali_adaptor_la_LIBADD += \
488                       $(EFL_ASSIST_LIBS) \
489                       $(NATIVE_BUFFER_LIBS) \
490                       $(NATIVE_BUFFER_POOL_LIBS)
491 endif
492
493 if WEARABLE_PROFILE
494 libdali_adaptor_la_CXXFLAGS += \
495                       $(HAPTIC_CFLAGS) \
496                       $(EFL_ASSIST_CFLAGS)
497                       $(APPCORE_WATCH_CFLAGS)
498
499 libdali_adaptor_la_LIBADD += \
500                       $(APPCORE_WATCH_LIBS)
501 endif
502
503 if TV_PROFILE
504 libdali_adaptor_la_CXXFLAGS += $(HAPTIC_CFLAGS)
505 libdali_adaptor_la_LIBADD +=
506 endif
507
508 if IVI_PROFILE
509 libdali_adaptor_la_CXXFLAGS += \
510                       $(DEVICED_CFLAGS) \
511                       $(EFL_ASSIST_CFLAGS) \
512                       $(NATIVE_BUFFER_CFLAGS) \
513                       $(NATIVE_BUFFER_POOL_CFLAGS)
514
515 libdali_adaptor_la_LIBADD += \
516                       $(EFL_ASSIST_LIBS) \
517                       $(NATIVE_BUFFER_LIBS) \
518                       $(NATIVE_BUFFER_POOL_LIBS)
519 endif
520
521 if UBUNTU_PROFILE
522 libdali_adaptor_la_LIBADD += -ljpeg
523 CFLAGS += -fPIC
524 endif
525
526 if !UBUNTU_PROFILE
527 if WAYLAND
528 else
529 # X11
530 libdali_adaptor_la_CXXFLAGS += $(UTILX_CFLAGS)
531 libdali_adaptor_la_LIBADD += $(UTILX_LIBS)
532 endif
533 endif
534
535 tizenadaptorpublicapidir = $(devincludepath)/dali/public-api
536 tizenadaptorpublicapi_HEADERS = $(public_api_header_files)
537
538 tizenadaptordevelapidir= $(devincludepath)/dali/devel-api
539
540 tizenadaptorintegrationapidir = $(devincludepath)/dali/integration-api/adaptors
541 tizenadaptorintegrationapi_HEADERS = $(adaptor_integration_api_header_files)
542
543 if WAYLAND
544 tizenadaptorintegrationwaylandapidir = $(devincludepath)/dali/integration-api/adaptors
545 tizenadaptorintegrationwaylandapi_HEADERS = $(adaptor_integration_wayland_api_header_files)
546 tizenadaptorintegrationwaylandapi_HEADERS += $(adaptor_integration_ecore_wayland_api_header_files)
547 else
548 tizenadaptorintegrationx11apidir = $(devincludepath)/dali/integration-api/adaptors
549 tizenadaptorintegrationx11api_HEADERS = $(adaptor_integration_x11_api_header_files)
550 endif
551
552 tizenadaptorframeworkpublicapidir = $(tizenadaptorpublicapidir)/adaptor-framework
553 tizenadaptorframeworkpublicapi_HEADERS = $(public_api_adaptor_framework_header_files)
554
555 tizenadaptorframeworkdevelapidir = $(tizenadaptordevelapidir)/adaptor-framework
556 tizenadaptorframeworkdevelapi_HEADERS = $(devel_api_adaptor_framework_header_files)
557
558 tizentextabstractiondevelapidir = $(tizenadaptordevelapidir)/text-abstraction
559 tizentextabstractiondevelapi_HEADERS = $(text_abstraction_header_files)
560
561 if !UBUNTU_PROFILE
562 tizenadaptorframeworkpublicapi_HEADERS += $(public_api_adaptor_tizen_header_files)
563
564 if !WAYLAND
565 tizenadaptorframeworkdevelapi_HEADERS += $(devel_api_adaptor_tizen_x11_header_files)
566 endif # NOT WAYLAND
567
568 endif # NOT UBUNTU_PROFILE
569
570 tizenadaptordaliheaderdir = $(devincludepath)/dali
571 tizenadaptordaliheader_HEADERS = $(adaptor_dali_header_file)
572
573 tizenadaptorpublicapi_HEADERS += $(adaptor_dali_wearable_header_file)
574
575 tizenwatchpublicapidir = $(tizenadaptorpublicapidir)/watch
576 tizenwatchpublicapi_HEADERS = $(public_dali_watch_header_files)
577
578 install-data-local:
579         $(MKDIR_P) ${DESTDIR}/${daliUserFontCacheDir} ${DESTDIR}/${daliShaderbinCacheDir}
580
581 # Install resource log analyzer script
582 bin_SCRIPTS = ../../../adaptors/scripts/dalireslog.sh
583
584 # package doxygen file (contains doxygen grouping information)
585 packagedoxydir = $(devincludepath)/dali/doc
586 packagedoxy_HEADERS = $(package_doxy_files)
587
588 # linking test
589
590 # turn off the linker test if were building for libuv
591 # We can't link to LibUV becase it is statically linked to Node.JS (by default)
592 if !LIB_UV_EVENT_LOOP
593 noinst_PROGRAMS = linker.test
594 endif # NOT LIB_UV_EVENT_LOOP
595
596 linker_test_SOURCES = linker-test.cpp
597
598 linker_test_CXXFLAGS = \
599   -DDALI_ADAPTOR_COMPILATION \
600   -I../../../adaptors/common \
601   -I../../../adaptors/public-api \
602   -I../../../adaptors/integration-api \
603   -I../../../adaptors/base/interfaces \
604   -I../../../adaptors/public-api/adaptor-framework \
605   -I../../../adaptors/devel-api/adaptor-framework \
606   $(DALI_ADAPTOR_CFLAGS) \
607   $(DALICORE_CFLAGS) \
608   $(VCONF_CFLAGS) \
609   $(DALIX11_CFLAGS) \
610   -Werror -Wall
611
612 if WAYLAND
613 linker_test_CXXFLAGS += \
614   -I../../../adaptors/integration-api/wayland
615 else
616
617 linker_test_CXXFLAGS += \
618   -I../../../adaptors/integration-api/x11
619 endif
620
621
622 linker_test_DEPENDENCIES = libdali-adaptor.la
623 linker_test_LDADD = \
624   $(DALICORE_LIBS) \
625   $(VCONF_LIBS) \
626   libdali-adaptor.la \
627   $(HARFBUZZ_LIBS) \
628   -L${prefix}/lib