OLD | NEW |
1 # Makefile for building the Dartino VM as an LK [1] module. | 1 # Makefile for building the Dartino VM as an LK [1] module. |
2 # | 2 # |
3 # This builds the Dartino VM from source with the LK build system, and | 3 # This builds the Dartino VM from source with the LK build system, and |
4 # require g++, python and git to be installed on the host. | 4 # require g++, python and git to be installed on the host. |
5 # | 5 # |
6 # As part of the build a tool (dartino_vm_library_generator) is | 6 # As part of the build a tool (dartino_vm_library_generator) is |
7 # compiled on the host. This requires that g++ in installed on the | 7 # compiled on the host. This requires that g++ in installed on the |
8 # host. | 8 # host. |
9 # | 9 # |
10 # The build also generated the Dartino VM version from the information | 10 # The build also generated the Dartino VM version from the information |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 $(DARTINO_SRC_SHARED_SRCS) \ | 288 $(DARTINO_SRC_SHARED_SRCS) \ |
289 $(DARTINO_SRC_VM)/assembler_arm64_linux.cc \ | 289 $(DARTINO_SRC_VM)/assembler_arm64_linux.cc \ |
290 $(DARTINO_SRC_VM)/assembler_arm64_macos.cc \ | 290 $(DARTINO_SRC_VM)/assembler_arm64_macos.cc \ |
291 $(DARTINO_SRC_VM)/assembler_arm.cc \ | 291 $(DARTINO_SRC_VM)/assembler_arm.cc \ |
292 $(DARTINO_SRC_VM)/assembler_arm.h \ | 292 $(DARTINO_SRC_VM)/assembler_arm.h \ |
293 $(DARTINO_SRC_VM)/assembler_arm_thumb_linux.cc \ | 293 $(DARTINO_SRC_VM)/assembler_arm_thumb_linux.cc \ |
294 $(DARTINO_SRC_VM)/assembler_arm_linux.cc \ | 294 $(DARTINO_SRC_VM)/assembler_arm_linux.cc \ |
295 $(DARTINO_SRC_VM)/assembler_arm_thumb_macos.cc \ | 295 $(DARTINO_SRC_VM)/assembler_arm_thumb_macos.cc \ |
296 $(DARTINO_SRC_VM)/assembler_arm_macos.cc \ | 296 $(DARTINO_SRC_VM)/assembler_arm_macos.cc \ |
297 $(DARTINO_SRC_VM)/assembler.h \ | 297 $(DARTINO_SRC_VM)/assembler.h \ |
| 298 $(DARTINO_SRC_VM)/assembler_mips.cc |
| 299 $(DARTINO_SRC_VM)/assembler_mips.h |
| 300 $(DARTINO_SRC_VM)/assembler_mips_linux.cc |
298 $(DARTINO_SRC_VM)/assembler_x64.cc \ | 301 $(DARTINO_SRC_VM)/assembler_x64.cc \ |
299 $(DARTINO_SRC_VM)/assembler_x64.h \ | 302 $(DARTINO_SRC_VM)/assembler_x64.h \ |
300 $(DARTINO_SRC_VM)/assembler_x64_linux.cc \ | 303 $(DARTINO_SRC_VM)/assembler_x64_linux.cc \ |
301 $(DARTINO_SRC_VM)/assembler_x64_macos.cc \ | 304 $(DARTINO_SRC_VM)/assembler_x64_macos.cc \ |
302 $(DARTINO_SRC_VM)/assembler_x86.cc \ | 305 $(DARTINO_SRC_VM)/assembler_x86.cc \ |
303 $(DARTINO_SRC_VM)/assembler_x86.h \ | 306 $(DARTINO_SRC_VM)/assembler_x86.h \ |
304 $(DARTINO_SRC_VM)/assembler_x86_linux.cc \ | 307 $(DARTINO_SRC_VM)/assembler_x86_linux.cc \ |
305 $(DARTINO_SRC_VM)/assembler_x86_macos.cc \ | 308 $(DARTINO_SRC_VM)/assembler_x86_macos.cc \ |
306 $(DARTINO_SRC_VM)/assembler_x86_win.cc \ | 309 $(DARTINO_SRC_VM)/assembler_x86_win.cc \ |
307 $(DARTINO_SRC_VM)/generator.h \ | 310 $(DARTINO_SRC_VM)/generator.h \ |
308 $(DARTINO_SRC_VM)/generator.cc \ | 311 $(DARTINO_SRC_VM)/generator.cc \ |
309 $(DARTINO_SRC_VM)/interpreter_arm.cc \ | 312 $(DARTINO_SRC_VM)/interpreter_arm.cc \ |
| 313 $(DARTINO_SRC_VM)/interpreter_mips.cc \ |
310 $(DARTINO_SRC_VM)/interpreter_x86.cc \ | 314 $(DARTINO_SRC_VM)/interpreter_x86.cc \ |
311 $(DARTINO_SRC_VM)/interpreter_x64.cc | 315 $(DARTINO_SRC_VM)/interpreter_x64.cc |
312 | 316 |
313 # Sources for the flashtool host-tool. | 317 # Sources for the flashtool host-tool. |
314 FLASHTOOL_SRCS := \ | 318 FLASHTOOL_SRCS := \ |
315 $(DARTINO_SRC_VM_SRCS_RUNTIME) \ | 319 $(DARTINO_SRC_VM_SRCS_RUNTIME) \ |
316 $(DARTINO_SRC_SHARED_SRCS) \ | 320 $(DARTINO_SRC_SHARED_SRCS) \ |
317 $(DARTINO_SRC_RELOCATION_SRCS) \ | 321 $(DARTINO_SRC_RELOCATION_SRCS) \ |
318 $(DARTINO_SRC_FLASHTOOL)/main.cc \ | 322 $(DARTINO_SRC_FLASHTOOL)/main.cc \ |
319 $(BUILDDIR)/version.cc | 323 $(BUILDDIR)/version.cc |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 | 441 |
438 EXTRA_BUILDDEPS += $(FLASHTOOL_TOOL) | 442 EXTRA_BUILDDEPS += $(FLASHTOOL_TOOL) |
439 | 443 |
440 EXTRA_CLEANDEPS += host-tools-clean | 444 EXTRA_CLEANDEPS += host-tools-clean |
441 | 445 |
442 .PHONY: host-tools-clean | 446 .PHONY: host-tools-clean |
443 host-tools-clean: | 447 host-tools-clean: |
444 rm -rf $(HOST_TOOLS_CCOBJS) $(HOST_TOOLS_DEPS) $(HOST_GENERATED) | 448 rm -rf $(HOST_TOOLS_CCOBJS) $(HOST_TOOLS_DEPS) $(HOST_GENERATED) |
445 | 449 |
446 include make/module.mk | 450 include make/module.mk |
OLD | NEW |