[openrtm-commit:00753] r2342 - trunk/OpenRTM-aist/src/ext/local_service/nameservice_file

openrtm @ openrtm.org openrtm @ openrtm.org
2012年 3月 8日 (木) 23:25:50 JST


Author: kurihara
Date: 2012-03-08 23:25:50 +0900 (Thu, 08 Mar 2012)
New Revision: 2342

Modified:
   trunk/OpenRTM-aist/src/ext/local_service/nameservice_file/Makefile.am
Log:
The FileNameservice supported Windows. refs #2383

Modified: trunk/OpenRTM-aist/src/ext/local_service/nameservice_file/Makefile.am
===================================================================
--- trunk/OpenRTM-aist/src/ext/local_service/nameservice_file/Makefile.am	2012-03-08 14:20:47 UTC (rev 2341)
+++ trunk/OpenRTM-aist/src/ext/local_service/nameservice_file/Makefile.am	2012-03-08 14:25:50 UTC (rev 2342)
@@ -23,5 +23,60 @@
 	$(top_builddir)/src/lib/rtm/libRTC.la \
 	$(top_builddir)/src/lib/coil/lib/libcoil.la 
 
+
+FILENAMESERVICE_DIST_SRC = FileNameservice.cpp
+FILENAMESERVICE_SRC = $(FILENAMESERVICE_DIST_SRC)
+
+FILENAMESERVICE_DIST_H = $(FILENAMESERVICE_DIST_SRC:.cpp=.h)
+FILENAMESERVICE_H = $(FILENAMESERVICE_DIST_H)
+
+
+#------------------------------------------------------------
+# Visual Studio Project
+#------------------------------------------------------------
+win32_builddir=$(top_builddir)/win32/OpenRTM-aist/ext/local_service/nameservice_file
+PROJNAME=FileNameservice
+
+vcproj: vc8proj vc9proj vc10proj
+
+vc8proj: 
+	$(top_builddir)/build/vcprojtool.py vcproj              \
+		--type DLL                                      \
+		--vcversion "8.00"                              \
+		--projectname "$(PROJNAME)"                     \
+		--version $(RTM_VERSION)                        \
+		--out $(win32_builddir)/$(PROJNAME)Dll_vc8.vcproj  \
+		--yaml $(top_builddir)/examples/rtcdll.vcproj.yaml \
+		--source $(FILENAMESERVICE_SRC)                        \
+		--header $(FILENAMESERVICE_H)
+	qkc -sm $(win32_builddir)/$(PROJNAME)Dll_vc8.vcproj
+
+vc9proj:
+	$(top_builddir)/build/vcprojtool.py vcproj              \
+		--type DLL                                      \
+		--vcversion "9.00"                              \
+		--projectname "$(PROJNAME)"                     \
+		--version $(RTM_VERSION)                        \
+		--out $(win32_builddir)/$(PROJNAME)Dll_vc9.vcproj  \
+		--yaml $(top_builddir)/examples/rtcdll.vcproj.yaml \
+		--source $(FILENAMESERVICE_SRC)                        \
+		--header $(FILENAMESERVICE_H)
+	qkc -sm $(win32_builddir)/$(PROJNAME)Dll_vc9.vcproj
+
+vc10proj:
+	$(top_builddir)/build/vcxprojtool.py vcxproj              \
+		--type DLL                                        \
+		--vcversion "10.00"                               \
+		--projectname "$(PROJNAME)"                       \
+		--version $(RTM_VERSION)                          \
+		--out $(win32_builddir)/$(PROJNAME)Dll_vc10.vcxproj \
+		--yaml $(top_builddir)/examples/rtcdll.vcproj.yaml  \
+		--source $(FILENAMESERVICE_SRC)                          \
+		--header $(FILENAMESERVICE_H)
+	qkc -sm $(win32_builddir)/$(PROJNAME)Dll_vc10.vcxproj
+
+
+#dist-hook: vcproj
+
 clean-local:
 	rm -rf *~ *.o *.so
\ No newline at end of file



openrtm-commit メーリングリストの案内