Changeset 2072 in kBuild
- Timestamp:
- Nov 17, 2008 2:52:00 AM (16 years ago)
- Location:
- trunk/kBuild/tools
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/MASM600.kmk
r2071 r2072 32 32 # 33 33 34 TOOL_MASM600 := Microsoft Macro Assembler v 5.0034 TOOL_MASM600 := Microsoft Macro Assembler v6.00 35 35 36 36 # Tool Specific Properties … … 48 48 endif 49 49 endif 50 ifneq ($(TOOL_MASM600_AS),)51 TOOL_MASM600_AS := $(TOOL_MASM600_AS)52 endif53 50 endif 54 51 ifeq ($(TOOL_MASM600_AS),) … … 60 57 61 58 62 ## Compile Assembly source. 63 # @param $(target) Normalized main target name. 64 # @param $(source) Source filename (relative). 65 # @param $(obj) Object file name. This shall be (re)created by the compilation. 66 # @param $(dep) Dependcy file. This shall be (re)created by the compilation. 67 # @param $(flags) Flags. 68 # @param $(defs) Definitions. No -D or something. 69 # @param $(incs) Includes. No -I or something. 70 # @param $(dirdep) Directory creation dependency. 71 # @param $(deps) Other dependencies. 72 # 73 # @param $(outbase) Output basename (full). Use this for list files and such. 74 # @param $(objsuff) Object suffix. 75 # 59 ## 76 60 # @remarks MASM v5.10 has serious trouble, so play safe with v6.00 as well. 77 61 # See MASM510.kmk for details. -
trunk/kBuild/tools/MASM610.kmk
r2071 r2072 1 1 # $Id$ 2 2 ## @file 3 # kBuild Tool Config - MASM v6. 003 # kBuild Tool Config - MASM v6.10 4 4 # 5 5 … … 32 32 # 33 33 34 TOOL_MASM6 00 := Microsoft Macro Assembler v5.0034 TOOL_MASM610 := Microsoft Macro Assembler v6.10 35 35 36 36 # Tool Specific Properties 37 ifndef TOOL_MASM600_AS 38 TOOL_MASM600_AS := $(firstword $(rsort $(wildcard $(PATH_DEVTOOLS_BLD)/masm/v6.00*/binp/ml$(HOSTSUFF_EXE)))) 39 ifeq ($(TOOL_MASM600_AS),) 40 TOOL_MASM600_AS := $(firstword $(rsort $(wildcard $(PATH_DEVTOOLS_TRG)/masm/v6.00*/binp/ml$(HOSTSUFF_EXE)))) 41 endif 42 ifeq ($(TOOL_MASM600_AS),) 43 TOOL_MASM600_AS := $(firstword $(rsort $(wildcard $(PATH_DEVTOOLS)/os2.x86/ddk/*/toolkits/masm60/binp/ml$(HOSTSUFF_EXE)))) 44 endif 45 ifeq ($(TOOL_MASM600_AS),) 46 if1of ($(USER) $(USERNAME) $(LOGNAME), bird) 47 TOOL_MASM600_AS := $(wildcard D:/dev/DDK/*/toolkits/masm60/binp/ML.EXE) 48 endif 49 endif 50 ifneq ($(TOOL_MASM600_AS),) 51 TOOL_MASM600_AS := $(TOOL_MASM600_AS) 37 ifndef TOOL_MASM610_AS 38 TOOL_MASM610_AS := $(firstword $(rsort $(wildcard $(PATH_DEVTOOLS_BLD)/masm/v6.10*/binp/ml$(HOSTSUFF_EXE)))) 39 ifeq ($(TOOL_MASM610_AS),) 40 TOOL_MASM610_AS := $(firstword $(rsort $(wildcard $(PATH_DEVTOOLS_TRG)/masm/v6.10*/binp/ml$(HOSTSUFF_EXE)))) 52 41 endif 53 42 endif 54 ifeq ($(TOOL_MASM6 00_AS),)55 TOOL_MASM6 00_AS := $(firstword $(which ml$(HOSTSUFF_EXE)) path/notfound/ml$(HOSTSUFF_EXE))43 ifeq ($(TOOL_MASM610_AS),) 44 TOOL_MASM610_AS := $(firstword $(which ml$(HOSTSUFF_EXE)) path/notfound/ml$(HOSTSUFF_EXE)) 56 45 endif 57 46 58 47 # General Properties used by kBuild 59 TOOL_MASM6 00_ASFLAGS ?= /nologo48 TOOL_MASM610_ASFLAGS ?= /nologo 60 49 61 50 62 ## Compile Assembly source. 63 # @param $(target) Normalized main target name. 64 # @param $(source) Source filename (relative). 65 # @param $(obj) Object file name. This shall be (re)created by the compilation. 66 # @param $(dep) Dependcy file. This shall be (re)created by the compilation. 67 # @param $(flags) Flags. 68 # @param $(defs) Definitions. No -D or something. 69 # @param $(incs) Includes. No -I or something. 70 # @param $(dirdep) Directory creation dependency. 71 # @param $(deps) Other dependencies. 72 # 73 # @param $(outbase) Output basename (full). Use this for list files and such. 74 # @param $(objsuff) Object suffix. 75 # 76 # @remarks MASM v5.10 has serious trouble, so play safe with v6.00 as well. 77 # See MASM510.kmk for details. 78 TOOL_MASM600_COMPILE_AS_OUTPUT = $(outbase).lst 79 TOOL_MASM600_COMPILE_AS_DEPEND = 80 TOOL_MASM600_COMPILE_AS_DEPORD = 81 define TOOL_MASM600_COMPILE_AS_CMDS 51 TOOL_MASM610_COMPILE_AS_OUTPUT = $(outbase).lst 52 TOOL_MASM610_COMPILE_AS_DEPEND = 53 TOOL_MASM610_COMPILE_AS_DEPORD = 54 define TOOL_MASM610_COMPILE_AS_CMDS 82 55 $(QUIET)$(REDIRECT) \ 83 -c3 -c4 -c5 -c6 -c7 -c8 -c9 -c10 -c11 -c12 -c13 -c14 -c15 -c16 -c17 -c18 -c19 -Z \84 56 -E 'INCLUDE=$(subst $(SP),,$(addsuffix ;,$(subst /,\,$(incs))))' \ 57 -E 'MASM=' -E 'ML=' \ 85 58 -- \ 86 $(subst /,\\,$(TOOL_MASM6 00_AS)) -c \59 $(subst /,\\,$(TOOL_MASM610_AS)) -c \ 87 60 $(strip $(flags)) \ 88 61 $(addprefix -D,$(defs)) \
Note:
See TracChangeset
for help on using the changeset viewer.