Changeset 2077 for trunk/kBuild/tools
- Timestamp:
- Nov 18, 2008, 1:50:43 AM (17 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/MASM6PLUS.kmk
r2076 r2077 1 1 # $Id$ 2 2 ## @file 3 # kBuild Tool Config - MASM v 7.103 # kBuild Tool Config - MASM v6 and later. 4 4 # 5 5 … … 32 32 # 33 33 34 TOOL_MASM 710 := Microsoft Macro Assembler v7.1034 TOOL_MASM6PLUS := Microsoft Macro Assembler v6 and later. 35 35 36 36 # Tool Specific Properties 37 ifndef TOOL_MASM710_AS 38 TOOL_MASM710_AS := $(firstword $(rsort $(wildcard $(PATH_DEVTOOLS_BLD)/masm/v7.10*/binp/ml$(HOSTSUFF_EXE)))) 39 ifeq ($(TOOL_MASM710_AS),) 40 TOOL_MASM710_AS := $(firstword $(rsort $(wildcard $(PATH_DEVTOOLS_TRG)/masm/v7.10*/binp/ml$(HOSTSUFF_EXE)))) 37 ifndef TOOL_MASM6PLUS_AS 38 TOOL_MASM6PLUS_AS := $(firstword $(rsort $(wildcard \ 39 $(PATH_DEVTOOLS_BLD)/masm/*/bin$(if $(eq $(KBUILD_HOST),os2),p,)/ml$(HOSTSUFF_EXE)\ 40 ))) 41 ifeq ($(TOOL_MASM6PLUS_AS),) 42 TOOL_MASM6PLUS_AS := $(firstword $(rsort $(wildcard \ 43 $(PATH_DEVTOOLS_BLD)/vcc/*/bin/ml$(HOSTSUFF_EXE) \ 44 ))) 41 45 endif 42 ifeq ($(TOOL_MASM710_AS),) 43 TOOL_MASM710_AS := $(firstword $(rsort $(wildcard $(PATH_DEVTOOLS)/win.x86/vcc/v7*/bin/ml$(HOSTSUFF_EXE)))) 46 ifeq ($(TOOL_MASM6PLUS_AS),) 47 TOOL_MASM6PLUS_AS := $(firstword $(rsort $(wildcard \ 48 $(PATH_DEVTOOLS)/win.x86/vcc/*/bin/ml$(HOSTSUFF_EXE) \ 49 ))) 44 50 endif 45 51 endif 46 ifeq ($(TOOL_MASM 710_AS),)47 TOOL_MASM 710_AS := $(firstword $(which ml$(HOSTSUFF_EXE)) path/notfound/ml$(HOSTSUFF_EXE))52 ifeq ($(TOOL_MASM6PLUS_AS),) 53 TOOL_MASM6PLUS_AS := $(firstword $(which ml$(HOSTSUFF_EXE)) path/notfound/ml$(HOSTSUFF_EXE)) 48 54 endif 49 55 50 56 # General Properties used by kBuild 51 TOOL_MASM 710_ASFLAGS ?= /nologo57 TOOL_MASM6PLUS_ASFLAGS ?= /nologo 52 58 53 59 54 TOOL_MASM 710_COMPILE_AS_OUTPUT = $(outbase).lst55 TOOL_MASM 710_COMPILE_AS_DEPEND =56 TOOL_MASM 710_COMPILE_AS_DEPORD =57 define TOOL_MASM 710_COMPILE_AS_CMDS60 TOOL_MASM6PLUS_COMPILE_AS_OUTPUT = $(outbase).lst 61 TOOL_MASM6PLUS_COMPILE_AS_DEPEND = 62 TOOL_MASM6PLUS_COMPILE_AS_DEPORD = 63 define TOOL_MASM6PLUS_COMPILE_AS_CMDS 58 64 $(QUIET)$(REDIRECT) \ 59 65 -E 'INCLUDE=$(subst $(SP),,$(addsuffix ;,$(subst /,\,$(incs))))' \ 60 66 -E 'MASM=' -E 'ML=' \ 61 67 -- \ 62 $(subst /,\\,$(TOOL_MASM 710_AS)) -c \68 $(subst /,\\,$(TOOL_MASM6PLUS_AS)) -c \ 63 69 $(strip $(flags)) \ 64 70 $(addprefix -D,$(defs)) \
Note:
See TracChangeset
for help on using the changeset viewer.