COMMON_LIBS = -lm -lwebsockets -lico-uxf-weston-plugin -lsecurity-server-client
noinst_PROGRAMS = \
- HomeScreen \
- StatusBar
+ HomeScreen
-HomeScreen_SOURCES = \
- home_screen_main.cpp \
- CicoSCAilItems.cpp \
- CicoSCAulItems.cpp \
- CicoSCSystemConfig.cpp \
- CicoSCLifeCycleController.cpp \
- CicoHSWindow.cpp \
- CicoHSWindowController.cpp \
- CicoHSMenuTouch.cpp \
- CicoHomeScreen.cpp \
- CicoHSMenuTile.cpp \
- CicoHSBackWindow.cpp \
- CicoHSControlBarWindow.cpp \
- CicoHSControlBarTouch.cpp \
- CicoHSMenuWindow.cpp \
- CicoHSAppInfo.cpp \
- CicoHomeScreenConfig.cpp \
- CicoHomeScreenResourceConfig.cpp \
- CicoHomeScreenSound.cpp \
- CicoHomeScreenSoundConfig.cpp \
- CicoHSSystemState.cpp \
- CicoHSFlickTouch.cpp \
- CicoHSFlickInputWindow.cpp \
- CicoHSAppHistory.cpp \
- CicoHSAppHistoryExt.cpp \
- Cico_aul_listen_app.cpp
+HomeScreen_SOURCES = \
+ CicoHSEFLApp.cpp \
+ CicoHSCmdOpts.cpp \
+ home_screen_main.cpp \
+ CicoHSLifeCycleController.cpp \
+ CicoHSWindow.cpp \
+ CicoHSWindowController.cpp \
+ CicoHSMenuTouch.cpp \
+ CicoHomeScreen.cpp \
+ CicoHSMenuTile.cpp \
+ CicoHSBackWindow.cpp \
+ CicoHSControlBarWindow.cpp \
+ CicoHSControlBarTouch.cpp \
+ CicoHSMenuWindow.cpp \
+ CicoHSAppInfo.cpp \
+ CicoHSSystemState.cpp \
+ CicoHSSwipeTouch.cpp \
+ CicoHSSwipeInputWindow.cpp \
+ CicoHSAppHistory.cpp \
+ CicoHSAppHistoryExt.cpp \
+ CicoHSCommand.cpp \
+ CicoHSServer.cpp \
+ CicoHSMessage.cpp \
+ CicoHSAppControl.cpp \
+ CicoHSCommandArg.cpp
-HomeScreen_CFLAGS= \
- $(EFL_CFLAGS) \
- $(OPT_CFLAGS) \
- $(WL_CFLAGS) \
- $(AUL_CFLAGS) \
- $(AIL_CFLAGS) \
- $(UWS_CFLAGS) \
- $(PKGMGR_CFLAGS) \
- -I/usr/include/ico-uxf-weston-plugin \
- -I/usr/include/ico-util
-HomeScreen_CXXFLAGS= \
- $(EFL_CFLAGS) \
- $(OPT_CFLAGS) \
- $(WL_CFLAGS) \
- $(AUL_CFLAGS) \
- $(AIL_CFLAGS) \
- $(UWS_CFLAGS) \
- $(PKGMGR_CFLAGS) \
- -I/usr/include/ico-uxf-weston-plugin \
- -I/usr/include/ico-util \
- -I../../include
-HomeScreen_LDADD = \
- $(EFL_LIBS) \
- $(OPT_LIBS) \
- $(WL_LIBS) \
- $(COMMON_LIBS) \
- $(UWS_LIBS) \
- $(AUL_LIBS) \
- $(AIL_LIBS) \
- -lico-util \
- -lico-uxf-weston-plugin \
- /usr/lib/libpkgmgr-client.so \
- ../../lib/apps-framework/.libs/libico-appfw.so
+HomeScreen_CFLAGS= \
+ @CAPIAPPFWAPPLICATION_CFLAGS@ \
+ $(EFL_CFLAGS) \
+ $(OPT_CFLAGS) \
+ $(WL_CFLAGS) \
+ $(AUL_CFLAGS) \
+ $(AIL_CFLAGS) \
+ $(UWS_CFLAGS) \
+ $(PKGMGR_CFLAGS) \
+ $(UWS_CFLAGS) \
+ -I../../include \
+ -I../../lib/common
-#OnScreen_SOURCES = \
-# on_screen.cpp \
-# CicoOnScreenAction.cpp \
-# CicoOnScreenAppList.cpp \
-# CicoOnScreenControlWindow.cpp \
-# CicoOnScreenContext.cpp \
-# CicoHomeScreenConfig.cpp \
-# CicoHomeScreenResourceConfig.cpp \
-# CicoHomeScreenSound.cpp \
-# CicoHomeScreenSoundConfig.cpp
-#OnScreen_CXXFLAGS = -I../include $(EFL_CFLAGS) $(OPT_CFLAGS) $(WL_CFLAGS) $(AUL_CFLAGS) $(UWS_CFLAGS) -I/usr/include/ico-uxf-weston-plugin -I/usr/include/ico-util
-#OnScreen_LDADD = $(EFL_LIBS) $(OPT_LIBS) $(WL_LIBS) $(COMMON_LIBS) $(AUL_LIBS) $(UWS_LIBS) ../apps_controller/libico_syc-apc.a ../ico-app-framework/.libs/libico-app-fw-efl.so ../ico-app-framework/.libs/libico-app-fw.so
+HomeScreen_CXXFLAGS= \
+ @CAPIAPPFWAPPLICATION_CFLAGS@ \
+ $(EFL_CFLAGS) \
+ $(OPT_CFLAGS) \
+ $(WL_CFLAGS) \
+ $(AUL_CFLAGS) \
+ $(AIL_CFLAGS) \
+ $(UWS_CFLAGS) \
+ $(PKGMGR_CFLAGS) \
+ $(UWS_CFLAGS) \
+ -I../../include \
+ -I../../lib/common
-StatusBar_SOURCES = \
- status_bar.cpp \
- CicoStatusBarControlWindow.cpp \
- CicoStatusBarTime.cpp \
- CicoHomeScreenConfig.cpp \
- CicoHomeScreenResourceConfig.cpp \
- CicoHomeScreenSound.cpp \
- CicoHomeScreenSoundConfig.cpp
-StatusBar_CFLAGS = \
- $(EFL_CFLAGS) \
- $(OPT_CFLAGS) \
- $(WL_CFLAGS) \
- $(AUL_CFLAGS) \
- $(UWS_CFLAGS) \
- -I/usr/include/ico-uxf-weston-plugin \
- -I/usr/include/ico-util
-StatusBar_CXXFLAGS = \
- $(EFL_CFLAGS) \
- $(OPT_CFLAGS) \
- $(WL_CFLAGS) \
- $(AUL_CFLAGS) \
- $(UWS_CFLAGS) \
- -I/usr/include/ico-uxf-weston-plugin \
- -I/usr/include/ico-util
-StatusBar_LDADD = \
- $(EFL_LIBS) \
- $(OPT_LIBS) \
- $(WL_LIBS) \
- $(COMMON_LIBS) \
- $(AUL_LIBS) \
- $(UWS_LIBS)
+HomeScreen_LDADD = \
+ ../../lib/common/.libs/libico-common.a \
+ @CAPIAPPFWAPPLICATION_LIBS@ \
+ @PKGMGR_LIBS@ \
+ $(ECOREEVAS_LIBS) \
+ $(EFL_LIBS) \
+ $(OPT_LIBS) \
+ $(WL_LIBS) \
+ $(COMMON_LIBS) \
+ $(UWS_LIBS) \
+ $(AUL_LIBS) \
+ $(AIL_LIBS) \
+ $(UWS_LIBS) \
+ ../../lib/apps-framework/.libs/libico-appfw.so \
+ -lwayland-egl -lEGL -lGLESv2
SUFFIXES = .edc .edj
mkdir -p $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/var
mkdir -p $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/config
mkdir -p $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/images
+ mkdir -p $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/sound
mkdir -p $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/edj
mkdir -p $(INSTALL_ROOT)/usr/share/packages
install -m 0755 HomeScreen $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/bin
install -m 0644 $(top_srcdir)/res/org.tizen.ico.homescreen/res/images/tizen_32.png $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/images
install -m 0644 $(top_srcdir)/data/share/packages/org.tizen.ico.homescreen.xml $(INSTALL_ROOT)/usr/share/packages
install -m 0644 $(top_srcdir)/res/org.tizen.ico.homescreen/res/config/* $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/config
+ install -m 0644 $(top_srcdir)/res/org.tizen.ico.homescreen/res/sound/* $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/sound
cp -r $(top_srcdir)/data/apps/org.tizen.ico.homescreen $(INSTALL_ROOT)/usr/apps/
uninstall:
rm -rf $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen
- rm -f $(INSTALL_ROOT)/usr/share/packages/org.tizen.ico.homescreen
+ rm -f $(INSTALL_ROOT)/usr/share/packages/org.tizen.ico.homescreen.xml