Changeset 2076 in kBuild
- Timestamp:
- Nov 18, 2008 12:36:21 AM (16 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/MASM710.kmk
r2074 r2076 1 1 # $Id$ 2 2 ## @file 3 # kBuild Tool Config - MASM v 6.103 # kBuild Tool Config - MASM v7.10 4 4 # 5 5 … … 25 25 # 26 26 # As a special exception you are granted permission to include this file, via 27 # the kmk include directive, as you wish without this in itself causing the 28 # resulting makefile, program or whatever to be covered by the GPL license. 27 # the kmk include directive, as you wish without this in itself causing the 28 # resulting makefile, program or whatever to be covered by the GPL license. 29 29 # This exception does not however invalidate any other reasons why the makefile, 30 30 # program, whatever should not be covered the GPL. … … 32 32 # 33 33 34 TOOL_MASM 610 := Microsoft Macro Assembler v6.1034 TOOL_MASM710 := Microsoft Macro Assembler v7.10 35 35 36 36 # Tool Specific Properties 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)))) 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)))) 41 endif 42 ifeq ($(TOOL_MASM710_AS),) 43 TOOL_MASM710_AS := $(firstword $(rsort $(wildcard $(PATH_DEVTOOLS)/win.x86/vcc/v7*/bin/ml$(HOSTSUFF_EXE)))) 41 44 endif 42 45 endif 43 ifeq ($(TOOL_MASM 610_AS),)44 TOOL_MASM 610_AS := $(firstword $(which ml$(HOSTSUFF_EXE)) path/notfound/ml$(HOSTSUFF_EXE))46 ifeq ($(TOOL_MASM710_AS),) 47 TOOL_MASM710_AS := $(firstword $(which ml$(HOSTSUFF_EXE)) path/notfound/ml$(HOSTSUFF_EXE)) 45 48 endif 46 49 47 50 # General Properties used by kBuild 48 TOOL_MASM 610_ASFLAGS ?= /nologo51 TOOL_MASM710_ASFLAGS ?= /nologo 49 52 50 53 51 TOOL_MASM 610_COMPILE_AS_OUTPUT = $(outbase).lst52 TOOL_MASM 610_COMPILE_AS_DEPEND =53 TOOL_MASM 610_COMPILE_AS_DEPORD =54 define TOOL_MASM 610_COMPILE_AS_CMDS54 TOOL_MASM710_COMPILE_AS_OUTPUT = $(outbase).lst 55 TOOL_MASM710_COMPILE_AS_DEPEND = 56 TOOL_MASM710_COMPILE_AS_DEPORD = 57 define TOOL_MASM710_COMPILE_AS_CMDS 55 58 $(QUIET)$(REDIRECT) \ 56 59 -E 'INCLUDE=$(subst $(SP),,$(addsuffix ;,$(subst /,\,$(incs))))' \ 57 60 -E 'MASM=' -E 'ML=' \ 58 61 -- \ 59 $(subst /,\\,$(TOOL_MASM 610_AS)) -c \62 $(subst /,\\,$(TOOL_MASM710_AS)) -c \ 60 63 $(strip $(flags)) \ 61 64 $(addprefix -D,$(defs)) \
Note:
See TracChangeset
for help on using the changeset viewer.