2014-05-02 15:55:51 -07:00
|
|
|
MAINTAINERCLEANFILES = Makefile.in
|
2014-05-09 05:55:26 -07:00
|
|
|
CLEANFILES =
|
|
|
|
|
|
|
|
EOLIAN_FLAGS = \
|
|
|
|
-I$(srcdir) \
|
|
|
|
-I$(top_srcdir)/src/lib/eo \
|
|
|
|
-I$(top_srcdir)/src/lib/evas/canvas \
|
|
|
|
-I$(top_srcdir)/src/lib/edje \
|
2014-07-18 08:00:39 -07:00
|
|
|
-I$(top_srcdir)/src/lib/efl \
|
2014-05-09 05:55:26 -07:00
|
|
|
-I$(top_srcdir)/src/lib/ecore_audio
|
|
|
|
|
|
|
|
include $(top_srcdir)/src/Makefile_Eolian_Helper.am
|
|
|
|
include $(top_srcdir)/src/Makefile_Eolian_Cxx_Helper.am
|
2014-05-02 15:55:51 -07:00
|
|
|
|
|
|
|
AM_CXXFLAGS = \
|
2014-05-07 14:40:43 -07:00
|
|
|
-I$(srcdir) \
|
|
|
|
-I$(builddir) \
|
2014-09-03 11:08:56 -07:00
|
|
|
-I$(top_srcdir)/src/lib/efl \
|
2014-05-02 15:55:51 -07:00
|
|
|
-I$(top_builddir)/src/lib/efl \
|
2014-09-03 11:08:56 -07:00
|
|
|
-I$(top_srcdir)/src/lib/efl/interfaces \
|
|
|
|
-I$(top_builddir)/src/lib/efl/interfaces \
|
2014-05-02 15:55:51 -07:00
|
|
|
-I$(top_srcdir)/src/lib/eina \
|
|
|
|
-I$(top_builddir)/src/lib/eina \
|
|
|
|
-I$(top_srcdir)/src/lib/eo \
|
|
|
|
-I$(top_builddir)/src/lib/eo \
|
|
|
|
-I$(top_srcdir)/src/bindings/eo_cxx \
|
|
|
|
-I$(top_builddir)/src/bindings/eo_cxx \
|
|
|
|
-I$(top_srcdir)/src/bindings/eina_cxx \
|
|
|
|
-I$(top_builddir)/src/bindings/eina_cxx \
|
2014-07-16 12:32:56 -07:00
|
|
|
-I$(top_srcdir)/src/bindings/ecore_cxx \
|
|
|
|
-I$(top_builddir)/src/bindings/ecore_cxx \
|
2014-05-02 15:55:51 -07:00
|
|
|
-I$(top_srcdir)/src/lib/evas/ \
|
|
|
|
-I$(top_builddir)/src/lib/evas/ \
|
|
|
|
-I$(top_srcdir)/src/lib/evas/common \
|
|
|
|
-I$(top_builddir)/src/lib/evas/common \
|
|
|
|
-I$(top_srcdir)/src/lib/evas/canvas \
|
|
|
|
-I$(top_builddir)/src/lib/evas/canvas \
|
|
|
|
-I$(top_srcdir)/src/lib/ecore \
|
|
|
|
-I$(top_builddir)/src/lib/ecore \
|
|
|
|
-I$(top_srcdir)/src/lib/ecore_evas \
|
|
|
|
-I$(top_builddir)/src/lib/ecore_evas
|
|
|
|
|
|
|
|
AM_CFLAGS = $(AM_CXXFLAGS)
|
|
|
|
|
|
|
|
AM_LDFLAGS = \
|
|
|
|
-L$(top_builddir)/src/lib/efl \
|
|
|
|
-L$(top_builddir)/src/lib/eina \
|
|
|
|
-L$(top_builddir)/src/lib/eo \
|
|
|
|
-L$(top_builddir)/src/lib/evas \
|
|
|
|
-L$(top_builddir)/src/lib/ecore \
|
|
|
|
-L$(top_builddir)/src/lib/ecore_evas \
|
2014-09-03 11:08:56 -07:00
|
|
|
-lefl -leina -levas -leo -lecore -lecore_evas -pthread
|
2014-05-02 15:55:51 -07:00
|
|
|
|
|
|
|
LDADD = \
|
2014-09-03 11:08:56 -07:00
|
|
|
$(top_builddir)/src/lib/efl/libefl.la \
|
2014-05-02 15:55:51 -07:00
|
|
|
$(top_builddir)/src/lib/eo/libeo.la \
|
|
|
|
$(top_builddir)/src/lib/eina/libeina.la \
|
|
|
|
$(top_builddir)/src/lib/evas/libevas.la \
|
|
|
|
$(top_builddir)/src/lib/ecore_evas/libecore_evas.la
|
|
|
|
|
|
|
|
GENERATED = \
|
|
|
|
colourable.eo.c \
|
|
|
|
colourable.eo.h \
|
|
|
|
colourable.eo.hh \
|
|
|
|
colourablesquare.eo.c \
|
|
|
|
colourablesquare.eo.h \
|
|
|
|
colourablesquare.eo.hh
|
|
|
|
|
2014-05-09 05:55:26 -07:00
|
|
|
BUILT_SOURCES = $(GENERATED)
|
|
|
|
CLEANFILES += $(BUILT_SOURCES)
|
|
|
|
|
2014-09-12 12:07:34 -07:00
|
|
|
ECXX_EXAMPLE_EOS = \
|
2014-05-02 15:55:51 -07:00
|
|
|
colourable.eo \
|
|
|
|
colourablesquare.eo
|
|
|
|
|
2014-05-07 14:40:43 -07:00
|
|
|
IMPL = \
|
|
|
|
colourable.c \
|
2014-07-24 12:47:35 -07:00
|
|
|
colourable_cxx.cc \
|
|
|
|
colourablesquare.c \
|
|
|
|
colourablesquare_cxx.cc \
|
|
|
|
colourable_stub.c \
|
|
|
|
colourablesquare_stub.c
|
2014-05-07 14:40:43 -07:00
|
|
|
|
2014-05-02 15:55:51 -07:00
|
|
|
SRCS = \
|
|
|
|
eolian_cxx_simple_01.cc \
|
2014-05-07 14:40:43 -07:00
|
|
|
eolian_cxx_inherit_01.cc \
|
2014-07-16 12:32:56 -07:00
|
|
|
eolian_cxx_callbacks_01.cc \
|
|
|
|
eolian_cxx_eo_events_01.cc \
|
|
|
|
eolian_cxx_complex_types_01.cc \
|
2014-05-07 14:40:43 -07:00
|
|
|
$(IMPL)
|
2014-05-02 15:55:51 -07:00
|
|
|
|
|
|
|
EXTRA_PROGRAMS = \
|
2014-07-16 12:32:56 -07:00
|
|
|
eolian_cxx_simple_01 \
|
2014-07-24 12:47:35 -07:00
|
|
|
eolian_cxx_simple_01_cxx_impl \
|
2014-07-16 12:32:56 -07:00
|
|
|
eolian_cxx_inherit_01 \
|
|
|
|
eolian_cxx_callbacks_01 \
|
|
|
|
eolian_cxx_eo_events_01 \
|
|
|
|
eolian_cxx_complex_types_01
|
2014-05-02 15:55:51 -07:00
|
|
|
|
2014-09-12 12:07:34 -07:00
|
|
|
DATA_FILES = Makefile.examples $(ECXX_EXAMPLE_EOS)
|
2014-07-24 15:35:12 -07:00
|
|
|
EXTRA_DIST = $(DATA_FILES)
|
2014-05-02 15:55:51 -07:00
|
|
|
|
2014-05-09 05:55:26 -07:00
|
|
|
eolian_cxx_simple_01_SOURCES = \
|
|
|
|
eolian_cxx_simple_01.cc \
|
|
|
|
colourable.c \
|
|
|
|
colourablesquare.c
|
|
|
|
eolian_cxx_simple_01.$(OBJEXT): $(GENERATED)
|
2014-07-24 12:47:35 -07:00
|
|
|
|
|
|
|
eolian_cxx_simple_01_cxx_impl_SOURCES = \
|
|
|
|
eolian_cxx_simple_01.cc \
|
|
|
|
colourable_stub.c \
|
2014-07-24 15:35:12 -07:00
|
|
|
colourable_stub.h \
|
2014-07-24 12:47:35 -07:00
|
|
|
colourablesquare_stub.c \
|
2014-07-24 15:35:12 -07:00
|
|
|
colourablesquare_stub.h \
|
2014-07-24 12:47:35 -07:00
|
|
|
colourable_cxx.cc \
|
|
|
|
colourablesquare_cxx.cc
|
|
|
|
eolian_cxx_simple_01_cxx_impl.$(OBJEXT): $(GENERATED)
|
2014-05-02 15:55:51 -07:00
|
|
|
|
2014-07-16 12:32:56 -07:00
|
|
|
eolian_cxx_inherit_01_SOURCES = \
|
|
|
|
eolian_cxx_inherit_01.cc \
|
|
|
|
colourable.c \
|
|
|
|
colourablesquare.c
|
|
|
|
eolian_cxx_inherit_01.$(OBJEXT): $(GENERATED)
|
2014-05-02 15:55:51 -07:00
|
|
|
|
2014-07-16 12:32:56 -07:00
|
|
|
eolian_cxx_callbacks_01_SOURCES = eolian_cxx_callbacks_01.cc
|
|
|
|
|
|
|
|
eolian_cxx_eo_events_01_SOURCES = eolian_cxx_eo_events_01.cc
|
|
|
|
|
|
|
|
eolian_cxx_complex_types_01_SOURCES = eolian_cxx_complex_types_01.cc
|
2014-05-02 15:55:51 -07:00
|
|
|
|
2014-05-09 05:55:26 -07:00
|
|
|
%.eo.hh: %.eo
|
2014-06-30 11:32:52 -07:00
|
|
|
$(AM_V_EOLCXX)$(EOLIAN_CXX) $(EOLIAN_FLAGS) -I${abs_srcdir} -o $@ $<
|
2014-05-02 15:55:51 -07:00
|
|
|
|
2014-05-09 05:55:26 -07:00
|
|
|
%.eo.c: %.eo
|
2014-05-02 15:55:51 -07:00
|
|
|
$(AM_V_EOL)$(EOLIAN_GEN) --eo --legacy $(EOLIAN_FLAGS) --gc -o $@ $<
|
|
|
|
|
2014-05-09 05:55:26 -07:00
|
|
|
%.eo.h: %.eo
|
2014-05-02 15:55:51 -07:00
|
|
|
$(AM_V_EOL)$(EOLIAN_GEN) --eo $(EOLIAN_FLAGS) --gh -o $@ $<
|
|
|
|
|
2014-09-12 12:07:34 -07:00
|
|
|
examples: $(ECXX_EXAMPLE_EOS) $(GENERATED) $(EXTRA_PROGRAMS)
|
2014-05-02 15:55:51 -07:00
|
|
|
|
|
|
|
clean-local:
|
|
|
|
rm -f $(EXTRA_PROGRAMS) $(GENERATED)
|
|
|
|
|
|
|
|
install-examples:
|
|
|
|
mkdir -p $(datadir)/eolian_cxx/examples
|
2014-06-30 11:32:52 -07:00
|
|
|
cd $(abs_srcdir) && $(install_sh_DATA) -c $(SRCS) $(DATA_FILES) $(datadir)/eolian_cxx/examples
|
2014-05-02 15:55:51 -07:00
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
for f in $(SRCS) $(DATA_FILES); do \
|
|
|
|
rm -f $(datadir)/eolian_cxx/examples/$$f ; \
|
|
|
|
done
|
|
|
|
|
|
|
|
if ALWAYS_BUILD_EXAMPLES
|
|
|
|
noinst_PROGRAMS = $(EXTRA_PROGRAMS)
|
|
|
|
endif
|
2014-07-16 12:32:56 -07:00
|
|
|
|