1 # Copyright 2015 Samsung Electronics Co, Ltd. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
10 SET(WIN_PKG "ecore-wayland")
11 ENDIF(WAYLAND_SUPPORT)
13 PKG_CHECK_MODULES(TARGET_RUNTIME_DEPS
17 capi-appfw-application
26 SET(TARGET_RUNTIME_INCS
28 ${TARGET_RUNTIME_DEPS_INCLUDE_DIRS}
32 SET(TARGET_RUNTIME_LIBS
33 ${TARGET_RUNTIME_DEPS_LIBRARIES}
37 SET(TARGET_RUNTIME_SRCS
38 ${BASE_SRCDIR}/runtime/command_line.cc
39 ${BASE_SRCDIR}/runtime/native_window.cc
40 ${BASE_SRCDIR}/runtime/native_app_window.cc
41 ${BASE_SRCDIR}/runtime/web_application.cc
42 ${BASE_SRCDIR}/runtime/runtime.cc
43 ${BASE_SRCDIR}/runtime/web_view.cc
44 ${BASE_SRCDIR}/runtime/vibration_manager.cc
48 SET(TARGET_RUNTIME_CFLAGS
53 SET(TARGET_RUNTIME_LDFLAGS
58 INCLUDE_DIRECTORIES(${TARGET_RUNTIME_INCS})
59 ADD_DEFINITIONS(${TARGET_RUNTIME_CFLAGS})
60 ADD_EXECUTABLE(${TARGET_RUNTIME} ${TARGET_RUNTIME_SRCS})
61 TARGET_LINK_LIBRARIES(${TARGET_RUNTIME}
63 ${TARGET_COMMON_STATIC}
64 "-Wl,--no-whole-archive"
65 ${TARGET_RUNTIME_LIBS}
66 ${TARGET_RUNTIME_LDFLAGS}
70 INSTALL(TARGETS ${TARGET_RUNTIME} DESTINATION bin)
74 OUTPUT ${BASE_SRCDIR}/runtime/wrt.edj
76 ARGS ${BASE_SRCDIR}/runtime/wrt.edc
77 ${BASE_SRCDIR}/runtime/wrt.edj
78 DEPENDS ${BASE_SRCDIR}/runtime/wrt.edc
80 ADD_CUSTOM_TARGET(WRT_EDJE ALL
81 DEPENDS ${BASE_SRCDIR}/runtime/wrt.edj
84 ${BASE_SRCDIR}/runtime/wrt.edj
85 DESTINATION share/edje/wrt/