summaryrefslogtreecommitdiff
path: root/src/Makefile_Efl.am
blob: ac5edda4e4285ec2a5f577b0bdc6a09b6a42753d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
# Even though libefl is new, it contains definitions used by legacy APIs
efl_eolian_legacy_files = \
	lib/efl/interfaces/efl_gfx_fill.eo \
	lib/efl/interfaces/efl_gfx.eo \
	lib/efl/interfaces/efl_image.eo \
	lib/efl/interfaces/efl_image_animated.eo \
	lib/efl/interfaces/efl_input_device.eo \
	$(NULL)

efl_eolian_files = \
      lib/efl/interfaces/efl_canvas.eo \
      lib/efl/interfaces/efl_config.eo \
      lib/efl/interfaces/efl_control.eo \
      lib/efl/interfaces/efl_file.eo \
      lib/efl/interfaces/efl_image_load.eo \
      lib/efl/interfaces/efl_part.eo \
      lib/efl/interfaces/efl_player.eo \
      lib/efl/interfaces/efl_text.eo \
      lib/efl/interfaces/efl_text_properties.eo \
      lib/efl/interfaces/efl_gfx_stack.eo \
      lib/efl/interfaces/efl_gfx_view.eo \
      lib/efl/interfaces/efl_gfx_buffer.eo \
      lib/efl/interfaces/efl_gfx_shape.eo \
      lib/efl/interfaces/efl_gfx_gradient.eo \
      lib/efl/interfaces/efl_gfx_gradient_linear.eo \
      lib/efl/interfaces/efl_gfx_gradient_radial.eo \
      lib/efl/interfaces/efl_gfx_filter.eo \
      lib/efl/interfaces/efl_gfx_size_hint.eo \
      lib/efl/interfaces/efl_model.eo \
      lib/efl/interfaces/efl_animator.eo \
      lib/efl/interfaces/efl_orientation.eo \
      lib/efl/interfaces/efl_flipable.eo \
      lib/efl/interfaces/efl_container.eo \
      lib/efl/interfaces/efl_pack.eo \
      lib/efl/interfaces/efl_pack_layout.eo \
      lib/efl/interfaces/efl_pack_linear.eo \
      lib/efl/interfaces/efl_pack_grid.eo \
      lib/efl/interfaces/efl_vpath.eo \
      lib/efl/interfaces/efl_vpath_manager.eo \
      lib/efl/interfaces/efl_vpath_file.eo \
      lib/efl/interfaces/efl_vpath_core.eo \
      lib/efl/interfaces/efl_vpath_file_core.eo \
      lib/efl/interfaces/efl_ui_spin.eo \
      lib/efl/interfaces/efl_ui_progress.eo \
      lib/efl/interfaces/efl_event.eo \
      lib/efl/interfaces/efl_input_interface.eo \
      lib/efl/interfaces/efl_input_state.eo \
      lib/efl/interfaces/efl_screen.eo \
      $(efl_eolian_legacy_files) \
      $(NULL)

efl_eolian_type_files = \
	lib/efl/interfaces/efl_gfx_types.eot \
	lib/efl/interfaces/efl_event_types.eot \
	lib/efl/interfaces/efl_types.eot \
	lib/efl/interfaces/efl_text_types.eot \
	$(NULL)

efl_eolian_files_h = $(efl_eolian_files:%.eo=%.eo.h) \
                     $(efl_eolian_type_files:%.eot=%.eot.h)
efl_eolian_files_c = $(efl_eolian_files:%.eo=%.eo.c)
efl_eolian_legacy_files_h = $(efl_eolian_legacy_files:%.eo=%.eo.legacy.h)

BUILT_SOURCES += \
                 $(efl_eolian_files_c) \
                 $(efl_eolian_files_h) \
                 $(efl_eolian_legacy_files_h)

EXTRA_DIST2 += \
      lib/efl/Efl_Config.h \
      lib/efl/Efl_Config.h.in \
      lib/efl/Efl.h \
      lib/efl/Makefile.am \
      lib/efl/Makefile.in \
      lib/efl/interfaces/efl_common_internal.h \
      $(efl_eolian_files) \
      $(efl_eolian_type_files)

