rbdc 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (266) hide show
  1. data/bindings/ruby/rbdc/extconf.rb +57 -0
  2. data/bindings/ruby/rbdc/rbdc.c +304 -0
  3. data/dyncall/AUTHORS +4 -0
  4. data/dyncall/BUGS +3 -0
  5. data/dyncall/CMakeLists.txt +79 -0
  6. data/dyncall/ChangeLog +165 -0
  7. data/dyncall/LICENSE +15 -0
  8. data/dyncall/Makefile.M +15 -0
  9. data/dyncall/Makefile.embedded +71 -0
  10. data/dyncall/Makefile.generic +36 -0
  11. data/dyncall/Nmakefile +45 -0
  12. data/dyncall/README +92 -0
  13. data/dyncall/ToDo +114 -0
  14. data/dyncall/autovar/LICENSE.txt +15 -0
  15. data/dyncall/autovar/README.txt +69 -0
  16. data/dyncall/autovar/autovar_ABI.h +44 -0
  17. data/dyncall/autovar/autovar_ARCH.h +56 -0
  18. data/dyncall/autovar/autovar_CC.h +46 -0
  19. data/dyncall/autovar/autovar_OS.h +78 -0
  20. data/dyncall/autovar/autovar_OSFAMILY.h +39 -0
  21. data/dyncall/buildsys/cmake/Modules/FindDynCall.cmake +43 -0
  22. data/dyncall/buildsys/cmake/Modules/FindDynCallback.cmake +43 -0
  23. data/dyncall/buildsys/cmake/Modules/FindDynLoad.cmake +45 -0
  24. data/dyncall/buildsys/cmake/Modules/UseLATEX.cmake +811 -0
  25. data/dyncall/buildsys/dynmake/Makefile.base.M +82 -0
  26. data/dyncall/buildsys/dynmake/dynmake.bat +2 -0
  27. data/dyncall/buildsys/dynmake/dynmake.sh +4 -0
  28. data/dyncall/buildsys/lua/Makefile +10 -0
  29. data/dyncall/buildsys/lua/README.txt +4 -0
  30. data/dyncall/buildsys/lua/bootstrap.sh +34 -0
  31. data/dyncall/buildsys/lua/cleanup.sh +6 -0
  32. data/dyncall/buildsys/lua/mkfile +34 -0
  33. data/dyncall/buildsys/lua/setenv.sh +4 -0
  34. data/dyncall/buildsys/mk/app.mk +30 -0
  35. data/dyncall/buildsys/mk/dirs.mk +27 -0
  36. data/dyncall/buildsys/mk/epilog.mk +30 -0
  37. data/dyncall/buildsys/mk/lib.mk +23 -0
  38. data/dyncall/buildsys/mk/pcc.mk +60 -0
  39. data/dyncall/buildsys/mk/prolog.mk +35 -0
  40. data/dyncall/buildsys/nmake/common.nmake +61 -0
  41. data/dyncall/buildsys/nmake/epilog.nmake +28 -0
  42. data/dyncall/buildsys/nmake/prolog.nmake +76 -0
  43. data/dyncall/buildsys/nmake/tool_gcc.nmake +82 -0
  44. data/dyncall/buildsys/nmake/tool_msvc.nmake +67 -0
  45. data/dyncall/buildsys/scripts/batch-build-linux.sh +11 -0
  46. data/dyncall/buildsys/scripts/batch-build-minix.sh +11 -0
  47. data/dyncall/buildsys/scripts/batch-build-psp.sh +11 -0
  48. data/dyncall/buildsys/scripts/conf-nds.bat +41 -0
  49. data/dyncall/buildsys/scripts/setenv-cross-ios.sh +8 -0
  50. data/dyncall/buildsys/scripts/setenv-sdk-ios.sh +22 -0
  51. data/dyncall/buildsys/vs2005/dyncall/dyncall.vcproj +245 -0
  52. data/dyncall/buildsys/vs2005/test_plain/test_plain.vcproj +202 -0
  53. data/dyncall/buildsys/vs2005/vs2005.sln +29 -0
  54. data/dyncall/configure +152 -0
  55. data/dyncall/configure.bat +157 -0
  56. data/dyncall/configure.rc +234 -0
  57. data/dyncall/dynMakefile +4 -0
  58. data/dyncall/dyncall/CMakeLists.txt +53 -0
  59. data/dyncall/dyncall/DynCallConfig.cmake +3 -0
  60. data/dyncall/dyncall/Makefile.M +10 -0
  61. data/dyncall/dyncall/Makefile.embedded +20 -0
  62. data/dyncall/dyncall/Makefile.generic +16 -0
  63. data/dyncall/dyncall/Nmakefile +62 -0
  64. data/dyncall/dyncall/README-Developer.txt +45 -0
  65. data/dyncall/dyncall/README.txt +65 -0
  66. data/dyncall/dyncall/TODO +9 -0
  67. data/dyncall/dyncall/dynMakefile +4 -0
  68. data/dyncall/dyncall/dyncall.3 +189 -0
  69. data/dyncall/dyncall/dyncall.h +135 -0
  70. data/dyncall/dyncall/dyncall_alloc.h +40 -0
  71. data/dyncall/dyncall/dyncall_api.c +167 -0
  72. data/dyncall/dyncall/dyncall_call.S +72 -0
  73. data/dyncall/dyncall/dyncall_call_arm32_arm.S +80 -0
  74. data/dyncall/dyncall/dyncall_call_arm32_arm.h +61 -0
  75. data/dyncall/dyncall/dyncall_call_arm32_arm_armhf.S +96 -0
  76. data/dyncall/dyncall/dyncall_call_arm32_arm_armhf.h +44 -0
  77. data/dyncall/dyncall/dyncall_call_arm32_thumb.h +65 -0
  78. data/dyncall/dyncall/dyncall_call_arm32_thumb_apple.s +80 -0
  79. data/dyncall/dyncall/dyncall_call_arm32_thumb_armhf.S +121 -0
  80. data/dyncall/dyncall/dyncall_call_arm32_thumb_gas.s +101 -0
  81. data/dyncall/dyncall/dyncall_call_mips.h +50 -0
  82. data/dyncall/dyncall/dyncall_call_mips_eabi.h +61 -0
  83. data/dyncall/dyncall/dyncall_call_mips_eabi_gas.s +115 -0
  84. data/dyncall/dyncall/dyncall_call_mips_gas.S +36 -0
  85. data/dyncall/dyncall/dyncall_call_mips_n32.h +67 -0
  86. data/dyncall/dyncall/dyncall_call_mips_n32_gas.s +192 -0
  87. data/dyncall/dyncall/dyncall_call_mips_n64.h +67 -0
  88. data/dyncall/dyncall/dyncall_call_mips_n64_gas.s +192 -0
  89. data/dyncall/dyncall/dyncall_call_mips_o32.h +70 -0
  90. data/dyncall/dyncall/dyncall_call_mips_o32_gas.s +109 -0
  91. data/dyncall/dyncall/dyncall_call_ppc32.S +266 -0
  92. data/dyncall/dyncall/dyncall_call_ppc32.h +62 -0
  93. data/dyncall/dyncall/dyncall_call_sparc.S +192 -0
  94. data/dyncall/dyncall/dyncall_call_sparc.h +42 -0
  95. data/dyncall/dyncall/dyncall_call_sparc64.S +361 -0
  96. data/dyncall/dyncall/dyncall_call_sparc64.h +42 -0
  97. data/dyncall/dyncall/dyncall_call_sparc_v9.S +220 -0
  98. data/dyncall/dyncall/dyncall_call_sparc_v9.h +42 -0
  99. data/dyncall/dyncall/dyncall_call_x64-att.S +146 -0
  100. data/dyncall/dyncall/dyncall_call_x64.S +149 -0
  101. data/dyncall/dyncall/dyncall_call_x64.h +63 -0
  102. data/dyncall/dyncall/dyncall_call_x64_generic_masm.asm +70 -0
  103. data/dyncall/dyncall/dyncall_call_x86.S +238 -0
  104. data/dyncall/dyncall/dyncall_call_x86.h +70 -0
  105. data/dyncall/dyncall/dyncall_call_x86_8a.s +127 -0
  106. data/dyncall/dyncall/dyncall_call_x86_generic_masm.asm +136 -0
  107. data/dyncall/dyncall/dyncall_call_x86_nasm.asm +234 -0
  108. data/dyncall/dyncall/dyncall_callf.c +112 -0
  109. data/dyncall/dyncall/dyncall_callf.h +52 -0
  110. data/dyncall/dyncall/dyncall_callvm.c +68 -0
  111. data/dyncall/dyncall/dyncall_callvm.h +88 -0
  112. data/dyncall/dyncall/dyncall_callvm_arm32_arm.c +250 -0
  113. data/dyncall/dyncall/dyncall_callvm_arm32_arm.h +59 -0
  114. data/dyncall/dyncall/dyncall_callvm_arm32_arm_armhf.c +204 -0
  115. data/dyncall/dyncall/dyncall_callvm_arm32_arm_armhf.h +63 -0
  116. data/dyncall/dyncall/dyncall_callvm_arm32_thumb.c +271 -0
  117. data/dyncall/dyncall/dyncall_callvm_arm32_thumb.h +59 -0
  118. data/dyncall/dyncall/dyncall_callvm_base.c +33 -0
  119. data/dyncall/dyncall/dyncall_callvm_mips.c +40 -0
  120. data/dyncall/dyncall/dyncall_callvm_mips.h +37 -0
  121. data/dyncall/dyncall/dyncall_callvm_mips_eabi.c +181 -0
  122. data/dyncall/dyncall/dyncall_callvm_mips_eabi.h +61 -0
  123. data/dyncall/dyncall/dyncall_callvm_mips_n32.c +268 -0
  124. data/dyncall/dyncall/dyncall_callvm_mips_n64.c +268 -0
  125. data/dyncall/dyncall/dyncall_callvm_mips_n64.h +53 -0
  126. data/dyncall/dyncall/dyncall_callvm_mips_o32.c +235 -0
  127. data/dyncall/dyncall/dyncall_callvm_mips_o32.h +45 -0
  128. data/dyncall/dyncall/dyncall_callvm_ppc32.c +372 -0
  129. data/dyncall/dyncall/dyncall_callvm_ppc32.h +61 -0
  130. data/dyncall/dyncall/dyncall_callvm_sparc.c +155 -0
  131. data/dyncall/dyncall/dyncall_callvm_sparc.h +44 -0
  132. data/dyncall/dyncall/dyncall_callvm_sparc64.c +239 -0
  133. data/dyncall/dyncall/dyncall_callvm_sparc64.h +47 -0
  134. data/dyncall/dyncall/dyncall_callvm_sparc_v9.c +182 -0
  135. data/dyncall/dyncall/dyncall_callvm_sparc_v9.h +45 -0
  136. data/dyncall/dyncall/dyncall_callvm_x64.c +228 -0
  137. data/dyncall/dyncall/dyncall_callvm_x64.h +111 -0
  138. data/dyncall/dyncall/dyncall_callvm_x86.c +667 -0
  139. data/dyncall/dyncall/dyncall_callvm_x86.h +75 -0
  140. data/dyncall/dyncall/dyncall_config.h +46 -0
  141. data/dyncall/dyncall/dyncall_macros.h +248 -0
  142. data/dyncall/dyncall/dyncall_signature.h +71 -0
  143. data/dyncall/dyncall/dyncall_struct.c +255 -0
  144. data/dyncall/dyncall/dyncall_struct.h +69 -0
  145. data/dyncall/dyncall/dyncall_types.h +74 -0
  146. data/dyncall/dyncall/dyncall_utils.h +38 -0
  147. data/dyncall/dyncall/dyncall_value.h +73 -0
  148. data/dyncall/dyncall/dyncall_vector.c +52 -0
  149. data/dyncall/dyncall/dyncall_vector.h +56 -0
  150. data/dyncall/dyncall/gen-masm.sh +7 -0
  151. data/dyncall/dyncall/mkfile +29 -0
  152. data/dyncall/dyncallback/CMakeLists.txt +55 -0
  153. data/dyncall/dyncallback/DynCallbackConfig.cmake +2 -0
  154. data/dyncall/dyncallback/Makefile.M +10 -0
  155. data/dyncall/dyncallback/Makefile.embedded +15 -0
  156. data/dyncall/dyncallback/Makefile.generic +20 -0
  157. data/dyncall/dyncallback/Nmakefile +71 -0
  158. data/dyncall/dyncallback/README.txt +9 -0
  159. data/dyncall/dyncallback/TODO +4 -0
  160. data/dyncall/dyncallback/dynMakefile +4 -0
  161. data/dyncall/dyncallback/dyncall_alloc_wx.c +35 -0
  162. data/dyncall/dyncallback/dyncall_alloc_wx.h +46 -0
  163. data/dyncall/dyncallback/dyncall_alloc_wx_malloc.c +40 -0
  164. data/dyncall/dyncallback/dyncall_alloc_wx_mmap.c +42 -0
  165. data/dyncall/dyncallback/dyncall_alloc_wx_win32.c +42 -0
  166. data/dyncall/dyncallback/dyncall_args.c +45 -0
  167. data/dyncall/dyncallback/dyncall_args.h +65 -0
  168. data/dyncall/dyncallback/dyncall_args_arm32_arm.c +112 -0
  169. data/dyncall/dyncallback/dyncall_args_arm32_arm.h +40 -0
  170. data/dyncall/dyncallback/dyncall_args_arm32_thumb.c +29 -0
  171. data/dyncall/dyncallback/dyncall_args_arm32_thumb.h +32 -0
  172. data/dyncall/dyncallback/dyncall_args_mips.c +81 -0
  173. data/dyncall/dyncallback/dyncall_args_mips.h +41 -0
  174. data/dyncall/dyncallback/dyncall_args_ppc32.c +88 -0
  175. data/dyncall/dyncallback/dyncall_args_ppc32.h +41 -0
  176. data/dyncall/dyncallback/dyncall_args_sparc32.c +41 -0
  177. data/dyncall/dyncallback/dyncall_args_sparc32.h +37 -0
  178. data/dyncall/dyncallback/dyncall_args_sparc64.c +41 -0
  179. data/dyncall/dyncallback/dyncall_args_sparc64.h +37 -0
  180. data/dyncall/dyncallback/dyncall_args_x64.c +73 -0
  181. data/dyncall/dyncallback/dyncall_args_x64.h +44 -0
  182. data/dyncall/dyncallback/dyncall_args_x86.c +121 -0
  183. data/dyncall/dyncallback/dyncall_args_x86.h +58 -0
  184. data/dyncall/dyncallback/dyncall_callback.c +45 -0
  185. data/dyncall/dyncallback/dyncall_callback.h +51 -0
  186. data/dyncall/dyncallback/dyncall_callback_arch.S +71 -0
  187. data/dyncall/dyncallback/dyncall_callback_arm32_arm.c +63 -0
  188. data/dyncall/dyncallback/dyncall_callback_arm32_arm.h +45 -0
  189. data/dyncall/dyncallback/dyncall_callback_arm32_arm_apple.s +73 -0
  190. data/dyncall/dyncallback/dyncall_callback_arm32_arm_gas.s +73 -0
  191. data/dyncall/dyncallback/dyncall_callback_arm32_thumb.c +29 -0
  192. data/dyncall/dyncallback/dyncall_callback_arm32_thumb.h +33 -0
  193. data/dyncall/dyncallback/dyncall_callback_arm32_thumb_apple.s +32 -0
  194. data/dyncall/dyncallback/dyncall_callback_arm32_thumb_gas.s +32 -0
  195. data/dyncall/dyncallback/dyncall_callback_mips.c +61 -0
  196. data/dyncall/dyncallback/dyncall_callback_mips.h +42 -0
  197. data/dyncall/dyncallback/dyncall_callback_ppc32.S +33 -0
  198. data/dyncall/dyncallback/dyncall_callback_ppc32.c +60 -0
  199. data/dyncall/dyncallback/dyncall_callback_ppc32.h +43 -0
  200. data/dyncall/dyncallback/dyncall_callback_ppc32_apple.s +180 -0
  201. data/dyncall/dyncallback/dyncall_callback_sparc32.c +57 -0
  202. data/dyncall/dyncallback/dyncall_callback_sparc32.h +43 -0
  203. data/dyncall/dyncallback/dyncall_callback_sparc32.s +30 -0
  204. data/dyncall/dyncallback/dyncall_callback_sparc64.c +57 -0
  205. data/dyncall/dyncallback/dyncall_callback_sparc64.s +30 -0
  206. data/dyncall/dyncallback/dyncall_callback_x64.S +187 -0
  207. data/dyncall/dyncallback/dyncall_callback_x64.c +69 -0
  208. data/dyncall/dyncallback/dyncall_callback_x64.h +44 -0
  209. data/dyncall/dyncallback/dyncall_callback_x64_apple.s +122 -0
  210. data/dyncall/dyncallback/dyncall_callback_x64_gas.s +119 -0
  211. data/dyncall/dyncallback/dyncall_callback_x64_gas_w64.s +102 -0
  212. data/dyncall/dyncallback/dyncall_callback_x64_masm.asm +89 -0
  213. data/dyncall/dyncallback/dyncall_callback_x86.S +115 -0
  214. data/dyncall/dyncallback/dyncall_callback_x86.c +281 -0
  215. data/dyncall/dyncallback/dyncall_callback_x86.h +49 -0
  216. data/dyncall/dyncallback/dyncall_callback_x86_8a.s +100 -0
  217. data/dyncall/dyncallback/dyncall_callback_x86_masm.asm +74 -0
  218. data/dyncall/dyncallback/dyncall_thunk.c +47 -0
  219. data/dyncall/dyncallback/dyncall_thunk.h +84 -0
  220. data/dyncall/dyncallback/dyncall_thunk_arm32_arm.c +45 -0
  221. data/dyncall/dyncallback/dyncall_thunk_arm32_arm.h +40 -0
  222. data/dyncall/dyncallback/dyncall_thunk_arm32_thumb.c +29 -0
  223. data/dyncall/dyncallback/dyncall_thunk_arm32_thumb.h +35 -0
  224. data/dyncall/dyncallback/dyncall_thunk_mips.c +52 -0
  225. data/dyncall/dyncallback/dyncall_thunk_mips.h +37 -0
  226. data/dyncall/dyncallback/dyncall_thunk_ppc32.c +51 -0
  227. data/dyncall/dyncallback/dyncall_thunk_ppc32.h +40 -0
  228. data/dyncall/dyncallback/dyncall_thunk_sparc32.c +32 -0
  229. data/dyncall/dyncallback/dyncall_thunk_sparc32.h +36 -0
  230. data/dyncall/dyncallback/dyncall_thunk_sparc64.c +32 -0
  231. data/dyncall/dyncallback/dyncall_thunk_sparc64.h +36 -0
  232. data/dyncall/dyncallback/dyncall_thunk_x64.c +48 -0
  233. data/dyncall/dyncallback/dyncall_thunk_x64.h +39 -0
  234. data/dyncall/dyncallback/dyncall_thunk_x86.c +44 -0
  235. data/dyncall/dyncallback/dyncall_thunk_x86.h +39 -0
  236. data/dyncall/dyncallback/dyncallback.3 +134 -0
  237. data/dyncall/dyncallback/gen-masm.sh +8 -0
  238. data/dyncall/dyncallback/mkfile +29 -0
  239. data/dyncall/dynload/CMakeLists.txt +25 -0
  240. data/dyncall/dynload/DynLoadConfig.cmake +3 -0
  241. data/dyncall/dynload/Makefile.M +10 -0
  242. data/dyncall/dynload/Makefile.embedded +22 -0
  243. data/dyncall/dynload/Makefile.generic +18 -0
  244. data/dyncall/dynload/Nmakefile +57 -0
  245. data/dyncall/dynload/README.txt +113 -0
  246. data/dyncall/dynload/TODO +20 -0
  247. data/dyncall/dynload/dynMakefile +4 -0
  248. data/dyncall/dynload/dynload.3 +64 -0
  249. data/dyncall/dynload/dynload.c +38 -0
  250. data/dyncall/dynload/dynload.h +65 -0
  251. data/dyncall/dynload/dynload_alloc.h +40 -0
  252. data/dyncall/dynload/dynload_darwin.c +89 -0
  253. data/dyncall/dynload/dynload_syms.c +38 -0
  254. data/dyncall/dynload/dynload_syms_elf.c +214 -0
  255. data/dyncall/dynload/dynload_syms_mach-o.c +167 -0
  256. data/dyncall/dynload/dynload_syms_pe.c +109 -0
  257. data/dyncall/dynload/dynload_unix.c +57 -0
  258. data/dyncall/dynload/dynload_windows.c +59 -0
  259. data/dyncall/mkfile +36 -0
  260. data/dyncall/portasm/README.txt +42 -0
  261. data/dyncall/portasm/gen-masm.sh +3 -0
  262. data/dyncall/portasm/portasm-arm.S +36 -0
  263. data/dyncall/portasm/portasm-ppc.S +98 -0
  264. data/dyncall/portasm/portasm-x64-att.S +155 -0
  265. data/dyncall/portasm/portasm-x86.S +127 -0
  266. metadata +311 -0
