Merge branch 'devel/master' into tizen
[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 if WEARABLE_PROFILE
87 adaptor_wearable_dir = ../../../adaptors/wearable
88 include ../../../adaptors/wearable/file.list
89 endif
90
91 # TV
92 if TV_PROFILE
93 adaptor_tv_dir = ../../../adaptors/tv
94 include ../../../adaptors/tv/file.list
95 endif
96
97 # Public API
98 adaptor_public_api_dir = ../../../adaptors/public-api
99 include ../../../adaptors/public-api/file.list
100
101 # Devel API ( for use by Toolkit)
102 adaptor_devel_api_dir = ../../../adaptors/devel-api
103 include ../../../adaptors/devel-api/file.list
104
105
106 # Static libraries
107 static_libraries_libunibreak_src_dir = ../../../text/dali/internal/libunibreak
108 include ../../../text/dali/internal/libunibreak/file.list
109
110 static_libraries_glyphy_src_dir = ../../../text/dali/internal/glyphy
111 include ../../../text/dali/internal/glyphy/file.list
112
113 # Package doc
114 package_doxy_dir = ../../../doc
115 include ../../../doc/file.list
116
117 ############# source files #############
118
119 # FRAMEWORK FILES for adaptor
120 # Either use ecore mainloop +  appcore / uiman
121 # Or libuv main loop with no appcore / uimain
122 if USE_EFL
123 adaptor_internal_src_files = $(adaptor_tizen_framework_efl_src_files) \
124                              $(adaptor_ecore_common_internal_src_files)
125 else
126 adaptor_internal_src_files = $(adaptor_tizen_framework_libuv_src_files)
127 endif
128
129 # COMMON
130 if COMMON_PROFILE
131
132 adaptor_internal_src_files += $(adaptor_common_internal_src_files) \
133                               $(adaptor_common_internal_default_profile_src_files) \
134                               $(adaptor_tizen_internal_src_files) \
135                               $(adaptor_tizen_internal_non_mobile_src_files) \
136                               $(static_libraries_libunibreak_src_files)
137
138 if WAYLAND
139
140 if USE_ECORE_WAYLAND
141 adaptor_internal_src_files += $(adaptor_ecore_wayland_tizen_internal_src_files) \
142                               $(adaptor_ecore_wayland_internal_default_profile_src_files)
143 else
144 adaptor_internal_src_files += $(adaptor_wayland_tizen_internal_src_files)
145 endif # USE_ECORE_WAYLAND
146
147 adaptor_internal_src_files += $(adaptor_tizen_internal_egl_extension_src_files) \
148                               $(adaptor_tizen_internal_native_image_src_files)
149 else
150 adaptor_internal_src_files += $(adaptor_x11_tizen_internal_src_files) \
151                               $(adaptor_common_internal_egl_extension_src_files) \
152                               $(adaptor_x11_internal_default_profile_src_files)
153 endif # WAYLAND
154 endif # COMMON_PROFILE
155
156
157 # UBUNTU
158 if UBUNTU_PROFILE
159
160 adaptor_internal_src_files += $(adaptor_common_internal_src_files) \
161                              $(adaptor_common_internal_default_profile_src_files) \
162                              $(adaptor_ubuntu_internal_src_files) \
163                              $(adaptor_x11_ubuntu_internal_src_files) \
164                              $(adaptor_x11_internal_default_profile_src_files) \
165                              $(static_libraries_libunibreak_src_files) \
166                              $(adaptor_common_internal_egl_extension_src_files)
167
168 endif # UBUNTU_PROFILE
169
170
171 # MOBILE
172 if MOBILE_PROFILE
173
174 adaptor_internal_src_files += $(adaptor_common_internal_src_files) \
175                              $(adaptor_common_internal_mobile_profile_src_files) \
176                              $(adaptor_tizen_internal_src_files) \
177                              $(static_libraries_libunibreak_src_files)
178
179 if WAYLAND
180
181 if USE_ECORE_WAYLAND
182 adaptor_internal_src_files += $(adaptor_ecore_wayland_tizen_internal_src_files)
183 else
184 adaptor_internal_src_files += $(adaptor_wayland_tizen_internal_src_files)
185 endif # USE_ECORE_WAYLAND
186
187 adaptor_internal_src_files += $(adaptor_tizen_internal_egl_extension_src_files) \
188                               $(adaptor_tizen_internal_native_image_src_files) \
189                               $(adaptor_common_internal_wayland_mobile_profile_src_files)
190 else
191 adaptor_internal_src_files += $(adaptor_x11_tizen_internal_src_files) \
192                               $(adaptor_common_internal_egl_extension_src_files) \
193                               $(adaptor_common_internal_x_mobile_profile_src_files)
194 endif # WAYLAND
195
196 endif # MOBILE_PROFILE
197
198 # WEARABLE
199 if WEARABLE_PROFILE
200
201 adaptor_internal_src_files += $(adaptor_common_internal_src_files) \
202                              $(adaptor_common_internal_mobile_profile_src_files) \
203                              $(adaptor_tizen_internal_src_files) \
204                              $(static_libraries_libunibreak_src_files)
205 if WAYLAND
206
207 if USE_ECORE_WAYLAND
208 adaptor_internal_src_files += $(adaptor_ecore_wayland_tizen_internal_src_files)
209 else
210 adaptor_internal_src_files += $(adaptor_wayland_tizen_internal_src_files)
211 endif # USE_ECORE_WAYLAND
212
213 adaptor_internal_src_files += $(adaptor_tizen_internal_egl_extension_src_files) \
214                               $(adaptor_tizen_internal_native_image_src_files) \
215                               $(adaptor_internal_wearable_profile_src_files) \
216                               $(adaptor_common_internal_wayland_mobile_profile_src_files)
217 else
218 adaptor_internal_src_files += $(adaptor_x11_tizen_internal_src_files) \
219                               $(adaptor_common_internal_egl_extension_src_files) \
220                               $(adaptor_common_internal_x_mobile_profile_src_files)
221 endif # WAYLAND
222
223 endif # WEARABLE
224
225
226 # TV
227 if TV_PROFILE
228
229 adaptor_internal_src_files += $(adaptor_common_internal_src_files) \
230                              $(adaptor_common_internal_tv_profile_src_files) \
231                              $(adaptor_tizen_internal_src_files) \
232                              $(adaptor_tizen_internal_non_mobile_src_files) \
233                              $(static_libraries_libunibreak_src_files)
234 if WAYLAND
235
236 if USE_ECORE_WAYLAND
237 adaptor_internal_src_files += $(adaptor_ecore_wayland_tizen_internal_src_files)
238 else
239 adaptor_internal_src_files += $(adaptor_wayland_tizen_internal_src_files)
240 endif # USE_ECORE_WAYLAND
241
242 adaptor_internal_src_files += $(adaptor_tizen_internal_egl_extension_src_files) \
243                               $(adaptor_tizen_internal_native_image_src_files)
244 else
245 adaptor_internal_src_files += $(adaptor_x11_tv_internal_src_files) \
246                               $(adaptor_x11_internal_tv_profile_key_src_files) \
247                               $(adaptor_common_internal_egl_extension_src_files)
248 endif # WAYLAND
249
250 endif
251
252 # IVI
253 if IVI_PROFILE
254
255 adaptor_internal_src_files += $(adaptor_common_internal_src_files) \
256                              $(adaptor_common_internal_mobile_profile_src_files) \
257                              $(adaptor_tizen_internal_src_files) \
258                              $(static_libraries_libunibreak_src_files)
259
260 if WAYLAND
261
262 if USE_ECORE_WAYLAND
263 adaptor_internal_src_files += $(adaptor_ecore_wayland_tizen_internal_src_files)
264 else
265 adaptor_internal_src_files += $(adaptor_wayland_tizen_internal_src_files)
266 endif # USE_ECORE_WAYLAND
267
268 adaptor_internal_src_files += $(adaptor_tizen_internal_egl_extension_src_files) \
269                               $(adaptor_tizen_internal_native_image_src_files)
270 else
271 adaptor_internal_src_files += $(adaptor_x11_tizen_internal_src_files) \
272                               $(adaptor_common_internal_egl_extension_src_files)
273 endif # WAYLAND
274
275 endif # IVI_PROFILE
276
277
278
279 # Node JS support for using an external libuv main loop. If not enabled then just use e-core as normal
280 # Used for things like callbacks, file-monintors, x input handling
281 if LIB_UV_EVENT_LOOP
282 main_loop_integration_src_files = $(adaptor_common_internal_uv_src_files)
283 input_event_handler_src_files = $(adaptor_uv_x_event_handler_internal_src_files)
284 else
285 main_loop_integration_src_files = $(adaptor_common_internal_ecore_src_files)
286 input_event_handler_src_files = $(adaptor_ecore_x_event_handler_internal_src_files)
287 endif
288
289 if ENABLE_VECTOR_BASED_TEXT_RENDERING
290 adaptor_internal_src_files += $(static_libraries_glyphy_src_files)
291 DALI_ADAPTOR_CFLAGS += -DENABLE_VECTOR_BASED_TEXT_RENDERING
292 endif
293
294 pkgconfigdir = $(libdir)/pkgconfig
295 pkgconfig_DATA = dali-adaptor.pc dali-adaptor-integration.pc
296
297 lib_LTLIBRARIES = libdali-adaptor.la
298
299 libdali_adaptor_la_SOURCES = \
300                      $(base_adaptor_src_files) \
301                      $(main_loop_integration_src_files) \
302                      $(tizen_platform_abstraction_src_files) \
303                      $(text_abstraction_src_files) \
304                      $(devel_api_src_files) \
305                      $(public_api_src_files) \
306                      $(adaptor_internal_src_files) \
307                      $(input_event_handler_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
334 if WAYLAND
335 libdali_adaptor_la_includes += -I../../../adaptors/integration-api/wayland
336
337 if USE_ECORE_WAYLAND
338 libdali_adaptor_la_includes += \
339                       -I../../../adaptors/ecore/common \
340                       -I../../../adaptors/ecore/wayland
341 else
342 libdali_adaptor_la_includes += -I../../../adaptors/wayland \
343                                -I../../../adaptors/wayland/input/text/imf \
344                                -I../../../adaptors/wayland/clipboard
345 endif # USE_ECORE_WAYLADN
346
347 libdali_adaptor_la_includes += \
348                       -I../../../adaptors/tizen
349 else
350 libdali_adaptor_la_includes += \
351                       -I../../../adaptors/ecore/common \
352                       -I../../../adaptors/x11 \
353                       -I../../../adaptors/integration-api/x11
354 endif # WAYLAND
355
356 if UBUNTU_PROFILE
357 libdali_adaptor_la_includes += \
358                       -I../../../adaptors/ubuntu
359 else
360 libdali_adaptor_la_includes += \
361                       -I../../../adaptors/tizen
362 endif
363
364 daliDefaultThemeDir  = ${dataReadWriteDir}/theme/
365 daliShaderbinCacheDir = ${dataReadOnlyDir}/core/shaderbin/
366
367 libdali_adaptor_la_CXXFLAGS = \
368                       -DDALI_DATA_RW_DIR="\"${daliReadWriteDir}\"" \
369                       -DDALI_DATA_RO_DIR="\"${daliReadOnlyDir}\"" \
370                       -DDALI_DEFAULT_FONT_CACHE_DIR="\"${daliDefaultFontCacheDir}\"" \
371                       -DDALI_USER_FONT_CACHE_DIR="\"${daliUserFontCacheDir}\"" \
372                       -DDALI_SHADERBIN_DIR="\"${daliShaderbinCacheDir}\"" \
373                       -DDALI_DEFAULT_THEME_DIR="\"${daliDefaultThemeDir}\"" \
374                       -DFONT_PRELOADED_PATH="\"${fontPreloadedPath}\"" \
375                       -DFONT_DOWNLOADED_PATH="\"${fontDownloadedPath}\"" \
376                       -DFONT_APPLICATION_PATH="\"${fontApplicationPath}\"" \
377                       -DFONT_CONFIGURATION_FILE="\"${fontConfigurationFile}\"" \
378                       -DTIZEN_PLATFORM_CONFIG_SUPPORTED=${tizenPlatformConfigSupported} \
379                       -DNON_POWER_OF_TWO_TEXTURES \
380                       -DDALI_COMPILATION -DDALI_ADAPTOR_COMPILATION \
381                       -Werror -Wall -lgcc \
382                       $(libdali_adaptor_la_includes) \
383                       $(DALI_ADAPTOR_CFLAGS) \
384                       $(DALICORE_CFLAGS) \
385                       $(OPENGLES20_CFLAGS) \
386                       $(FREETYPE_CFLAGS) \
387                       $(FONTCONFIG_CFLAGS) \
388                       $(PNG_CFLAGS) \
389                       $(DLOG_CFLAGS) \
390                       $(VCONF_CFLAGS) \
391                       $(EXIF_CFLAGS) \
392                       $(MMFSOUND_CFLAGS) \
393                       $(TTS_CFLAGS) \
394                       $(CAPI_SYSTEM_SENSOR_CFLAGS) \
395                       $(LIBDRM_CFLAGS) \
396                       $(LIBEXIF_CFLAGS) \
397                       $(LIBCURL_CFLAGS) \
398                       $(TPKP_CURL_CFLAGS) \
399                       $(UTILX_CFLAGS)
400
401 # Todo, as soon as common repos are updated on build server remove this.
402 if !COMMON_PROFILE
403 libdali_adaptor_la_CXXFLAGS += -DWAYLAND_EXTENSIONS_SUPPORTED
404 endif
405
406 libdali_adaptor_la_CFLAGS = $(libdali_adaptor_la_CXXFLAGS)
407
408 libdali_adaptor_la_LIBADD = \
409                       $(DALICORE_LIBS) \
410                       $(OPENGLES20_LIBS) \
411                       $(FREETYPE_LIBS) \
412                       $(FONTCONFIG_LIBS) \
413                       $(PNG_LIBS) \
414                       $(DLOG_LIBS) \
415                       $(VCONF_LIBS) \
416                       $(EXIF_LIBS) \
417                       $(TTS_LIBS) \
418                       $(CAPI_SYSTEM_SENSOR_LIBS) \
419                       $(LIBDRM_LIBS) \
420                       $(LIBEXIF_LIBS) \
421                       $(LIBCURL_LIBS) \
422                       $(HARFBUZZ_LIBS) \
423                       $(TPKP_CURL_LIBS) \
424                       $(UTILX_LIBS) \
425                       $(APPCORE_WATCH_LIBS) \
426                       -lgif \
427                       -lpthread \
428                       -lturbojpeg \
429                       -ljpeg
430
431 if USE_EFL
432 # EVAS used indicator
433 libdali_adaptor_la_CXXFLAGS += $(ELEMENTARY_CFLAGS) \
434                                $(EVAS_CFLAGS) \
435                                $(ECORE_CFLAGS) \
436                                $(ECORE_IPC_CFLAGS) \
437                                $(ELDBUS_CFLAGS) \
438                                -DUSE_EFL
439
440
441 libdali_adaptor_la_LIBADD += $(ELEMENTARY_LIBS) \
442                              $(ECORE_IPC_LIBS) \
443                              $(ELDBUS_LIBS)
444
445 endif
446
447 if USE_APPFW
448
449 libdali_adaptor_la_CXXFLAGS += $(CAPI_APPFW_APPLICATION_CFLAGS) \
450                                $(CAPI_SYSTEM_SYSTEM_SETTINGS_CFLAGS) \
451                                $(CAPI_SYSTEM_INFO_CFLAGS) \
452                                $(TTS_CFLAGS) \
453                                $(SENSOR_CFLAGS)
454
455 libdali_adaptor_la_LIBADD += $(CAPI_APPFW_APPLICATION_LIBS) \
456                              $(CAPI_SYSTEM_SYSTEM_SETTINGS_LIBS) \
457                              $(CAPI_SYSTEM_INFO_LIBS) \
458                              $(TTS_LIBS) \
459                              $(SENSOR_LIBS)
460
461 endif
462 if WAYLAND
463 # This is to avoid having to include wayland-egl.h everywhere
464 libdali_adaptor_la_CXXFLAGS += -DWL_EGL_PLATFORM
465 libdali_adaptor_la_CXXFLAGS += $(WAYLAND_CFLAGS)
466 libdali_adaptor_la_LIBADD += $(WAYLAND_LIBS)
467 else
468 libdali_adaptor_la_CXXFLAGS += $(X11_CFLAGS)
469 libdali_adaptor_la_LIBADD += $(X11_LIBS)
470 libdali_adaptor_la_LIBADD += $(ECORE_X_LIBS)
471 endif
472
473 if COMMON_PROFILE
474 libdali_adaptor_la_CXXFLAGS += $(HAPTIC_CFLAGS)
475 endif
476
477 if MOBILE_PROFILE
478 libdali_adaptor_la_CXXFLAGS += \
479                       $(DEVICED_CFLAGS) \
480                       $(EFL_ASSIST_CFLAGS) \
481                       $(NATIVE_BUFFER_CFLAGS) \
482                       $(NATIVE_BUFFER_POOL_CFLAGS)
483
484 libdali_adaptor_la_LIBADD += \
485                       $(EFL_ASSIST_LIBS) \
486                       $(NATIVE_BUFFER_LIBS) \
487                       $(NATIVE_BUFFER_POOL_LIBS)
488 endif
489
490 if WEARABLE_PROFILE
491 libdali_adaptor_la_CXXFLAGS += \
492                       $(HAPTIC_CFLAGS) \
493                       $(EFL_ASSIST_CFLAGS)
494 endif
495
496 if TV_PROFILE
497 libdali_adaptor_la_CXXFLAGS += $(HAPTIC_CFLAGS)
498 libdali_adaptor_la_LIBADD +=
499 endif
500
501 if IVI_PROFILE
502 libdali_adaptor_la_CXXFLAGS += \
503                       $(DEVICED_CFLAGS) \
504                       $(EFL_ASSIST_CFLAGS) \
505                       $(NATIVE_BUFFER_CFLAGS) \
506                       $(NATIVE_BUFFER_POOL_CFLAGS)
507
508 libdali_adaptor_la_LIBADD += \
509                       $(EFL_ASSIST_LIBS) \
510                       $(NATIVE_BUFFER_LIBS) \
511                       $(NATIVE_BUFFER_POOL_LIBS)
512 endif
513
514 if UBUNTU_PROFILE
515 libdali_adaptor_la_LIBADD += -ljpeg
516 CFLAGS += -fPIC
517 endif
518
519 if !UBUNTU_PROFILE
520 if WAYLAND
521 else
522 # X11
523 libdali_adaptor_la_CXXFLAGS += $(UTILX_CFLAGS)
524 libdali_adaptor_la_LIBADD += $(UTILX_LIBS)
525 endif
526 endif
527
528 tizenadaptorpublicapidir = $(devincludepath)/dali/public-api
529 tizenadaptorpublicapi_HEADERS = $(public_api_header_files)
530
531 tizenadaptordevelapidir= $(devincludepath)/dali/devel-api
532
533 tizenadaptorintegrationapidir = $(devincludepath)/dali/integration-api/adaptors
534 tizenadaptorintegrationapi_HEADERS = $(adaptor_integration_api_header_files)
535
536 if WAYLAND
537 tizenadaptorintegrationwaylandapidir = $(devincludepath)/dali/integration-api/adaptors
538 tizenadaptorintegrationwaylandapi_HEADERS = $(adaptor_integration_wayland_api_header_files)
539 tizenadaptorintegrationwaylandapi_HEADERS += $(adaptor_integration_ecore_wayland_api_header_files)
540 else
541 tizenadaptorintegrationx11apidir = $(devincludepath)/dali/integration-api/adaptors
542 tizenadaptorintegrationx11api_HEADERS = $(adaptor_integration_x11_api_header_files)
543 endif
544
545 tizenadaptorframeworkpublicapidir = $(tizenadaptorpublicapidir)/adaptor-framework
546 tizenadaptorframeworkpublicapi_HEADERS = $(public_api_adaptor_framework_header_files)
547
548 tizenadaptorframeworkdevelapidir = $(tizenadaptordevelapidir)/adaptor-framework
549 tizenadaptorframeworkdevelapi_HEADERS = $(devel_api_adaptor_framework_header_files)
550
551 tizentextabstractiondevelapidir = $(tizenadaptordevelapidir)/text-abstraction
552 tizentextabstractiondevelapi_HEADERS = $(text_abstraction_header_files)
553
554 if !UBUNTU_PROFILE
555 tizenadaptorframeworkpublicapi_HEADERS += $(public_api_adaptor_tizen_header_files)
556
557 if !WAYLAND
558 tizenadaptorframeworkdevelapi_HEADERS += $(devel_api_adaptor_tizen_x11_header_files)
559 endif # NOT WAYLAND
560
561 endif # NOT UBUNTU_PROFILE
562
563 tizenadaptordaliheaderdir = $(devincludepath)/dali
564 tizenadaptordaliheader_HEADERS = $(adaptor_dali_header_file)
565
566 if WEARABLE_PROFILE
567 tizenadaptorpublicapi_HEADERS += $(adaptor_dali_wearable_header_file)
568
569 tizenwatchpublicapidir = $(tizenadaptorpublicapidir)/watch
570 tizenwatchpublicapi_HEADERS = $(public_dali_watch_header_files)
571 endif
572
573 install-data-local:
574         $(MKDIR_P) ${DESTDIR}/${daliUserFontCacheDir} ${DESTDIR}/${daliShaderbinCacheDir}
575
576 # Install resource log analyzer script
577 bin_SCRIPTS = ../../../adaptors/scripts/dalireslog.sh
578
579 # package doxygen file (contains doxygen grouping information)
580 packagedoxydir = $(devincludepath)/dali/doc
581 packagedoxy_HEADERS = $(package_doxy_files)
582
583 # linking test
584
585 # turn off the linker test if were building for libuv
586 # We can't link to LibUV becase it is statically linked to Node.JS (by default)
587 if !LIB_UV_EVENT_LOOP
588 noinst_PROGRAMS = linker.test
589 endif # NOT LIB_UV_EVENT_LOOP
590
591 linker_test_SOURCES = linker-test.cpp
592
593 linker_test_CXXFLAGS = \
594   -DDALI_ADAPTOR_COMPILATION \
595   -I../../../adaptors/common \
596   -I../../../adaptors/public-api \
597   -I../../../adaptors/integration-api \
598   -I../../../adaptors/base/interfaces \
599   -I../../../adaptors/public-api/adaptor-framework \
600   -I../../../adaptors/devel-api/adaptor-framework \
601   $(DALI_ADAPTOR_CFLAGS) \
602   $(DALICORE_CFLAGS) \
603   $(VCONF_CFLAGS) \
604   $(DALIX11_CFLAGS) \
605   -Werror -Wall
606
607 if WAYLAND
608 linker_test_CXXFLAGS += \
609   -I../../../adaptors/integration-api/wayland
610 else
611
612 linker_test_CXXFLAGS += \
613   -I../../../adaptors/integration-api/x11
614 endif
615
616
617 linker_test_DEPENDENCIES = libdali-adaptor.la
618 linker_test_LDADD = \
619   $(DALICORE_LIBS) \
620   $(VCONF_LIBS) \
621   libdali-adaptor.la \
622   $(HARFBUZZ_LIBS) \
623   -L${prefix}/lib