[openrtm-commit:01255] r2450 - branches/work_ForDoil/OpenRTM-aist/src/lib/doil/utils/omniidl_be/tests/unitTest/LightweightRTObjectServant

openrtm @ openrtm.org openrtm @ openrtm.org
2014年 2月 12日 (水) 10:20:12 JST


Author: win-ei
Date: 2014-02-12 10:20:12 +0900 (Wed, 12 Feb 2014)
New Revision: 2450

Added:
   branches/work_ForDoil/OpenRTM-aist/src/lib/doil/utils/omniidl_be/tests/unitTest/LightweightRTObjectServant/Makefile.am
Log:
Daily work.

Added: branches/work_ForDoil/OpenRTM-aist/src/lib/doil/utils/omniidl_be/tests/unitTest/LightweightRTObjectServant/Makefile.am
===================================================================
--- branches/work_ForDoil/OpenRTM-aist/src/lib/doil/utils/omniidl_be/tests/unitTest/LightweightRTObjectServant/Makefile.am	                        (rev 0)
+++ branches/work_ForDoil/OpenRTM-aist/src/lib/doil/utils/omniidl_be/tests/unitTest/LightweightRTObjectServant/Makefile.am	2014-02-12 01:20:12 UTC (rev 2450)
@@ -0,0 +1,83 @@
+# -*- Makefile -*-
+#------------------------------------------------------------
+# @file   Makefile.am
+# @brief  Makefile.am for LightweightRTObjectServant unit test
+# @date   $Date$
+# @author Noriaki Ando <n-ando at aist.go.jp>
+#
+# $Id$
+#
+#------------------------------------------------------------
+
+#
+# $Log$
+#
+
+
+AUTOMAKE_OPTIONS = 1.9
+
+IDLC = @IDLC@
+IDLFLAGS = @IDL_FLAGS@
+LIBS = @LIBS@
+
+#open_rtm_dir = $(top_builddir)/../../../../..
+open_rtm_dir = ../../../../../..
+#target_srcdir = $(top_builddir)/..
+target_srcdir = ../..
+
+AM_CPPFLAGS = -I.
+AM_CPPFLAGS += -I$(includedir)
+AM_CPPFLAGS += -I$(target_srcdir)
+AM_CPPFLAGS += -I$(open_rtm_dir)
+AM_CPPFLAGS += -I$(open_rtm_dir)/rtc/corba/idl
+AM_CPPFLAGS += -I../
+AM_CPPFLAGS += -I../../
+AM_CPPFLAGS += -I../../../../../../coil/posix
+AM_CPPFLAGS += -I../../../../../../
+AM_CPPFLAGS += -I/usr/include/omniORB4/
+AM_CPPFLAGS += -I/usr/include/omniORB4/internal/
+
+AM_LDFLAGS = -L.
+AM_LDFLAGS += -L$(open_rtm_dir)/coil/lib
+
+IDL_SOURCES = $(open_rtm_dir)/rtc/corba/idl/SDOPackage.idl
+IDL_SOURCES += $(open_rtm_dir)/rtc/corba/idl/RTC.idl
+IDL_SOURCES += $(open_rtm_dir)/rtc/corba/idl/OpenRTM.idl
+
+noinst_PROGRAMS = LightweightRTObjectServantTests
+
+LightweightRTObjectServantTests_SOURCES = ../TestRunner.cpp
+LightweightRTObjectServantTests_SOURCES += LightweightRTObjectServantTests.cpp
+LightweightRTObjectServantTests_SOURCES += $(IDL_SOURCES:.idl=Stub.cpp)
+LightweightRTObjectServantTests_SOURCES += $(open_rtm_dir)/doil/ORBManager.cpp
+LightweightRTObjectServantTests_SOURCES += $(open_rtm_dir)/doil/corba/CORBAManager.cpp
+
+LightweightRTObjectServantTests_LDFLAGS = -L$(libdir)
+#LightweightRTObjectServantTests_LDFLAGS += -L../stubs
+
+LightweightRTObjectServantTests_LDADD   = -lomniORB4
+LightweightRTObjectServantTests_LDADD  += -lomnithread
+LightweightRTObjectServantTests_LDADD  += -lomniDynamic4
+LightweightRTObjectServantTests_LDADD  += -lcoil
+LightweightRTObjectServantTests_LDADD  += -lcppunit
+#LightweightRTObjectServantTests_LDADD  += -lstubs
+LightweightRTObjectServantTests_LDADD  += $(target_srcdir)/LightweightRTObjectServant.o
+LightweightRTObjectServantTests_LDADD  += $(target_srcdir)/RTCTypeConversion.o
+LightweightRTObjectServantTests_LDADD  += $(target_srcdir)/SDOPackageTypeConversion.o
+LightweightRTObjectServantTests_LDADD  += $(target_srcdir)/ComponentActionServant.o
+
+# all
+all: do-test
+
+# do tests
+do-test:
+	./LightweightRTObjectServantTests
+
+# clean-up
+clean-local:
+	rm -f                               \
+	*.o *.Po *.gch *.la                 \
+	*Skel.cpp *Skel.h *Stub.cpp *Stub.h \
+	*~ *core                            \
+	Makefile.old                        \
+	*.cc *.hh *.i *.a *.c *.inl



More information about the openrtm-commit mailing list