Adding logic to handle disconnected modems
[profile/ivi/lemolo.git] / Makefile.am
index 07fda77..279c7e7 100644 (file)
@@ -4,6 +4,7 @@ AM_CFLAGS = \
        -DPACKAGE_DATA_DIR=\"$(pkgdatadir)/\" \
        -DPACKAGE_BIN_DIR=\"$(bindir)\" \
        -DPACKAGE_LIB_DIR=\"$(libdir)\" \
+       -I$(top_srcdir)/utils \
        @EFL_CFLAGS@ \
        @TIZEN_CFLAGS@
 
@@ -22,50 +23,78 @@ MAINTAINERCLEANFILES = \
        mkinstalldirs
 EXTRA_DIST =
 
+noinst_LTLIBRARIES = utils/libofono-efl-utils.la
+
+utils_libofono_efl_utils_la_SOURCES = \
+       utils/contacts-ofono-efl.h \
+       utils/log.h \
+       utils/ofono.c \
+       utils/ofono.h \
+       utils/simple-popup.c \
+       utils/simple-popup.h \
+       utils/util.c \
+       utils/util.h
+utils_libofono_efl_utils_la_LIBADD = \
+       @EFL_LIBS@ \
+       @TIZEN_LIBS@
+
+if HAVE_TIZEN
+utils_libofono_efl_utils_la_SOURCES += utils/contacts.c
+else
+utils_libofono_efl_utils_la_SOURCES += utils/contacts.c
+endif
+
 bin_PROGRAMS = \
        dialer/dialer \
+       messages/messages \
        tizen/answer_daemon
 
-dialer_dialer_LDADD = @EFL_LIBS@ @TIZEN_LIBS@
+dialer_dialer_LDADD = \
+       @EFL_LIBS@ \
+       @TIZEN_LIBS@ \
+       utils/libofono-efl-utils.la
+
 dialer_dialer_SOURCES = \
        dialer/main.c \
-       dialer/log.h \
-       dialer/ofono.c \
-       dialer/ofono.h \
        dialer/rc.c \
        dialer/rc.h \
        dialer/gui.c \
        dialer/gui.h \
        dialer/keypad.c \
        dialer/keypad.h \
-       dialer/contacts.h \
        dialer/history.c \
        dialer/history.h \
        dialer/callscreen.c \
        dialer/callscreen.h \
        dialer/ussd.c \
-       dialer/ussd.h \
-       dialer/simple-popup.c \
-       dialer/simple-popup.h \
-       dialer/util.c \
-       dialer/util.h
+       dialer/ussd.h
+
+messages_messages_LDADD = \
+       @EFL_LIBS@ \
+       @TIZEN_LIBS@ \
+       utils/libofono-efl-utils.la
+
+messages_messages_SOURCES = \
+       messages/main.c \
+       messages/rc.c \
+       messages/rc.h \
+       messages/overview.c \
+       messages/overview.h \
+       messages/gui.c \
+       messages/gui.h \
+       messages/compose.c \
+       messages/compose.h
 
 AM_V_SED = $(am__v_SED_$(V))
 am__v_SED_ = $(am__v_SED_$(AM_DEFAULT_VERBOSITY))
 am__v_SED_0 = @echo "  SED   " $@;
 
-
-if HAVE_TIZEN
-dialer_dialer_SOURCES += dialer/contacts-tizen.c
-else
-dialer_dialer_SOURCES += dialer/contacts.c
-endif
-
 tizen_answer_daemon_SOURCES = tizen/answer_daemon.c
 tizen_answer_daemon_LDADD = @EFL_LIBS@ @TIZEN_LIBS@
 
 if HAVE_TIZEN
 bin_PROGRAMS += \
+       tizen/message_daemon \
        tizen/dialer_open \
        tizen/dialer_daemon
 
@@ -75,6 +104,9 @@ tizen_dialer_open_LDADD = @EFL_LIBS@ @TIZEN_LIBS@
 tizen_dialer_daemon_SOURCES = tizen/dialer_daemon.c
 tizen_dialer_daemon_LDADD = @EFL_LIBS@ @TIZEN_LIBS@
 
