Notification launch support. (TIVI-2926/1892)
[profile/ivi/ico-uxf-homescreen.git] / src / homescreen / Makefile.am
1 AM_CFLAGS = $(GCC_CFLAGS)
2 AM_CPPFLAGS = $(GCC_CXXFLAGS)
3 AM_CXXFLAGS = $(GCC_CXXFLAGS)
4
5 COMMON_LIBS = -lm -lwebsockets -lico-uxf-weston-plugin -lsecurity-server-client
6
7 noinst_PROGRAMS   = \
8         HomeScreen
9
10 HomeScreen_SOURCES =                                    \
11         CicoHSEFLApp.cpp                                        \
12         CicoHSCmdOpts.cpp                                       \
13         home_screen_main.cpp                            \
14         CicoHSLifeCycleController.cpp           \
15         CicoHSWindow.cpp                                        \
16         CicoHSWindowController.cpp                      \
17         CicoHSMenuTouch.cpp                                     \
18         CicoHomeScreen.cpp                                      \
19         CicoHSMenuTile.cpp                                      \
20         CicoHSBackWindow.cpp                            \
21         CicoHSControlBarWindow.cpp                      \
22         CicoHSControlBarTouch.cpp                       \
23         CicoHSMenuWindow.cpp                            \
24         CicoHSAppInfo.cpp                                       \
25         CicoHSSystemState.cpp                           \
26         CicoHSSwipeTouch.cpp                            \
27         CicoHSSwipeInputWindow.cpp                      \
28         CicoHSAppHistory.cpp                            \
29         CicoHSAppHistoryExt.cpp             \
30     CicoHSCommand.cpp                   \
31     CicoHSServer.cpp                    \
32     CicoHSMessage.cpp                   \
33     CicoHSAppControl.cpp                \
34     CicoHSCommandArg.cpp                 
35
36 HomeScreen_CFLAGS=                                      \
37         @CAPIAPPFWAPPLICATION_CFLAGS@   \
38     $(EFL_CFLAGS)                                       \
39     $(OPT_CFLAGS)                                       \
40     $(WL_CFLAGS)                                        \
41     $(AUL_CFLAGS)                                       \
42     $(AIL_CFLAGS)                                       \
43     $(UWS_CFLAGS)                                       \
44     $(PKGMGR_CFLAGS)                            \
45         $(UWS_CFLAGS)                                   \
46     -I../../include                             \
47     -I../../lib/common
48
49 HomeScreen_CXXFLAGS=                            \
50         @CAPIAPPFWAPPLICATION_CFLAGS@   \
51     $(EFL_CFLAGS)                                       \
52     $(OPT_CFLAGS)                                       \
53     $(WL_CFLAGS)                                        \
54     $(AUL_CFLAGS)                                       \
55     $(AIL_CFLAGS)                                       \
56     $(UWS_CFLAGS)                                       \
57     $(PKGMGR_CFLAGS)                            \
58         $(UWS_CFLAGS)                                   \
59     -I../../include                             \
60     -I../../lib/common
61
62 HomeScreen_LDADD =                                      \
63         ../../lib/common/.libs/libico-common.a                  \
64         @CAPIAPPFWAPPLICATION_LIBS@     \
65         @PKGMGR_LIBS@                                   \
66     $(EFL_LIBS)                                         \
67     $(OPT_LIBS)                                         \
68     $(WL_LIBS)                                          \
69     $(COMMON_LIBS)                                      \
70     $(UWS_LIBS)                                         \
71     $(AUL_LIBS)                                         \
72     $(AIL_LIBS)                                         \
73         $(UWS_LIBS)                                             \
74         ../../lib/apps-framework/.libs/libico-appfw.so  \
75         -lwayland-egl -lEGL -lGLESv2
76
77 SUFFIXES = .edc .edj
78
79 BUILT_SOURCES = \
80         home_screen_bg.edj      \
81         home_screen_touch.edj   \
82         appli_list.edj  \
83         appli_kill.edj
84
85 .edc.edj:
86         edje_cc $< -id ../../res/org.tizen.ico.homescreen/res/images -fd ../../res/org.tizen.ico.homescreen/res/images -sd ../../res/org.tizen.ico.homescreen/res/sounds -o $@
87
88 CLEANFILES = $(BUILT_SOURCES)
89
90 install-exec-hook:
91         mkdir -p $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/bin
92         mkdir -p $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/var
93         mkdir -p $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/config
94         mkdir -p $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/images
95         mkdir -p $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/sound
96         mkdir -p $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/edj
97         mkdir -p $(INSTALL_ROOT)/usr/share/packages
98         install -m 0755 HomeScreen $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/bin
99         install -m 0644 home_screen_bg.edj $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/edj
100         install -m 0644 home_screen_touch.edj $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/edj
101         install -m 0644 $(top_srcdir)/res/org.tizen.ico.homescreen/res/images/bg.png $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/images
102         install -m 0644 $(top_srcdir)/res/org.tizen.ico.homescreen/res/images/ctrl.png $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/images
103         install -m 0644 $(top_srcdir)/res/org.tizen.ico.homescreen/res/images/applist_off.png $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/images
104         install -m 0644 $(top_srcdir)/res/org.tizen.ico.homescreen/res/images/applist_off_2.png $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/images
105         install -m 0644 $(top_srcdir)/res/org.tizen.ico.homescreen/res/images/applist_on.png $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/images
106         install -m 0644 $(top_srcdir)/res/org.tizen.ico.homescreen/res/images/applist_on_2.png $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/images
107         install -m 0644 $(top_srcdir)/res/org.tizen.ico.homescreen/res/images/api_all_off.png $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/images
108         install -m 0644 $(top_srcdir)/res/org.tizen.ico.homescreen/res/images/api_all_on.png $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/images
109         install -m 0644 $(top_srcdir)/res/org.tizen.ico.homescreen/res/images/pagePointer_n.png $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/images
110         install -m 0644 $(top_srcdir)/res/org.tizen.ico.homescreen/res/images/pagePointer_p.png $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/images
111         install -m 0644 $(top_srcdir)/res/org.tizen.ico.homescreen/res/images/pageDownCursor.png $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/images
112         install -m 0644 $(top_srcdir)/res/org.tizen.ico.homescreen/res/images/pageUpCursor.png $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/images
113         install -m 0644 $(top_srcdir)/res/org.tizen.ico.homescreen/res/images/button_really.png $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/images
114         install -m 0644 $(top_srcdir)/res/org.tizen.ico.homescreen/res/images/button_no.png $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/images
115         install -m 0644 $(top_srcdir)/res/org.tizen.ico.homescreen/res/images/button_yes.png $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/images
116         install -m 0644 $(top_srcdir)/res/org.tizen.ico.homescreen/res/images/termIcon.png $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/images
117         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
118         install -m 0644 $(top_srcdir)/data/share/packages/org.tizen.ico.homescreen.xml $(INSTALL_ROOT)/usr/share/packages
119         install -m 0644 $(top_srcdir)/res/org.tizen.ico.homescreen/res/config/* $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/config
120         install -m 0644 $(top_srcdir)/res/org.tizen.ico.homescreen/res/sound/* $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen/res/sound
121         cp -r $(top_srcdir)/data/apps/org.tizen.ico.homescreen $(INSTALL_ROOT)/usr/apps/
122
123 uninstall:
124         rm -rf $(INSTALL_ROOT)/usr/apps/org.tizen.ico.homescreen
125         rm -f $(INSTALL_ROOT)/usr/share/packages/org.tizen.ico.homescreen.xml