aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_EsoapModel_Cxx.am
blob: 16c6749ced5b8a3917c1f8fcacf201f375e75260 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
if HAVE_CXX11

### Generated headers

generated_esoap_model_cxx_bindings = $(esoap_model_eolian_files:%.eo=%.eo.hh)

lib/esoap_model/Esoap_Model.hh: $(generated_esoap_model_cxx_bindings)
	@echo @ECHO_E@ "#ifndef EFL_CXX_ESOAP_MODEL_HH\n#define EFL_CXX_ESOAP_MODEL_HH\n" > $(top_builddir)/src/lib/esoap_model/Esoap_Model.hh
	@echo @ECHO_E@ "#ifdef EFL_BETA_API_SUPPORT" >> $(top_builddir)/src/lib/esoap_model/Esoap_Model.hh
	@for i in $(generated_esoap_model_cxx_bindings); do echo "#include <$$(basename $$i)>" >> $(top_builddir)/src/lib/esoap_model/Esoap_Model.hh; done
	@echo @ECHO_E@ "#endif\n\n#endif\n" >> $(top_builddir)/src/lib/esoap_model/Esoap_Model.hh

generated_esoap_model_cxx_all = \
	$(generated_esoap_model_cxx_bindings) \
	lib/esoap_model/Esoap_Model.hh

CLEANFILES += $(generated_esoap_model_cxx_all)

installed_esoap_modelcxxmainheadersdir = $(includedir)/esoap_model-cxx-@VMAJ@/
nodist_installed_esoap_modelcxxmainheaders_DATA = $(generated_esoap_model_cxx_all)

endif