@@ -0,0 +1,202 @@
1
+ <?xml version="1.0" encoding="Windows-1252"?>
2
+ <VisualStudioProject
3
+ ProjectType="Visual C++"
4
+ Version="8.00"
5
+ Name="test_plain"
6
+ ProjectGUID="{65E1A63C-079D-4F72-8307-E070A499D2EA}"
7
+ RootNamespace="test_plain"
8
+ Keyword="Win32Proj"
9
+ >
10
+ <Platforms>
11
+ <Platform
12
+ Name="Win32"
13
+ />
14
+ </Platforms>
15
+ <ToolFiles>
16
+ </ToolFiles>
17
+ <Configurations>
18
+ <Configuration
19
+ Name="Debug|Win32"
20
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
21
+ IntermediateDirectory="$(ConfigurationName)"
22
+ ConfigurationType="1"
23
+ CharacterSet="1"
24
+ >
25
+ <Tool
26
+ Name="VCPreBuildEventTool"
27
+ />
28
+ <Tool
29
+ Name="VCCustomBuildTool"
30
+ />
31
+ <Tool
32
+ Name="VCXMLDataGeneratorTool"
33
+ />
34
+ <Tool
35
+ Name="VCWebServiceProxyGeneratorTool"
36
+ />
37
+ <Tool
38
+ Name="VCMIDLTool"
39
+ />
40
+ <Tool
41
+ Name="VCCLCompilerTool"
42
+ Optimization="0"
43
+ AdditionalIncludeDirectories="../../../dyncall"
44
+ PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
45
+ MinimalRebuild="true"
46
+ BasicRuntimeChecks="3"
47
+ RuntimeLibrary="3"
48
+ UsePrecompiledHeader="0"
49
+ WarningLevel="3"
50
+ Detect64BitPortabilityProblems="true"
51
+ DebugInformationFormat="4"
52
+ />
53
+ <Tool
54
+ Name="VCManagedResourceCompilerTool"
55
+ />
56
+ <Tool
57
+ Name="VCResourceCompilerTool"
58
+ />
59
+ <Tool
60
+ Name="VCPreLinkEventTool"
61
+ />
62
+ <Tool
63
+ Name="VCLinkerTool"
64
+ LinkIncremental="2"
65
+ GenerateDebugInformation="true"
66
+ SubSystem="1"
67
+ TargetMachine="1"
68
+ />
69
+ <Tool
70
+ Name="VCALinkTool"
71
+ />
72
+ <Tool
73
+ Name="VCManifestTool"
74
+ />
75
+ <Tool
76
+ Name="VCXDCMakeTool"
77
+ />
78
+ <Tool
79
+ Name="VCBscMakeTool"
80
+ />
81
+ <Tool
82
+ Name="VCFxCopTool"
83
+ />
84
+ <Tool
85
+ Name="VCAppVerifierTool"
86
+ />
87
+ <Tool
88
+ Name="VCWebDeploymentTool"
89
+ />
90
+ <Tool
91
+ Name="VCPostBuildEventTool"
92
+ />
93
+ </Configuration>
94
+ <Configuration
95
+ Name="Release|Win32"
96
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
97
+ IntermediateDirectory="$(ConfigurationName)"
98
+ ConfigurationType="1"
99
+ CharacterSet="1"
100
+ WholeProgramOptimization="1"
101
+ >
102
+ <Tool
103
+ Name="VCPreBuildEventTool"
104
+ />
105
+ <Tool
106
+ Name="VCCustomBuildTool"
107
+ />
108
+ <Tool
109
+ Name="VCXMLDataGeneratorTool"
110
+ />
111
+ <Tool
112
+ Name="VCWebServiceProxyGeneratorTool"
113
+ />
114
+ <Tool
115
+ Name="VCMIDLTool"
116
+ />
117
+ <Tool
118
+ Name="VCCLCompilerTool"
119
+ PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
120
+ RuntimeLibrary="2"
121
+ UsePrecompiledHeader="0"
122
+ WarningLevel="3"
123
+ Detect64BitPortabilityProblems="true"
124
+ DebugInformationFormat="3"
125
+ />
126
+ <Tool
127
+ Name="VCManagedResourceCompilerTool"
128
+ />
129
+ <Tool
130
+ Name="VCResourceCompilerTool"
131
+ />
132
+ <Tool
133
+ Name="VCPreLinkEventTool"
134
+ />
135
+ <Tool
136
+ Name="VCLinkerTool"
137
+ LinkIncremental="1"
138
+ GenerateDebugInformation="true"
139
+ SubSystem="1"
140
+ OptimizeReferences="2"
141
+ EnableCOMDATFolding="2"
142
+ TargetMachine="1"
143
+ />
144
+ <Tool
145
+ Name="VCALinkTool"
146
+ />
147
+ <Tool
148
+ Name="VCManifestTool"
149
+ />
150
+ <Tool
151
+ Name="VCXDCMakeTool"
152
+ />
153
+ <Tool
154
+ Name="VCBscMakeTool"
155
+ />
156
+ <Tool
157
+ Name="VCFxCopTool"
158
+ />
159
+ <Tool
160
+ Name="VCAppVerifierTool"
161
+ />
162
+ <Tool
163
+ Name="VCWebDeploymentTool"
164
+ />
165
+ <Tool
166
+ Name="VCPostBuildEventTool"
167
+ />
168
+ </Configuration>
169
+ </Configurations>
170
+ <References>
171
+ </References>
172
+ <Files>
173
+ <Filter
174
+ Name="Source Files"
175
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
176
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
177
+ >
178
+ <File
179
+ RelativePath="..\..\..\test\plain\test_main.cc"
180
+ >
181
+ </File>
182
+ </Filter>
183
+ <Filter
184
+ Name="Header Files"
185
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
186
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
187
+ >
188
+ <File
189
+ RelativePath="..\..\..\test\plain\test_framework.h"
190
+ >
191
+ </File>
192
+ </Filter>
193
+ <Filter
194
+ Name="Resource Files"
195
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
196
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
197
+ >
198
+ </Filter>
199
+ </Files>
200
+ <Globals>
201
+ </Globals>
202
+ </VisualStudioProject>
@@ -0,0 +1,29 @@
1
+ 
2
+ Microsoft Visual Studio Solution File, Format Version 9.00
3
+ # Visual Studio 2005
4
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dyncall", "dyncall\dyncall.vcproj", "{DF67B85F-C8F8-4FB1-A701-867A9C835ABA}"
5
+ EndProject
6
+ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test_plain", "test_plain\test_plain.vcproj", "{65E1A63C-079D-4F72-8307-E070A499D2EA}"
7
+ ProjectSection(ProjectDependencies) = postProject
8
+ {DF67B85F-C8F8-4FB1-A701-867A9C835ABA} = {DF67B85F-C8F8-4FB1-A701-867A9C835ABA}
9
+ EndProjectSection
10
+ EndProject
11
+ Global
12
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
13
+ Debug|Win32 = Debug|Win32
14
+ Release|Win32 = Release|Win32
15
+ EndGlobalSection
16
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
17
+ {DF67B85F-C8F8-4FB1-A701-867A9C835ABA}.Debug|Win32.ActiveCfg = Debug|Win32
18
+ {DF67B85F-C8F8-4FB1-A701-867A9C835ABA}.Debug|Win32.Build.0 = Debug|Win32
19
+ {DF67B85F-C8F8-4FB1-A701-867A9C835ABA}.Release|Win32.ActiveCfg = Release|Win32
20
+ {DF67B85F-C8F8-4FB1-A701-867A9C835ABA}.Release|Win32.Build.0 = Release|Win32
21
+ {65E1A63C-079D-4F72-8307-E070A499D2EA}.Debug|Win32.ActiveCfg = Debug|Win32
22
+ {65E1A63C-079D-4F72-8307-E070A499D2EA}.Debug|Win32.Build.0 = Debug|Win32
23
+ {65E1A63C-079D-4F72-8307-E070A499D2EA}.Release|Win32.ActiveCfg = Release|Win32
24
+ {65E1A63C-079D-4F72-8307-E070A499D2EA}.Release|Win32.Build.0 = Release|Win32
25
+ EndGlobalSection
26
+ GlobalSection(SolutionProperties) = preSolution
27
+ HideSolutionNode = FALSE
28
+ EndGlobalSection
29
+ EndGlobal
data/dyncall/configure ADDED
@@ -0,0 +1,152 @@
1
+ #!/bin/sh
2
+ C=Makefile.config
3
+ printf "# auto-generated by $0\n" >$C
4
+ while [ $# -gt 0 ]; do
5
+ X=$1
6
+ shift 1
7
+ # Shell common:
8
+ case $X in
9
+ --help|-h)
10
+ cat <<EOF
11
+ usage: $0 --prefix=<dir> var1=name1..
12
+ --prefix=<dir>
13
+ --target=<platform> MacOSX,iOS,iPhoneSimulator
14
+ --sdk=<version>
15
+ EOF
16
+ exit 1
17
+ ;;
18
+ # GNU Compatibility:
19
+ --prefix=*)
20
+ PREFIX=`printf -- "${X}" | cut -c 10-`
21
+ ;;
22
+ --target=*)
23
+ TARGET=`printf -- "${X}" | cut -c 10-`
24
+ ;;
25
+ --sdk=*)
26
+ SDK=`printf -- "${X}" | cut -c 7-`
27
+ ;;
28
+ # Environment variables:
29
+ [A-Za-z_]*=*)
30
+ printf "${X}\n" >>$C
31
+ k=`printf "${X}" | cut -d = -f 1`
32
+ v=`printf "${X}" | cut -d = -f 2`
33
+ export $k=$v
34
+ ;;
35
+ # Others fail:
36
+ *)
37
+ printf "error: invalid option ${X}\n" >&2
38
+ exit 1
39
+ ;;
40
+ esac
41
+ done
42
+ printf "PREFIX=${PREFIX:=/usr/local}\n" >>$C
43
+ case ${TARGET:=`uname`} in
44
+ Linux)
45
+ if [ -z "${CFLAGS}" ]; then
46
+ printf "CFLAGS=-fPIC\n" >>$C
47
+ fi
48
+ printf "LDFLAGS=-lm -ldl\n" >>$C
49
+ ;;
50
+ OpenBSD|NetBSD)
51
+ printf "LDFLAGS=-lm\n" >>$C
52
+ ;;
53
+ FreeBSD)
54
+ printf "LDFLAGS=-lm\n" >>$C
55
+ printf "RM=rm -f\n" >>$C
56
+ ;;
57
+ MacOSX|Darwin)
58
+ printf "AR=libtool\n" >>$C
59
+ printf "ARFLAGS=-static -o\n" >>$C
60
+ if [ `uname -n` = 'iPhone' ]; then # building on iPhone itself, uname yields Darwin (gcc setup for current/correct arch)
61
+ printf "CC=gcc\n" >>$C
62
+ elif [ -z ${SDK} ]; then
63
+ case `sw_vers -productVersion` in
64
+ 10.4.*)
65
+ ARCHS="-arch ppc -arch i386 -arch x86_64"
66
+ ;;
67
+ 10.[56].*)
68
+ ARCHS="-arch i386 -arch x86_64 -arch ppc"
69
+ ;;
70
+ 10.6.*)
71
+ ARCHS="-arch i386 -arch x86_64"
72
+ ;;
73
+ 10.[78].*)
74
+ ARCHS="-arch x86_64 -arch i386"
75
+ ;;
76
+ esac
77
+ printf "ASFLAGS=${ARCHS}\n" >>$C
78
+ printf "CFLAGS=${ARCHS}\n" >>$C
79
+ printf "CXXFLAGS=${ARCHS}\n" >>$C
80
+ else
81
+ SDKROOT="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer/SDKs/MacOSX${SDK}.sdk"
82
+ printf "CFLAGS=-isysroot ${SDKROOT}\n" >>$C
83
+ printf "CXXFLAGS=-isysroot ${SDKROOT}\n" >>$C
84
+ fi
85
+ ;;
86
+ iPhoneOS|iOS)
87
+ SDKROOT="`xcode-select -print-path`/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS${SDK}.sdk"
88
+ case "${SDK}" in
89
+ 4.3)
90
+ ARCHS="-arch armv6"
91
+ ;;
92
+ 6.1)
93
+ ARCHS="-arch armv7"
94
+ ;;
95
+ esac
96
+ printf "ASFLAGS=${ARCHS} -isysroot ${SDKROOT}\n" >>$C
97
+ printf "CFLAGS=${ARCHS} -isysroot ${SDKROOT}\n" >>$C
98
+ printf "CXXFLAGS=${ARCHS} -isysroot ${SDKROOT}\n" >>$C
99
+ printf "LDFLAGS=-Wl,-syslibroot ${SDKROOT}\n" >>$C
100
+ ;;
101
+ iPhoneSimulator)
102
+ SDKROOT="`xcode-select -print-path`/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator${SDK}.sdk"
103
+ ARCHS="-arch i386"
104
+ printf "ASFLAGS=${ARCHS} -isysroot ${SDKROOT}\n" >>$C
105
+ printf "CFLAGS=${ARCHS} -isysroot ${SDKROOT}\n" >>$C
106
+ printf "CXXFLAGS=${ARCHS} -isysroot ${SDKROOT}\n" >>$C
107
+ printf "LDFLAGS=-Wl,-syslibroot ${SDKROOT}\n" >>$C
108
+ ;;
109
+ SunOS)
110
+ X=`type CC`
111
+ if [ $? -eq 0 ]; then
112
+ printf "CXX=CC\n" >>$C
113
+ fi
114
+ printf "LDLIBS=-lm\n" >>$C
115
+ ;;
116
+ Minix)
117
+ printf "CC=gcc\n" >>$C
118
+ printf "CXX=g++\n">>$C
119
+ printf "AR=ar\n" >>$C
120
+ ;;
121
+ PSP)
122
+ printf "CC=psp-gcc\n" >>$C
123
+ printf "CXX=psp-g++\n">>$C
124
+ printf "AR=psp-ar\n" >>$C
125
+ ;;
126
+ esac
127
+ BLDTOP="$PWD"
128
+
129
+ # get full path
130
+ case $0 in
131
+ /*)
132
+ FULL=$0
133
+ ;;
134
+ *)
135
+ FULL=$PWD/$0
136
+ ;;
137
+ esac
138
+ SRCTOP=`dirname ${FULL}`
139
+
140
+ FILES=`( cd $SRCTOP ; find . -name "Makefile.generic" )`
141
+ for FILE in $FILES ; do
142
+ SRCFILE="$SRCTOP/$FILE"
143
+ BLDFILE="$BLDTOP/$FILE"
144
+ SRCDIR=`dirname $SRCFILE`
145
+ BLDDIR=`dirname $BLDFILE`
146
+ mkdir -p "$BLDDIR"
147
+ cat <<EOF >$BLDDIR/Makefile
148
+ VPATH = $SRCDIR
149
+ include $BLDTOP/Makefile.config
150
+ include \${VPATH}/Makefile.generic
151
+ EOF
152
+ done
@@ -0,0 +1,157 @@
1
+ @ECHO OFF
2
+ REM ///////////////////////////////////////////////////////////////////////////
3
+ REM
4
+ REM Copyright (c) 2007-2009 Daniel Adler <dadler@uni-goettingen.de>,
5
+ REM Tassilo Philipp <tphilipp@potion-studios.com>
6
+ REM
7
+ REM Permission to use, copy, modify, and distribute this software for any
8
+ REM purpose with or without fee is hereby granted, provided that the above
9
+ REM copyright notice and this permission notice appear in all copies.
10
+ REM
11
+ REM THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12
+ REM WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13
+ REM MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14
+ REM ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15
+ REM WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16
+ REM ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17
+ REM OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18
+ REM
19
+ REM ///////////////////////////////////////////////////////////////////////////
20
+
21
+
22
+ SETLOCAL
23
+
24
+ REM Set default values.
25
+ SET PACKAGE=dyncall
26
+ SET CONFIG_HOST=windows
27
+ SET CONFIG_OS=windows
28
+ SET CONFIG_TOOL=msvc
29
+ SET CONFIG_ASM=ml
30
+ SET CONFIG_CONFIG=release
31
+ IF [%PROCESSOR_ARCHITECTURE%] == [AMD64] (
32
+ SET CONFIG_ARCH=x64
33
+ ) ELSE IF [%PROCESSOR_ARCHITEW6432%] == [AMD64] (
34
+ SET CONFIG_ARCH=x64
35
+ ) ELSE (
36
+ SET CONFIG_ARCH=x86
37
+ )
38
+
39
+ REM Scan arguments.
40
+ :MAIN_LOOP
41
+
42
+
43
+ REM Help.
44
+ IF [%1]==[] (
45
+ GOTO DONE
46
+ ) ELSE IF [%1]==[/?] (
47
+ ECHO.
48
+ ECHO.dyncall configuration shell-script
49
+ ECHO.Usage:
50
+ ECHO. configure.bat [ options ]
51
+ ECHO.
52
+ ECHO.Options:
53
+ ECHO. /? print this page
54
+ ECHO.
55
+ ECHO. /prefix PATH set installation prefix ^(GNU make only^)
56
+ ECHO. /prefix-bd PATH set build directory prefix ^(GNU make only^)
57
+ ECHO. ^(only for use with gmake^)
58
+ ECHO.
59
+ ECHO. /target-x86 build for x86 architecture ^(default^)
60
+ ECHO. /target-x64 build for x64 architecture
61
+ ECHO. /target-psp build for PlayStation Portable ^(homebrew SDK^)
62
+ ECHO. /target-nds-arm build for Nintendo DS ^(devkitPro, ARM mode^)
63
+ ECHO. /target-nds-thumb build for Nintendo DS ^(devkitPro, THUMB mode^)
64
+ ECHO.
65
+ ECHO. /tool-msvc use Microsoft Visual C++ compiler ^(default^)
66
+ ECHO. /tool-gcc use GNU Compiler Collection
67
+ ECHO.
68
+ ECHO. /asm-ml use Microsoft Macro Assembler ^(default^)
69
+ ECHO. /asm-as use the GNU Assembler
70
+ ECHO. /asm-nasm use NASM Assembler
71
+ ECHO.
72
+ ECHO. /config-release build release version ^(default^)
73
+ ECHO. /config-debug build debug version
74
+ GOTO:EOF
75
+ ) ELSE IF [%1]==[/prefix] (
76
+ SET CONFIG_PREFIX=%2
77
+ SHIFT
78
+ ) ELSE IF [%1]==[/prefix-bd] (
79
+ SET CONFIG_BUILDPREFIX=%2
80
+ SHIFT
81
+ ) ELSE IF [%1]==[/target-x86] (
82
+ SET CONFIG_ARCH=x86
83
+ ) ELSE IF [%1]==[/target-x64] (
84
+ SET CONFIG_ARCH=x64
85
+ ) ELSE IF [%1]==[/target-psp] (
86
+ SET CONFIG_ARCH=mips32
87
+ SET CONFIG_OS=psp
88
+ ) ELSE IF [%1]==[/target-nds-arm] (
89
+ SET CONFIG_ARCH=arm32_arm
90
+ SET CONFIG_OS=nds
91
+ ) ELSE IF [%1]==[/target-nds-thumb] (
92
+ SET CONFIG_ARCH=arm32_thumb
93
+ SET CONFIG_OS=nds
94
+ ) ELSE IF [%1]==[/tool-gcc] (
95
+ SET CONFIG_TOOL=gcc
96
+ SET CONFIG_ASM=as
97
+ ) ELSE IF [%1]==[/tool-msvc] (
98
+ SET CONFIG_TOOL=msvc
99
+ SET CONFIG_ASM=ml
100
+ ) ELSE IF [%1]==[/asm-as] (
101
+ SET CONFIG_ASM=as
102
+ ) ELSE IF [%1]==[/asm-nasm] (
103
+ SET CONFIG_ASM=nasm
104
+ ) ELSE IF [%1]==[/asm-ml] (
105
+ SET CONFIG_ASM=ml
106
+ ) ELSE IF [%1]==[/config-release] (
107
+ SET CONFIG_CONFIG=release
108
+ ) ELSE IF [%1]==[/config-debug] (
109
+ SET CONFIG_CONFIG=debug
110
+ ) ELSE (
111
+ ECHO Unknown parameter '%1'.
112
+ GOTO DONE
113
+ )
114
+
115
+ SHIFT
116
+ GOTO MAIN_LOOP
117
+ :DONE
118
+
119
+ IF [%CONFIG_PREFIX%]==[] (
120
+ SET CONFIG_PREFIX=%CD%\install_%CONFIG_OS%_%CONFIG_ARCH%_%CONFIG_TOOL%_%CONFIG_CONFIG%
121
+ )
122
+ IF [%CONFIG_BUILDPREFIX%]==[] (
123
+ SET CONFIG_BUILDPREFIX=%CD%\build_out\%CONFIG_OS%_%CONFIG_ARCH%_%CONFIG_TOOL%_%CONFIG_CONFIG%
124
+ )
125
+
126
+ ECHO # auto-generated by configure.bat >ConfigVars
127
+ ECHO CONFIG_PACKAGE=%PACKAGE%#>>ConfigVars
128
+ ECHO CONFIG_HOST=%CONFIG_HOST%#>>ConfigVars
129
+ ECHO CONFIG_OS=%CONFIG_OS%#>>ConfigVars
130
+ ECHO CONFIG_ARCH=%CONFIG_ARCH%#>>ConfigVars
131
+ ECHO CONFIG_TOOL=%CONFIG_TOOL%#>>ConfigVars
132
+ ECHO CONFIG_ASM=%CONFIG_ASM%#>>ConfigVars
133
+ ECHO CONFIG_CONFIG=%CONFIG_CONFIG%#>>ConfigVars
134
+ ECHO CONFIG_PREFIX=%CONFIG_PREFIX%#>>ConfigVars
135
+ ECHO CONFIG_BUILDPREFIX=%CONFIG_BUILDPREFIX%#>>ConfigVars
136
+
137
+ ECHO Writing following configuration to ConfigVars:
138
+ ECHO.
139
+ ECHO Host OS: %CONFIG_HOST%
140
+ ECHO Target OS: %CONFIG_OS%
141
+ ECHO Target Architecture: %CONFIG_ARCH%
142
+ ECHO Compiler: %CONFIG_TOOL%
143
+ ECHO Assembler: %CONFIG_ASM%
144
+ ECHO Build configuration: %CONFIG_CONFIG%
145
+ ECHO Install prefix: %CONFIG_PREFIX%
146
+ ECHO Build prefix: %CONFIG_BUILDPREFIX%
147
+
148
+
149
+ REM We have to transform some pathes for the nds/devkitPro build.
150
+ IF [%CONFIG_OS%]==[nds] (
151
+ REM Check if DEVKITPRO is set.
152
+ IF [%DEVKITPRO%]==[] (
153
+ ECHO ERROR: Environment variable DEVKITPRO must be set to absolute devkitPro path.
154
+ ) ELSE (
155
+ buildsys\scripts\conf-nds.bat
156
+ )
157
+ )