X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=build%2Fslp%2Fconfigure.ac;h=d8b0656acb49dc8ba89fe770108992ec0c013cfb;hb=refs%2Fchanges%2F10%2F24210%2F1;hp=1d684d45827cfe266e6b464d21a26d0ee890572c;hpb=e58fa784d19a558e35f458ecf6d262a2344beb4f;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/build/slp/configure.ac b/build/slp/configure.ac index 1d684d4..d8b0656 100644 --- a/build/slp/configure.ac +++ b/build/slp/configure.ac @@ -1,14 +1,14 @@ # # Copyright (c) 2014 Samsung Electronics Co., Ltd. # -# Licensed under the Flora License, Version 1.0 (the License); +# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# http://floralicense.org/license/ +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an AS IS BASIS, +# distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. @@ -16,7 +16,7 @@ m4_define([dali_version],[0.1.0]) AC_INIT([dali], [dali_version]) -AM_INIT_AUTOMAKE([-Wall -Werror foreign]) +AM_INIT_AUTOMAKE([-Wall foreign]) AC_PROG_CXX AC_PROG_LIBTOOL @@ -55,6 +55,16 @@ if test "x$enable_debug" = "xno" -a "x$enable_exportall" = "xno"; then DALI_TOOLKIT_CFLAGS="$DALI_TOOLKIT_CFLAGS -fvisibility=hidden -DHIDE_DALI_INTERNALS" fi +# Tizen Profile options +AC_ARG_ENABLE([profile], + [AC_HELP_STRING([--enable-profile=COMMON,MOBILE,LITE,WEARABLE,TV], + [Select the variant of tizen])], + [dali_profile=$enableval], + [dali_profile=COMMON]) + +# Different platforms use either the full Toolkit or the basic version +# The basic version excludes components under dali-toolkit/optional +AM_CONDITIONAL([TOOLKIT_BASIC_VERSION], [test x$dali_profile = xLITE]) if test x$DALI_DATA_RW_DIR != x; then dataReadWriteDir=${DALI_DATA_RW_DIR}/ @@ -80,7 +90,6 @@ AC_SUBST(devincludepath) AC_CONFIG_FILES([ Makefile dali-toolkit/Makefile - dali-toolkit-base/Makefile dali-toolkit.pc ]) @@ -91,6 +100,7 @@ Configuration ------------- Prefix: $prefix Debug Build: $enable_debug + Profile: $dali_profile Data Dir (Read/Write): $dataReadWriteDir Data Dir (Read Only): $dataReadOnlyDir "