+tizen_message_daemon_SOURCES = tizen/message_daemon.c
+tizen_message_daemon_LDADD = @EFL_LIBS@ @TIZEN_LIBS@ utils/libofono-efl-utils.la
+
 %.service: %.service.in Makefile
        sed 's:@bindir[@]:$(bindir):g' $< > $@
 
@@ -85,21 +117,24 @@ tizen/org.tizen.dialer.service
 EXTRA_DIST += \
 tizen/org.tizen.dialer.service.in
 
+desktopicondir = @with_desktopicondir@
+desktopicon_DATA = org.tizen.dialer.png
+
 %.desktop: %.desktop.in Makefile
        $(AM_V_SED)sed 's:@bindir[@]:$(bindir):g' $< > $@
 
+if HAVE_TIZEN
+desktopdir = /usr/share/packages
+desktop_DATA = \
+org.tizen.dialer.xml
+else
 desktopdir = @with_desktopdir@
 desktop_DATA = \
-tizen/answer_daemon.desktop \
-tizen/dialer.desktop \
-tizen/org.tizen.call.desktop \
-tizen/org.tizen.phone.desktop
+tizen/org.tizen.dialer.desktop
+endif
 
 EXTRA_DIST += \
-tizen/answer_daemon.desktop.in \
-tizen/dialer.desktop.in \
-tizen/org.tizen.call.desktop.in \
-tizen/org.tizen.phone.desktop.in
+tizen/org.tizen.dialer.desktop.in
 
 
 tizen/order: tizen/order.in Makefile
@@ -135,14 +170,17 @@ am__v_EDJ_ = $(am__v_EDJ_$(AM_DEFAULT_VERBOSITY))
 am__v_EDJ_0 = @echo "  EDJ   " $@;
 
 THEME_IMAGES = \
-data/themes/images/bg_call.jpg \
-data/themes/images/arrow_right.png \
 data/themes/images/arrow_left.png \
+data/themes/images/arrow_right.png \
+data/themes/images/bg_call.jpg \
+data/themes/images/bg_chat_incoming.png \
+data/themes/images/bg_chat_outgoing.png \
 data/themes/images/bg_keypad.jpg \
 data/themes/images/ico_add_call.png \
 data/themes/images/ico_add_contact.png \
 data/themes/images/ico_arrow_right.png \
 data/themes/images/ico_backspace.png \
+data/themes/images/ico_ball.png \
 data/themes/images/ico_call.png \
 data/themes/images/ico_contacts.png \
 data/themes/images/ico_del.png \
@@ -150,11 +188,13 @@ data/themes/images/ico_edit.png \
 data/themes/images/ico_history.png \
 data/themes/images/ico_keypad.png \
 data/themes/images/ico_merge.png \
+data/themes/images/ico_msg_delivered.png \
 data/themes/images/ico_multiparty.png \
 data/themes/images/ico_multiparty_hangup.png \
 data/themes/images/ico_multiparty_private.png \
 data/themes/images/ico_mute.png \
 data/themes/images/ico_person.png \
+data/themes/images/ico_quit.png \
 data/themes/images/ico_speaker.png \
 data/themes/images/ico_swap.png \
 data/themes/images/ico_voicemail.png \
@@ -173,12 +213,16 @@ data/themes/includes/answer_screen.edc \
 data/themes/includes/buttons.edc \
 data/themes/includes/call.edc \
 data/themes/includes/colors.edc \
+data/themes/includes/compose.edc \
 data/themes/includes/contacts-bg.edc \
 data/themes/includes/contacts.edc \
+data/themes/includes/dialer.edc \
 data/themes/includes/history-bg.edc \
 data/themes/includes/history.edc \
 data/themes/includes/keypad.edc \
-data/themes/includes/main.edc \
+data/themes/includes/messages-overview-list.edc \
+data/themes/includes/messages-overview.edc \
+data/themes/includes/messages.edc \
 data/themes/includes/multiparty-list.edc \
 data/themes/includes/popup.edc \
 data/themes/includes/scroller.edc