[openrtm-commit:00793] r2357 - in trunk/OpenRTM-aist/src/lib/rtm/idl: . test
openrtm @ openrtm.org
openrtm @ openrtm.org
2012年 5月 7日 (月) 15:08:45 JST
Author: n-ando
Date: 2012-05-07 15:08:45 +0900 (Mon, 07 May 2012)
New Revision: 2357
Added:
trunk/OpenRTM-aist/src/lib/rtm/idl/test/
trunk/OpenRTM-aist/src/lib/rtm/idl/test/Makefile
Log:
IDL syntax validation in various IDL compiler has been added. refs #2370
Added: trunk/OpenRTM-aist/src/lib/rtm/idl/test/Makefile
===================================================================
--- trunk/OpenRTM-aist/src/lib/rtm/idl/test/Makefile (rev 0)
+++ trunk/OpenRTM-aist/src/lib/rtm/idl/test/Makefile 2012-05-07 06:08:45 UTC (rev 2357)
@@ -0,0 +1,58 @@
+all: clean omniidl omniidlpy idlj rtorb orbitidl
+
+IDLFILES = \
+ BasicDataType.idl \
+ DataPort.idl \
+ ExtendedDataTypes.idl \
+ InterfaceDataTypes.idl \
+ Manager.idl \
+ OpenRTM.idl \
+ RTC.idl \
+ SDOPackage.idl
+
+omniidl:
+ rm -rf omniidl
+ mkdir omniidl
+ for f in $(IDLFILES) ; do \
+ omniidl -bcxx -I.. -Comniidl ../$$f ; \
+ done
+
+omniidlpy:
+ rm -rf omniidlpy
+ mkdir omniidlpy
+ for f in $(IDLFILES) ; do \
+ omniidl -bpython -I.. -Comniidlpy ../$$f ; \
+ done
+
+idlj:
+ rm -rf java
+ mkdir java
+ for f in $(IDLFILES) ; do \
+ idlj -DIDLJ -i ../ -td java ../$$f ; \
+ done
+
+rtorb:
+ rm -rf rtorb
+ mkdir rtorb
+ cd rtorb
+ for f in $(IDLFILES) ; do \
+ (cd rtorb ; rtorb-idl --skeleton-impl ../../$$f;) \
+ done
+ cd ..
+
+orbitidl:
+ rm -rf orbitidl
+ mkdir orbitidl
+ for f in $(IDLFILES) ; do \
+ orbit-idl-2 --showcpperrors --idlwarnlevel=4 --output-dir=orbitidl ../$$f;\
+ done
+ cd ..
+
+clean:
+ rm -rf omniidl
+ rm -rf omniidlpy
+ rm -rf java
+ rm -rf rtorb
+ rm -rf orbitidl
+ rm -rf cxx python java
+ rm -rf _SDOPackage
\ No newline at end of file
openrtm-commit メーリングリストの案内