cxx: Added examples and tutorial for C++ binding
[platform/upstream/elementary.git] / src / lib / Makefile.am
1 AUTOMAKE_OPTIONS     = 1.4 foreign
2 MAINTAINERCLEANFILES = Makefile.in
3
4 CLEANFILES=
5
6 EOLIAN_FLAGS = @DEPS_EOLIAN_FLAGS@ \
7                -I$(top_srcdir)/src/lib
8
9 include $(top_srcdir)/Makefile_Eolian_Helper.am
10 include $(top_srcdir)/Makefile_Eolian_Cxx_Helper.am
11
12 AM_CPPFLAGS = \
13 -DELM_INTERNAL_API_ARGESFSDFEFC=1 \
14 -DMODULES_PATH=\"$(pkglibdir)/modules\" \
15 -I. \
16 -I$(top_builddir) \
17 -I$(top_srcdir) \
18 -I$(top_srcdir)/src/imported \
19 -I$(top_srcdir)/src/lib \
20 -I$(top_builddir)/src/lib \
21 -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" \
22 -DLOCALE_DIR=\"$(localedir)\" \
23 -DPACKAGE_LIB_DIR=\"$(libdir)\" \
24 -DICON_DIR=\"$(datadir)/icons\" \
25 -DELM_TOP_BUILD_DIR=\"$(top_builddir)\" \
26 -DELEMENTARY_BUILD \
27 @ELEMENTARY_CFLAGS@
28
29 lib_LTLIBRARIES = libelementary.la
30
31 includes_HEADERS = \
32 Elementary.h \
33 Elementary_Cursor.h
34 includesdir = $(includedir)/elementary-@VMAJ@
35
36 includesunstable_HEADERS = \
37 elm_gen_common.h \
38 elm_atspi_bridge.h \
39 elm_interface_atspi_accessible.h \
40 elm_interface_atspi_text.h \
41 elm_interface_atspi_widget_action.h \
42 elm_interface_fileselector.h \
43 elm_interface_scrollable.h \
44 elm_interfaces.h \
45 elm_widget.h \
46 elm_widget_actionslider.h \
47 elm_widget_bg.h \
48 elm_widget_box.h \
49 elm_widget_bubble.h \
50 elm_widget_button.h \
51 elm_widget_calendar.h \
52 elm_widget_check.h \
53 elm_widget_clock.h \
54 elm_widget_colorselector.h \
55 elm_widget_conform.h \
56 elm_widget_container.h \
57 elm_widget_ctxpopup.h \
58 elm_widget_datetime.h \
59 elm_widget_dayselector.h \
60 elm_widget_diskselector.h \
61 elm_widget_entry.h \
62 elm_widget_fileselector.h \
63 elm_widget_fileselector_button.h \
64 elm_widget_fileselector_entry.h \
65 elm_widget_flip.h \
66 elm_widget_flipselector.h \
67 elm_widget_frame.h \
68 elm_widget_gengrid.h \
69 elm_widget_genlist.h \
70 elm_widget_glview.h \
71 elm_widget_grid.h \
72 elm_widget_hover.h \
73 elm_widget_hoversel.h \
74 elm_widget_icon.h \
75 elm_widget_image.h \
76 elm_widget_index.h \
77 elm_widget_inwin.h \
78 elm_widget_label.h \
79 elm_widget_layout.h \
80 elm_widget_list.h \
81 elm_widget_map.h \
82 elm_widget_mapbuf.h \
83 elm_widget_menu.h \
84 elm_widget_multibuttonentry.h \
85 elm_widget_naviframe.h \
86 elm_widget_notify.h \
87 elm_widget_panel.h \
88 elm_widget_panes.h \
89 elm_widget_photo.h \
90 elm_widget_photocam.h \
91 elm_widget_player.h \
92 elm_widget_plug.h \
93 elm_widget_popup.h \
94 elm_widget_prefs.h \
95 elm_widget_progressbar.h \
96 elm_widget_radio.h \
97 elm_widget_route.h \
98 elm_widget_scroller.h \
99 elm_widget_segment_control.h \
100 elm_widget_separator.h \
101 elm_widget_slider.h \
102 elm_widget_slideshow.h \
103 elm_widget_spinner.h \
104 elm_widget_table.h \
105 elm_widget_thumb.h \
106 elm_widget_toolbar.h \
107 elm_widget_video.h \
108 elm_widget_web.h
109 includesunstabledir = $(includedir)/elementary-@VMAJ@
110
111 includesub_HEADERS = \
112 elc_ctxpopup.h \
113 elc_ctxpopup_eo.h \
114 elc_ctxpopup_legacy.h \
115 elc_fileselector.h \
116 elc_fileselector_eo.h \
117 elc_fileselector_legacy.h \
118 elc_fileselector_common.h \
119 elc_fileselector_button.h \
120 elc_fileselector_button_eo.h \
121 elc_fileselector_button_legacy.h \
122 elc_fileselector_entry.h \
123 elc_fileselector_entry_eo.h \
124 elc_fileselector_entry_legacy.h \
125 elc_hoversel.h \
126 elc_hoversel_eo.h \
127 elc_hoversel_legacy.h \
128 elc_multibuttonentry.h \
129 elc_multibuttonentry_eo.h \
130 elc_multibuttonentry_legacy.h \
131 elc_multibuttonentry_common.h \
132 elc_naviframe.h \
133 elc_naviframe_eo.h \
134 elc_naviframe_legacy.h \
135 elc_naviframe_common.h \
136 elc_popup.h \
137 elc_popup_eo.h \
138 elc_popup_legacy.h \
139 elm_access.h \
140 elm_actionslider.h \
141 elm_actionslider_eo.h \
142 elm_actionslider_legacy.h \
143 elm_app_common.h \
144 elm_app_server_eo.h \
145 elm_app_server_view_eo.h \
146 elm_app_server_view.h \
147 elm_app_server_eet.h \
148 elm_app_server.h \
149 elm_app_client_eo.h \
150 elm_app_client.h \
151 elm_app_client_view_eo.h \
152 elm_app_client_view.h \
153 elm_app.h \
154 elm_atspi_app_object.h \
155 elm_authors.h \
156 elm_bg.h \
157 elm_bg_eo.h \
158 elm_bg_legacy.h \
159 elm_box.h \
160 elm_box_eo.h \
161 elm_box_legacy.h \
162 elm_box_common.h \
163 elm_bubble.h \
164 elm_bubble_eo.h \
165 elm_bubble_legacy.h \
166 elm_button.h \
167 elm_button_eo.h \
168 elm_button_legacy.h \
169 elm_cache.h \
170 elm_calendar.h \
171 elm_calendar_eo.h \
172 elm_calendar_legacy.h \
173 elm_calendar_common.h \
174 elm_check.h \
175 elm_check_eo.h \
176 elm_check_legacy.h \
177 elm_clock.h \
178 elm_clock_eo.h \
179 elm_clock_legacy.h \
180 elm_cnp.h \
181 elm_colorselector.h \
182 elm_colorselector_eo.h \
183 elm_colorselector_legacy.h \
184 elm_colorselector_common.h \
185 elm_color_class.h \
186 elm_config.h \
187 elm_conform.h \
188 elm_conform_eo.h \
189 elm_conform_legacy.h \
190 elm_container.h \
191 elm_cursor.h \
192 elm_datetime.h \
193 elm_datetime_common.h \
194 elm_datetime_eo.h \
195 elm_datetime_legacy.h \
196 elm_dayselector.h \
197 elm_dayselector_eo.h \
198 elm_dayselector_legacy.h \
199 elm_debug.h \
200 elm_deprecated.h \
201 elm_diskselector.h \
202 elm_diskselector_common.h \
203 elm_diskselector_eo.h \
204 elm_diskselector_legacy.h \
205 elm_entry.h \
206 elm_entry_common.h \
207 elm_entry_eo.h \
208 elm_entry_legacy.h \
209 elm_finger.h \
210 elm_flip.h \
211 elm_flip_eo.h \
212 elm_flip_legacy.h \
213 elm_flipselector.h \
214 elm_flipselector_eo.h \
215 elm_flipselector_legacy.h \
216 elm_focus.h \
217 elm_font.h \
218 elm_frame.h \
219 elm_frame_eo.h \
220 elm_frame_legacy.h \
221 elm_gen.h \
222 elm_general.h \
223 elm_gengrid.h \
224 elm_gengrid_common.h \
225 elm_gengrid_eo.h \
226 elm_gengrid_legacy.h \
227 elm_genlist.h \
228 elm_genlist_common.h \
229 elm_genlist_eo.h \
230 elm_genlist_legacy.h \
231 elm_gesture_layer.h \
232 elm_gesture_layer_common.h \
233 elm_gesture_layer_eo.h \
234 elm_gesture_layer_legacy.h \
235 elm_getting_started.h \
236 elm_glview.h \
237 elm_glview_common.h \
238 elm_glview_eo.h \
239 elm_glview_legacy.h \
240 elm_grid.h \
241 elm_grid_eo.h \
242 elm_grid_legacy.h \
243 elm_hover.h \
244 elm_hover_eo.h \
245 elm_hover_legacy.h \
246 elm_icon.h \
247 elm_icon_eo.h \
248 elm_icon_legacy.h \
249 elm_image.h \
250 elm_image_common.h \
251 elm_image_eo.h \
252 elm_image_legacy.h \
253 elm_index.h \
254 elm_index_eo.h \
255 elm_index_legacy.h \
256 elm_intro.h \
257 elm_inwin.h \
258 elm_inwin_eo.h \
259 elm_inwin_legacy.h \
260 elm_label.h \
261 elm_label_eo.h \
262 elm_label_legacy.h \
263 elm_layout.h \
264 elm_layout_common.h \
265 elm_layout_eo.h \
266 elm_layout_legacy.h \
267 elm_list.h \
268 elm_list_eo.h \
269 elm_list_legacy.h \
270 elm_macros.h \
271 elm_map.h \
272 elm_map_common.h \
273 elm_map_eo.h \
274 elm_map_legacy.h \
275 elm_mapbuf.h \
276 elm_mapbuf_eo.h \
277 elm_mapbuf_legacy.h \
278 elm_menu.h \
279 elm_menu_eo.h \
280 elm_menu_legacy.h \
281 elm_mirroring.h \
282 elm_need.h \
283 elm_notify.h \
284 elm_notify_common.h \
285 elm_notify_eo.h \
286 elm_notify_legacy.h \
287 elm_object.h \
288 elm_object_item.h \
289 elm_panel.h \
290 elm_panel_common.h \
291 elm_panel_eo.h \
292 elm_panel_legacy.h \
293 elm_panes.h \
294 elm_panes_eo.h \
295 elm_panes_legacy.h \
296 elm_photo.h \
297 elm_photo_eo.h \
298 elm_photo_legacy.h \
299 elm_photocam.h \
300 elm_photocam_eo.h \
301 elm_photocam_legacy.h \
302 elm_plug.h \
303 elm_plug_eo.h \
304 elm_plug_legacy.h \
305 elm_prefs.h \
306 elm_prefs_common.h \
307 elm_prefs_eo.h \
308 elm_prefs_legacy.h \
309 elm_prefs_data.h \
310 elm_progressbar.h \
311 elm_progressbar_common.h \
312 elm_progressbar_eo.h \
313 elm_progressbar_legacy.h \
314 elm_radio.h \
315 elm_radio_eo.h \
316 elm_radio_legacy.h \
317 elm_route.h \
318 elm_route_eo.h \
319 elm_route_legacy.h \
320 elm_scale.h \
321 elm_scroll.h \
322 elm_scroller.h \
323 elm_scroller_eo.h \
324 elm_scroller_legacy.h \
325 elm_segment_control.h \
326 elm_segment_control_eo.h \
327 elm_segment_control_legacy.h \
328 elm_separator.h \
329 elm_separator_eo.h \
330 elm_separator_legacy.h \
331 elm_slider.h \
332 elm_slider_common.h \
333 elm_slider_eo.h \
334 elm_slider_legacy.h \
335 elm_slideshow.h \
336 elm_slideshow_common.h \
337 elm_slideshow_eo.h \
338 elm_slideshow_legacy.h \
339 elm_spinner.h \
340 elm_spinner_eo.h \
341 elm_spinner_legacy.h \
342 elm_store.h \
343 elm_systray.h \
344 elm_systray_eo.h \
345 elm_systray_common.h \
346 elm_systray_watcher.h \
347 elm_sys_notify.h \
348 elm_table.h \
349 elm_table_eo.h \
350 elm_table_legacy.h \
351 elm_theme.h \
352 elm_thumb.h \
353 elm_thumb_common.h \
354 elm_thumb_eo.h \
355 elm_thumb_legacy.h \
356 elm_toolbar.h \
357 elm_toolbar_common.h \
358 elm_toolbar_eo.h \
359 elm_toolbar_legacy.h \
360 elm_tooltip.h \
361 elm_transit.h \
362 elm_video.h \
363 elm_video_eo.h \
364 elm_video_legacy.h \
365 elm_view_list.h \
366 elm_view_form.h \
367 elm_web.h \
368 elm_web_common.h \
369 elm_web_eo.h \
370 elm_web_legacy.h \
371 elm_win.h \
372 elm_win_common.h \
373 elm_win_eo.h \
374 elm_win_legacy.h \
375 elm_win_standard.h \
376 elm_win_standard.eo.h \
377 elm_helper.h
378 includesubdir = $(includedir)/elementary-@VMAJ@/
379
380 COLORCLASS_GEN = \
381 eldbus_elementary_colorclass.c \
382 eldbus_elementary_colorclass.h \
383 eldbus_utils.h
384
385 libelementary_la_SOURCES = \
386 elm_priv.h \
387 els_box.h \
388 elc_ctxpopup.c \
389 elc_fileselector.c \
390 elc_fileselector_button.c \
391 elc_fileselector_entry.c \
392 elc_hoversel.c \
393 elc_multibuttonentry.c \
394 elc_naviframe.c \
395 elc_player.c \
396 elc_popup.c \
397 elc_scrolled_entry.c \
398 elm_access.c \
399 elm_actionslider.c \
400 elm_app_common.c \
401 elm_app_server_eet.c \
402 elm_app_server.c \
403 elm_app_server_view.c \
404 elm_app_client.c \
405 elm_app_client_view.c \
406 elm_atspi_app_object.c \
407 elm_atspi_bridge.c \
408 elm_bg.c \
409 elm_box.c \
410 elm_bubble.c \
411 elm_button.c \
412 elm_calendar.c \
413 elm_check.c \
414 elm_clock.c \
415 elm_cnp.c \
416 elm_colorselector.c \
417 elm_color_class.c \
418 elm_config.c \
419 elm_conform.c \
420 elm_container.c \
421 elm_datetime.c \
422 elm_dayselector.c \
423 elm_dbus_menu.c \
424 elm_diskselector.c \
425 elm_entry.c \
426 elm_flip.c \
427 elm_flipselector.c \
428 elm_font.c \
429 elm_frame.c \
430 elm_gengrid.c \
431 elm_genlist.c \
432 elm_gesture_layer.c \
433 elm_gesture_layer_extra_gestures.c \
434 elm_glview.c \
435 elm_grid.c \
436 elm_hover.c \
437 elm_icon.c \
438 elm_image.c \
439 elm_index.c \
440 elm_interface_atspi_accessible.c \
441 elm_interface_atspi_action.c \
442 elm_interface_atspi_component.c \
443 elm_interface_atspi_editable_text.c \
444 elm_interface_atspi_image.c \
445 elm_interface_atspi_selection.c \
446 elm_interface_atspi_text.c \
447 elm_interface_atspi_value.c \
448 elm_interface_atspi_widget_action.c \
449 elm_interface_atspi_window.c \
450 elm_interface_fileselector.c \
451 elm_interface_scrollable.c \
452 elm_inwin.c \
453 elm_label.c \
454 elm_layout.c \
455 elm_list.c \
456 elm_main.c \
457 elm_map.c \
458 elm_mapbuf.c \
459 elm_menu.c \
460 elm_module.c \
461 elm_notify.c \
462 elm_panel.c \
463 elm_panes.c \
464 elm_photo.c \
465 elm_photocam.c \
466 elm_plug.c \
467 elm_prefs.c \
468 elm_prefs_data.c \
469 elm_prefs_edd.x \
470 elm_progressbar.c \
471 elm_radio.c \
472 elm_route.c \
473 elm_scroller.c \
474 elm_segment_control.c \
475 elm_separator.c \
476 elm_slider.c \
477 elm_slideshow.c \
478 elm_spinner.c \
479 elm_store.c \
480 elm_systray.c \
481 elm_systray_watcher.c \
482 elm_sys_notify.c \
483 elm_table.c \
484 elm_theme.c \
485 elm_thumb.c \
486 elm_toolbar.c \
487 elm_transit.c \
488 elm_util.c \
489 elm_url.c \
490 elm_video.c \
491 elm_view_list.c \
492 elm_view_form.c \
493 elm_web2.c \
494 elm_widget.c \
495 elm_win.c \
496 elm_win_standard.c \
497 elm_helper.c \
498 els_box.c \
499 els_cursor.c \
500 els_tooltip.c \
501 elu_ews_wm.c \
502 $(COLORCLASS_GEN)
503
504 libelementary_la_CFLAGS = @ELEMENTARY_CFLAGS@
505 libelementary_la_LIBADD = \
506 @ELEMENTARY_LIBS@ \
507 @LTLIBINTL@
508
509 libelementary_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
510
511 EXTRA_DIST = \
512 elm_color_class.xml \
513 elm_factory.h \
514 elm_factory.c \
515 elm_intro.h.in
516
517 $(COLORCLASS_GEN): elm_color_class.xml
518         @cd $(top_builddir)/src/lib && \
519         @eldbus_codegen@ $(abs_top_srcdir)/src/lib/elm_color_class.xml
520 elm_color_class.c: $(COLORCLASS_GEN)
521
522
523 elm_eolian_files = \
524 elm_access.eo \
525 elm_actionslider.eo \
526 elm_atspi_bridge.eo \
527 elm_app_client.eo \
528 elm_app_client_view.eo \
529 elm_app_server.eo \
530 elm_app_server_view.eo \
531 elm_atspi_app_object.eo \
532 elm_bg.eo \
533 elm_box.eo \
534 elm_bubble.eo \
535 elm_button.eo \
536 elm_calendar.eo \
537 elm_check.eo \
538 elm_clock.eo \
539 elm_colorselector.eo \
540 elm_conformant.eo \
541 elm_container.eo \
542 elm_ctxpopup.eo \
543 elm_datetime.eo \
544 elm_dayselector.eo \
545 elm_diskselector.eo \
546 elm_entry.eo \
547 elm_fileselector.eo \
548 elm_fileselector_button.eo \
549 elm_fileselector_entry.eo \
550 elm_flip.eo \
551 elm_flipselector.eo \
552 elm_frame.eo \
553 elm_gengrid.eo \
554 elm_gengrid_pan.eo \
555 elm_genlist.eo \
556 elm_genlist_pan.eo \
557 elm_gesture_layer.eo \
558 elm_glview.eo \
559 elm_grid.eo \
560 elm_hover.eo \
561 elm_hoversel.eo \
562 elm_icon.eo \
563 elm_image.eo \
564 elm_index.eo \
565 elm_interface_atspi_accessible.eo \
566 elm_interface_atspi_action.eo \
567 elm_interface_atspi_component.eo \
568 elm_interface_atspi_editable_text.eo \
569 elm_interface_atspi_image.eo \
570 elm_interface_atspi_selection.eo \
571 elm_interface_atspi_text.eo \
572 elm_interface_atspi_value.eo \
573 elm_interface_atspi_widget_action.eo \
574 elm_interface_atspi_window.eo \
575 elm_interface_fileselector.eo \
576 elm_interface_scrollable.eo \
577 elm_inwin.eo \
578 elm_label.eo \
579 elm_layout.eo \
580 elm_list.eo \
581 elm_map.eo \
582 elm_map_pan.eo \
583 elm_mapbuf.eo \
584 elm_menu.eo \
585 elm_multibuttonentry.eo \
586 elm_naviframe.eo \
587 elm_notify.eo \
588 elm_pan.eo \
589 elm_panel.eo \
590 elm_panes.eo \
591 elm_photo.eo \
592 elm_photocam.eo \
593 elm_photocam_pan.eo \
594 elm_player.eo \
595 elm_plug.eo \
596 elm_popup.eo \
597 elm_prefs.eo \
598 elm_progressbar.eo \
599 elm_radio.eo \
600 elm_route.eo \
601 elm_scroller.eo \
602 elm_segment_control.eo \
603 elm_separator.eo \
604 elm_slider.eo \
605 elm_slideshow.eo \
606 elm_spinner.eo \
607 elm_systray.eo \
608 elm_table.eo \
609 elm_thumb.eo \
610 elm_toolbar.eo \
611 elm_video.eo \
612 elm_view_list.eo \
613 elm_view_form.eo \
614 elm_web.eo \
615 elm_widget.eo \
616 elm_win.eo \
617 elm_win_standard.eo \
618 elm_widget_item.eo \
619 elm_color_item.eo \
620 elm_dayselector_item.eo \
621 elm_hoversel_item.eo \
622 elm_segment_control_item.eo \
623 elm_slideshow_item.eo \
624 elm_flipselector_item.eo \
625 elm_menu_item.eo \
626 elm_ctxpopup_item.eo \
627 elm_index_item.eo \
628 elm_multibuttonentry_item.eo \
629 elm_naviframe_item.eo \
630 elm_genlist_item.eo \
631 elm_gengrid_item.eo \
632 elm_list_item.eo \
633 elm_toolbar_item.eo \
634 elm_diskselector_item.eo \
635 elm_popup_item.eo
636
637 elm_eolian_type_files = \
638 elm_general.eot
639
640 elm_eolian_c = $(elm_eolian_files:%.eo=%.eo.c)
641 elm_eolian_h = $(elm_eolian_files:%.eo=%.eo.h)
642 elm_eolian_legacy_h = $(elm_eolian_files:%.eo=%.eo.legacy.h)
643 elm_eolian_hh = $(elm_eolian_files:%.eo=%.eo.hh)
644 elm_eolian_impl_hh = $(elm_eolian_files:%.eo=%.eo.impl.hh)
645
646 elm_eolian_eot_h = $(elm_eolian_type_files:%.eot=%.eot.h)
647
648 BUILT_SOURCES = \
649         $(elm_eolian_c) \
650         $(elm_eolian_h) \
651         $(elm_eolian_eot_h) \
652         $(elm_eolian_legacy_h)
653
654 elementaryeolianfilesdir = $(datadir)/eolian/include/elementary-@VMAJ@
655 elementaryeolianfiles_DATA = $(elm_eolian_files) $(elm_eolian_type_files)
656 EXTRA_DIST += ${elementaryeolianfiles_DATA}
657
658 nodist_includesunstable_HEADERS = $(elm_eolian_h) $(elm_eolian_legacy_h) $(elm_eolian_eot_h)
659 CLEANFILES += $(nodist_includesunstable_HEADERS)
660
661 EXTRA_DIST += ${elementaryeolianfiles_DATA}
662
663 includecxxbindingsdir = $(includedir)/elementary-cxx-@VMAJ@
664
665 if HAVE_CXX11
666 nodist_includecxxbindings_HEADERS = Elementary.hh $(elm_eolian_hh) $(elm_eolian_impl_hh)
667 CLEANFILES += $(nodist_includecxxbindings_HEADERS)
668 EXTRA_DIST += Elementary.hh.in
669 endif
670
671
672
673 MAINTAINERCLEANFILES += $(COLORCLASS_GEN)