summaryrefslogtreecommitdiff
path: root/src/examples/eolian_cxx
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-12-13 12:36:21 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-12-13 14:13:09 -0200
commite67d6484b8b5dd75904b6d2368663eab4886229b (patch)
tree36be61a5368fe203d482c9063abba25f1cee8a44 /src/examples/eolian_cxx
parentfd92dec358bf6d98b4b334e938140049b6f5f12e (diff)
efl-cxx: Fixes to make dist
Diffstat (limited to 'src/examples/eolian_cxx')
-rw-r--r--src/examples/eolian_cxx/Makefile.am48
1 files changed, 22 insertions, 26 deletions
diff --git a/src/examples/eolian_cxx/Makefile.am b/src/examples/eolian_cxx/Makefile.am
index df5a370..a908170 100644
--- a/src/examples/eolian_cxx/Makefile.am
+++ b/src/examples/eolian_cxx/Makefile.am
@@ -69,6 +69,24 @@ LDADD = \
69 $(top_builddir)/src/lib/evas/libevas.la \ 69 $(top_builddir)/src/lib/evas/libevas.la \
70 $(top_builddir)/src/lib/ecore_evas/libecore_evas.la 70 $(top_builddir)/src/lib/ecore_evas/libecore_evas.la
71 71
72IMPL = \
73 colourable.c \
74 colourable_cxx.cc \
75 colourablesquare.c \
76 colourablesquare_cxx.cc
77
78SRCS = \
79 eolian_cxx_simple_01.cc \
80 eolian_cxx_callbacks_01.cc \
81 $(IMPL)
82
83ECXX_EXAMPLE_EOS = \
84 ns_colourable.eo \
85 ns_colourablesquare.eo
86
87dist_example_eos_SOURCES = $(ECXX_EXAMPLE_EOS)
88
89if HAVE_CXX
72GENERATED = \ 90GENERATED = \
73 ns_colourable.eo.c \ 91 ns_colourable.eo.c \
74 ns_colourable.eo.h \ 92 ns_colourable.eo.h \
@@ -82,30 +100,10 @@ GENERATED = \
82BUILT_SOURCES = $(GENERATED) 100BUILT_SOURCES = $(GENERATED)
83CLEANFILES += $(BUILT_SOURCES) 101CLEANFILES += $(BUILT_SOURCES)
84 102
85ECXX_EXAMPLE_EOS = \
86 ns_colourable.eo \
87 ns_colourablesquare.eo
88
89IMPL = \
90 colourable.c \
91 colourable_cxx.cc \
92 colourablesquare.c \
93 colourablesquare_cxx.cc
94
95SRCS = \
96 eolian_cxx_simple_01.cc \
97 eolian_cxx_callbacks_01.cc \
98 $(IMPL)
99# eolian_cxx_inherit_01.cc
100
101EXTRA_PROGRAMS = \ 103EXTRA_PROGRAMS = \
102 eolian_cxx_simple_01 \ 104 eolian_cxx_simple_01 \
103 eolian_cxx_simple_01_cxx_impl \ 105 eolian_cxx_simple_01_cxx_impl \
104 eolian_cxx_callbacks_01 106 eolian_cxx_callbacks_01
105# eolian_cxx_inherit_01
106
107DATA_FILES = Makefile.examples $(ECXX_EXAMPLE_EOS)
108EXTRA_DIST = $(DATA_FILES)
109 107
110eolian_cxx_simple_01_SOURCES = \ 108eolian_cxx_simple_01_SOURCES = \
111 eolian_cxx_simple_01.cc \ 109 eolian_cxx_simple_01.cc \
@@ -123,13 +121,11 @@ eolian_cxx_simple_01_cxx_impl_SOURCES = \
123 colourablesquare_cxx.cc 121 colourablesquare_cxx.cc
124eolian_cxx_simple_01_cxx_impl.$(OBJEXT): $(GENERATED) 122eolian_cxx_simple_01_cxx_impl.$(OBJEXT): $(GENERATED)
125 123
126# eolian_cxx_inherit_01_SOURCES = \
127# eolian_cxx_inherit_01.cc \
128# colourable.c \
129# colourablesquare.c
130# eolian_cxx_inherit_01.$(OBJEXT): $(GENERATED)
131
132eolian_cxx_callbacks_01_SOURCES = eolian_cxx_callbacks_01.cc 124eolian_cxx_callbacks_01_SOURCES = eolian_cxx_callbacks_01.cc
125endif
126
127DATA_FILES = Makefile.examples $(ECXX_EXAMPLE_EOS)
128EXTRA_DIST = $(DATA_FILES)
133 129
134%.eo.hh: %.eo 130%.eo.hh: %.eo
135 $(AM_V_EOLCXX)$(EOLIAN_CXX) $(EOLIAN_FLAGS) -I${abs_srcdir} -o $@ $< 131 $(AM_V_EOLCXX)$(EOLIAN_CXX) $(EOLIAN_FLAGS) -I${abs_srcdir} -o $@ $<