efleolianfilesdir = $(datadir)/eolian/include/efl-@VMAJ@
efleolianfiles_DATA = $(efl_eolian_files) $(efl_eolian_type_files)

lib_LTLIBRARIES += lib/efl/libefl.la

lib_efl_libefl_la_SOURCES = \
lib/efl/interfaces/efl_interfaces_main.c \
lib/efl/interfaces/efl_model_common.c \
lib/efl/interfaces/efl_gfx_shape.c \
lib/efl/interfaces/efl_vpath_file.c \
lib/efl/interfaces/efl_vpath_manager.c \
lib/efl/interfaces/efl_vpath_core.c \
lib/efl/interfaces/efl_vpath_file_core.c \
lib/efl/interfaces/efl_input_device.c \
$(NULL)

lib_efl_libefl_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl -I$(top_srcdir)/src/lib/efl @EFL_CFLAGS@ -DEFL_GFX_FILTER_BETA
lib_efl_libefl_la_LIBADD = @EFL_LIBS@
lib_efl_libefl_la_DEPENDENCIES = @EFL_INTERNAL_LIBS@
lib_efl_libefl_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@

installed_eflheadersdir = $(includedir)/efl-@VMAJ@
dist_installed_eflheaders_DATA = \
              lib/efl/Efl_Config.h \
              lib/efl/Efl_Model_Common.h \
              lib/efl/Efl.h

installed_eflinterfacesdir = $(includedir)/efl-@VMAJ@/interfaces
nodist_installed_eflinterfaces_DATA = \
	$(efl_eolian_files_h) \
	$(efl_eolian_legacy_files_h)

if HAVE_ELUA

efl_eolian_lua = $(efl_eolian_files:%.eo=%.eo.lua)

generated_efl_lua_all = $(efl_eolian_lua)

GENERATED_LUA_BINDINGS += $(generated_efl_lua_all)

installed_eflluadir = $(datadir)/elua/modules/efl
nodist_installed_efllua_DATA = $(generated_efl_lua_all)

endif

if HAVE_JS

generated_efl_js_bindings = $(efl_eolian_files:%.eo=%.eo.js.cc)

GENERATED_JS_BINDINGS += $(generated_efl_js_bindings)
endif

if HAVE_CXX11
efl_eolian_cxx_hh = $(efl_eolian_files:%.eo=%.eo.hh)
efl_eolian_cxx_impl = $(efl_eolian_files:%.eo=%.eo.impl.hh)
endif

### Binary

bin_PROGRAMS += \
bin/efl/efl_debugd \
bin/efl/efl_debug

bin_efl_efl_debugd_SOURCES = \
bin/efl/efl_debugd.c \
bin/efl/efl_debug_common.c \
bin/efl/efl_debug_common.h
bin_efl_efl_debugd_CPPFLAGS = -I$(top_builddir)/src/bin/efl @EINA_CFLAGS@ @ECORE_CFLAGS@ @ECORE_CON_CFLAGS@
bin_efl_efl_debugd_LDADD = @EFL_LIBS@ @USE_EINA_INTERNAL_LIBS@ @USE_ECORE_INTERNAL_LIBS@ @USE_ECORE_CON_INTERNAL_LIBS@
bin_efl_efl_debugd_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@ @USE_ECORE_INTERNAL_LIBS@ @USE_ECORE_CON_INTERNAL_LIBS@

bin_efl_efl_debug_SOURCES = \
bin/efl/efl_debug.c \
bin/efl/efl_debug_common.c \
bin/efl/efl_debug_common.h
bin_efl_efl_debug_CPPFLAGS = -I$(top_builddir)/src/bin/efl @EINA_CFLAGS@ @ECORE_CFLAGS@ @ECORE_CON_CFLAGS@
bin_efl_efl_debug_LDADD = @EFL_LIBS@ @USE_EINA_INTERNAL_LIBS@ @USE_ECORE_INTERNAL_LIBS@ @USE_ECORE_CON_INTERNAL_LIBS@
bin_efl_efl_debug_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@ @USE_ECORE_INTERNAL_LIBS@ @USE_ECORE_CON_INTERNAL_LIBS@