[beast/devel: 8/17] BSE: start generating bseclientapi.hh and bseclientapi.cc from bseapi.idl
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast/devel: 8/17] BSE: start generating bseclientapi.hh and bseclientapi.cc from bseapi.idl
- Date: Wed, 1 May 2013 12:30:38 +0000 (UTC)
commit f128e8cb0c4f6635e395e633bd51d3b10030b670
Author: Tim Janik <timj gnu org>
Date: Tue Mar 26 15:01:50 2013 +0000
BSE: start generating bseclientapi.hh and bseclientapi.cc from bseapi.idl
bse/Makefile.am | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/bse/Makefile.am b/bse/Makefile.am
index be5c5f0..646972d 100644
--- a/bse/Makefile.am
+++ b/bse/Makefile.am
@@ -288,6 +288,18 @@ noinst_DATA = bsehack.idl
# == BSE IDL API (AIDA) ==
AUXTYPES_PY = $(srcdir)/AuxTypes.py
+bseclientapi.hh: $(srcdir)/../bse/bseapi.idl $(AUXTYPES_PY)
+ $(AM_V_GEN)
+ $(Q) ${AIDACC} -x CxxStub -x $(AUXTYPES_PY) -G clienthh -G iface-postfix=Iface \
+ -G cppguard=__BST_BSECLIENTAPI_HH_ $< -o xgen-$(@F)
+ $(Q) mv xgen-$(@F) $@
+GENERATED += bseclientapi.hh
+bseclientapi.cc: $(srcdir)/../bse/bseapi.idl $(AUXTYPES_PY)
+ $(AM_V_GEN)
+ $(Q) ${AIDACC} -x CxxStub -x $(AUXTYPES_PY) -G clientcc -G iface-postfix=Iface \
+ -G cppguard=__BST_BSECLIENTAPI_CC_ $< -o xgen-$(@F)
+ $(Q) mv xgen-$(@F) $@
+GENERATED += bseclientapi.cc
bseserverapi.hh: $(srcdir)/bseapi.idl $(AUXTYPES_PY)
$(AM_V_GEN)
$(Q) ${AIDACC} -x CxxStub -x $(AUXTYPES_PY) -G serverhh -G iface-postfix=Iface \
@@ -301,7 +313,9 @@ bseserverapi.cc: $(srcdir)/bseapi.idl $(AUXTYPES_PY)
$(Q) mv xgen-$(@F) $@
GENERATED += bseserverapi.cc
+
# == GENERATED targets ==
+bseutils.lo: $(GENERATED) # need dependency to force file generation
generated: clean-generated $(GENERATED)
$(Q) $(MAKE) $(AM_MAKEFLAGS) clean-generated
$(Q) $(MAKE) generated-files
@@ -310,7 +324,6 @@ clean-generated:
rm -f $(GENERATED) stamp-*
clean-local: clean-generated
.PHONY: clean-generated generated-files generated
-bseutils.lo: $(GENERATED) # need dependency to force file generation
#
# private (birnet) dependancy to make TAGS file after each build
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]