remove unused images.
[profile/ivi/lemolo.git] / Makefile.am
1 ACLOCAL_AMFLAGS = -I m4
2 AM_MAKEFLAGS = --no-print-directory
3 AM_CFLAGS = \
4         -DPACKAGE_DATA_DIR=\"$(pkgdatadir)/\" \
5         -DPACKAGE_BIN_DIR=\"$(bindir)\" \
6         -DPACKAGE_LIB_DIR=\"$(libdir)\" \
7         @EFL_CFLAGS@
8
9 MAINTAINERCLEANFILES = \
10         aclocal.m4 \
11         compile \
12         config.guess \
13         config.h.in \
14         config.sub \
15         configure \
16         depcomp \
17         install-sh \
18         ltmain.sh \
19         Makefile.in \
20         missing \
21         mkinstalldirs
22
23 bin_PROGRAMS = dialer/dialer
24
25 dialer_dialer_LDADD = @EFL_LIBS@
26 dialer_dialer_SOURCES = \
27         dialer/main.c \
28         dialer/log.h \
29         dialer/ofono.c \
30         dialer/ofono.h \
31         dialer/rc.c \
32         dialer/rc.h \
33         dialer/gui.c \
34         dialer/gui.h \
35         dialer/keypad.c \
36         dialer/keypad.h \
37         dialer/contacts.c \
38         dialer/contacts.h \
39         dialer/history.c \
40         dialer/history.h \
41         dialer/callscreen.c \
42         dialer/callscreen.h \
43         dialer/util.c \
44         dialer/util.h
45
46 # Themes are compiled with edje_cc given by user (cross-compile)
47 EDJE_CC = @edje_cc@
48 EDJE_FLAGS_VERBOSE_ =
49 EDJE_FLAGS_VERBOSE_0 =
50 EDJE_FLAGS_VERBOSE_1 = -v
51 EDJE_FLAGS = $(EDJE_FLAGS_VERBOSE_$(V)) -id $(top_srcdir)/data/themes/images -fd $(top_srcdir)/data/fonts
52
53 filesdir = $(pkgdatadir)/themes
54 files_DATA = \
55 data/themes/default.edj \
56 data/themes/default-sd.edj
57
58 AM_V_EDJ = $(am__v_EDJ_$(V))
59 am__v_EDJ_ = $(am__v_EDJ_$(AM_DEFAULT_VERBOSITY))
60 am__v_EDJ_0 = @echo "  EDJ   " $@;
61
62 THEME_IMAGES = \
63 data/themes/images/bg_call.jpg \
64 data/themes/images/bg_keypad.jpg \
65 data/themes/images/bt_add_call_pressed.png \
66 data/themes/images/bt_add_call_released.png \
67 data/themes/images/bt_add_contact_pressed.png \
68 data/themes/images/bt_add_contact_released.png \
69 data/themes/images/bt_arrow_right.png \
70 data/themes/images/bt_backspace_pressed.png \
71 data/themes/images/bt_backspace_released.png \
72 data/themes/images/bt_call_pressed.png \
73 data/themes/images/bt_call_released.png \
74 data/themes/images/bt_contacts_pressed.png \
75 data/themes/images/bt_contacts_released.png \
76 data/themes/images/bt_del.png \
77 data/themes/images/bt_edit.png \
78 data/themes/images/bt_history_pressed.png \
79 data/themes/images/bt_history_released.png \
80 data/themes/images/bt_keypad_pressed.png \
81 data/themes/images/bt_keypad_released.png \
82 data/themes/images/bt_merge_pressed.png \
83 data/themes/images/bt_merge_released.png \
84 data/themes/images/bt_multiparty_hangup.png \
85 data/themes/images/bt_multiparty_pressed.png \
86 data/themes/images/bt_multiparty_private.png \
87 data/themes/images/bt_multiparty_released.png \
88 data/themes/images/bt_mute_pressed.png \
89 data/themes/images/bt_mute_released.png \
90 data/themes/images/bt_speaker_pressed.png \
91 data/themes/images/bt_speaker_released.png \
92 data/themes/images/bt_swap_pressed.png \
93 data/themes/images/bt_swap_released.png \
94 data/themes/images/person.png
95
96 THEME_INCLUDES = \
97 data/themes/includes/call.edc \
98 data/themes/includes/colors.edc \
99 data/themes/includes/contacts-bg.edc \
100 data/themes/includes/contacts.edc \
101 data/themes/includes/history-bg.edc \
102 data/themes/includes/history.edc \
103 data/themes/includes/keypad.edc \
104 data/themes/includes/main.edc \
105 data/themes/includes/multiparty-list.edc \
106 data/themes/includes/scroller.edc
107
108
109 EXTRA_DIST = \
110 data/themes/default-hd.edc \
111 data/themes/default-sd.edc \
112 data/themes/default.edc \
113 $(THEME_INCLUDES) $(THEME_IMAGES)
114
115
116 data/themes/default.edj: $(top_builddir)/Makefile $(top_srcdir)/data/themes/default.edc $(top_srcdir)/data/themes/default-hd.edc $(THEME_INCLUDES) $(THEME_IMAGES)
117         $(MKDIR_P) $(top_builddir)/data/themes
118         $(AM_V_EDJ)$(EDJE_CC) $(EDJE_FLAGS) \
119         $(top_srcdir)/data/themes/default-hd.edc \
120         $(top_builddir)/data/themes/default.edj
121
122 data/themes/default-sd.edj: $(top_builddir)/Makefile $(top_srcdir)/data/themes/default.edc $(top_srcdir)/data/themes/default-sd.edc $(THEME_INCLUDES) $(THEME_IMAGES)
123         $(MKDIR_P) $(top_builddir)/data/themes
124         $(AM_V_EDJ)$(EDJE_CC) $(EDJE_FLAGS) \
125         $(top_srcdir)/data/themes/default-sd.edc \
126         $(top_builddir)/data/themes/default-sd.edj
127
128 clean-local:
129         rm -f $(top_builddir)/data/themes/default.edj
130         rm -f $(top_builddir)/data/themes/default-sd.edj
131
132 examplesdir = $(pkgdatadir)/examples
133 examples_DATA = \
134 data/examples/contacts.csv
135
136 scriptsdir = $(pkgdatadir)/scripts
137 scripts_SCRIPTS = \
138 data/scripts/ofono-efl-contacts-db-create.py
139
140 EXTRA_DIST += $(examples_DATA) $(scripts_SCRIPTS)