diff options
author | Hayato Nakamura <hayato.nakamura@mail.toyota-td.jp> | 2013-10-02 15:47:13 +0900 |
---|---|---|
committer | Hayato Nakamura <hayato.nakamura@mail.toyota-td.jp> | 2013-10-02 15:52:56 +0900 |
commit | fe38ed244eded5fabbaccac488a826b04f18c926 (patch) | |
tree | 1649d0214a84703df68b078b2640a466f799c13b /configure.ac | |
parent | bb3204979f82b5390378fad85496203e0a1803a3 (diff) | |
download | ico-uxf-homescreen-sample-apps-fe38ed244eded5fabbaccac488a826b04f18c926.tar.gz ico-uxf-homescreen-sample-apps-fe38ed244eded5fabbaccac488a826b04f18c926.tar.bz2 ico-uxf-homescreen-sample-apps-fe38ed244eded5fabbaccac488a826b04f18c926.zip |
Leave application vicsample, soundsamples. remove other application.submit/tizen_ivi_release/20131120.032347submit/tizen_ivi_milestone/20131113.054034submit/tizen_ivi_milestone/20131113.053334submit/tizen_ivi_milestone/20131113.052532submit/tizen_ivi_genivi/20140131.070610submit/tizen_ivi_generic/20140131.065430submit/tizen/20131008.011107ivi_oct_m2accepted/tizen_ivi_release/20131120.050057accepted/tizen_ivi_milestone/20131113.054121accepted/tizen_ivi_milestone/20131113.053134accepted/tizen/ivi/genivi/20140131.070549accepted/tizen/20131010.203211accepted/tizen/20131008.163629tizen_ivi_milestonetizen_ivi_genivi
Change-Id: Ibb88a49362fb8e254e10680f3be66127514c72bc
Signed-off-by: Hayato Nakamura <hayato.nakamura@mail.toyota-td.jp>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 37 |
1 files changed, 34 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index d7098ae..1f2fede 100644 --- a/configure.ac +++ b/configure.ac @@ -3,16 +3,49 @@ AC_PREREQ([2.68]) AC_INIT([ico-uxf-HomeScreen-sample-app], [0.0.1], [https://BUG-REPORT-ADDRESS]) -AM_INIT_AUTOMAKE([1.11.1 -Wall -Werror foreign silent-rules]) +AM_INIT_AUTOMAKE([1.11.1 -Wall -Werror foreign no-dist-gzip dist-xz silent-rules]) AC_CONFIG_SRCDIR([ico-app-vicsample/src/vicsample.c]) AC_CONFIG_HEADERS([config.h]) # Checks for programs. AC_PROG_CXX AC_PROG_CC +AM_PROG_CC_C_O AC_PROG_INSTALL # Checks for libraries. +PKG_PROG_PKG_CONFIG() + +PKG_CHECK_MODULES([EINA], [eina]) +PKG_CHECK_MODULES([EVAS], [evas]) +PKG_CHECK_MODULES([ECORE], [ecore]) +PKG_CHECK_MODULES([EDJE], [edje]) +PKG_CHECK_MODULES([ELEM], [elementary]) +PKG_CHECK_MODULES([ECOREWAYLAND], [ecore-wayland]) +EFL_CFLAGS="$EINA_CFLAGS $EVAS_CFLAGS $ECORE_CFLAGS $EDJE_CFLAGS $ELEM_CFLAGS $ECOREWAYLAND_CFLAGS" +EFL_LIBS="$EINA_LIBS $EVAS_LIBS $ECORE_LIBS $EDJE_LIBS $ELEM_LIBS $ECOREWAYLAND_LIBS" +AC_SUBST(EFL_CFLAGS) +AC_SUBST(EFL_LIBS) + +PKG_CHECK_MODULES([AUL], [aul]) +PKG_CHECK_MODULES([BUNDLE], [bundle]) +AUL_CFLAGS="$AUL_CFLAGS $BUNDLE_CFLAGS" +AUL_LIBS="$AUL_LIBS $BUNDLE_CFLAGS" +AC_SUBST(AUL_CFLAGS) +AC_SUBST(AUL_LIBS) + + +if test "x$GCC" = "xyes"; then + my_common_gcc_flags="-Wall -Wextra -Wno-unused-parameter \ +-Wno-missing-field-initializers -g -fvisibility=hidden" + GCC_CFLAGS="$my_common_gcc_flags \ +-Wstrict-prototypes -Wmissing-prototypes" + GCC_CXXFLAGS="-Wall -Wextra -Wno-unused-parameter \ +-Wno-missing-field-initializers -g" +fi + +AC_SUBST(GCC_CFLAGS) +AC_SUBST(GCC_CXXFLAGS) # Checks for header files. AC_CHECK_HEADERS([stddef.h stdlib.h string.h unistd.h]) @@ -28,8 +61,6 @@ AC_FUNC_FORK AC_FUNC_MALLOC AC_CHECK_FUNCS([gettimeofday memset sqrt strcasecmp strncasecmp strtol tzset]) AC_CONFIG_FILES([Makefile - ico-app-samplenavi/src/Makefile ico-app-soundsample/src/Makefile ico-app-vicsample/src/Makefile]) - AC_OUTPUT |