Changeset 2064 in kBuild
- Timestamp:
- Nov 16, 2008 1:39:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/VAC308.kmk
r2018 r2064 38 38 # Determin VAC308 location. 39 39 ifndef PATH_TOOL_VAC308 40 PATH_TOOL_VAC308 := $(wildcard $(PATH_DEVTOOLS_BLD)/vac/v3 08*)40 PATH_TOOL_VAC308 := $(wildcard $(PATH_DEVTOOLS_BLD)/vac/v3.0.8*) 41 41 ifeq ($(PATH_TOOL_VAC308),) 42 PATH_TOOL_VAC308 := $(wildcard $(PATH_DEVTOOLS_TRG)/vac/v308*)42 PATH_TOOL_VAC308 := $(wildcard $(PATH_DEVTOOLS_BLD)/vac/v308*) 43 43 endif 44 44 ifeq ($(PATH_TOOL_VAC308),) 45 PATH_TOOL_VAC308 := $(lastword $(sort $(PATH_TOOL_VAC308))) 45 PATH_TOOL_VAC308 := $(wildcard $(PATH_DEVTOOLS_TRG)/vac/v3.0.8*) 46 ifeq ($(PATH_TOOL_VAC308),) 47 PATH_TOOL_VAC308 := $(wildcard $(PATH_DEVTOOLS_TRG)/vac/v308*) 48 endif 49 endif 50 ifeq ($(PATH_TOOL_VAC308),) 51 PATH_TOOL_VAC308 := $(firstword $(rsort $(PATH_TOOL_VAC308))) 46 52 endif 47 53 # if not found, we'll enter 'pathless' mode. … … 51 57 endif 52 58 ifneq ($(PATH_TOOL_VAC308),) 53 PATH_TOOL_VAC308_BIN ?= $(PATH_TOOL_VAC308)/bin 54 PATH_TOOL_VAC308_LIB ?= $(PATH_TOOL_VAC308)/lib 55 PATH_TOOL_VAC308_INC ?= $(PATH_TOOL_VAC308)/include 56 57 TOOL_VAC308_CC ?= $(PATH_TOOL_VAC308_BIN)/icc$(HOSTSUFF_EXE) 58 TOOL_VAC308_CXX ?= $(PATH_TOOL_VAC308_BIN)/icc$(HOSTSUFF_EXE) 59 TOOL_VAC308_AR ?= $(PATH_TOOL_VAC308_BIN)/ilib$(HOSTSUFF_EXE) 60 TOOL_VAC308_LD ?= $(PATH_TOOL_VAC308_BIN)/icc$(HOSTSUFF_EXE) 61 TOOL_VAC308_RC ?= $(PATH_TOOL_VAC308_BIN)/rc$(HOSTSUFF_EXE) 59 TOOL_VAC308_PATHLESS := yes 60 61 PATH_TOOL_VAC308_BIN ?= $(PATH_TOOL_VAC308)/bin 62 PATH_TOOL_VAC308_LIB ?= $(PATH_TOOL_VAC308)/lib 63 PATH_TOOL_VAC308_INC ?= $(PATH_TOOL_VAC308)/include 64 PATH_TOOL_VAC308_DLL ?= $(PATH_TOOL_VAC308)/dll 65 PATH_TOOL_VAC308_HELP ?= $(PATH_TOOL_VAC308)/help 66 PATH_TOOL_VAC308_LOCALE ?= $(PATH_TOOL_VAC308)/locale 67 68 TOOL_VAC308_REDIRECT ?= $(REDIRECT) \ 69 -E 'BEGINLIBPATH=$(PATH_TOOL_VAC308_DLL);$(BEGINLIBPATH)' \ 70 -E 'DPATH=$(PATH_TOOL_VAC308_LOCALE);$(PATH_TOOL_VAC308_HELP);$(DPATH)' \ 71 -E 'LIB=' \ 72 -E 'INCLUDE=' \ 73 -- 74 TOOL_VAC308_CC ?= $(TOOL_VAC308_REDIRECT) $(PATH_TOOL_VAC308_BIN)/icc$(HOSTSUFF_EXE) 75 TOOL_VAC308_CXX ?= $(TOOL_VAC308_REDIRECT) $(PATH_TOOL_VAC308_BIN)/icc$(HOSTSUFF_EXE) 76 TOOL_VAC308_AR ?= $(TOOL_VAC308_REDIRECT) $(PATH_TOOL_VAC308_BIN)/ilib$(HOSTSUFF_EXE) 77 TOOL_VAC308_LD ?= $(TOOL_VAC308_REDIRECT) $(PATH_TOOL_VAC308_BIN)/icc$(HOSTSUFF_EXE) 78 TOOL_VAC308_RC ?= $(TOOL_VAC308_REDIRECT) $(PATH_TOOL_VAC308_BIN)/rc$(HOSTSUFF_EXE) 62 79 63 80 else 64 81 # Pathless, relies on the environment. 82 TOOL_VAC308_PATHLESS := 65 83 TOOL_VAC308_CC ?= icc$(HOSTSUFF_EXE) 66 84 TOOL_VAC308_CXX ?= icc$(HOSTSUFF_EXE) … … 81 99 TOOL_VAC308_CFLAGS.debug ?= -Ti+ 82 100 TOOL_VAC308_CFLAGS.release ?= -O 83 TOOL_VAC308_CINCS ?= 101 TOOL_VAC308_CINCS ?= $(PATH_TOOL_VAC308_INC) 84 102 TOOL_VAC308_CDEFS ?= 85 103 … … 88 106 TOOL_VAC308_CXXFLAGS.debug ?= -Ti 89 107 TOOL_VAC308_CXXFLAGS.release ?= -O 90 TOOL_VAC308_CXXINCS ?= 108 TOOL_VAC308_CXXINCS ?= $(PATH_TOOL_VAC308_INC) 91 109 TOOL_VAC308_CXXDEFS ?= 92 110 … … 194 212 # 195 213 # @param $(outbase) Output basename (full). Use this for list files and such. 196 TOOL_VAC308_LINK_LIBRARY_OUTPUT = $(outbase).rsp214 TOOL_VAC308_LINK_LIBRARY_OUTPUT = ## @todo $(outbase).rsp 197 215 TOOL_VAC308_LINK_LIBRARY_DEPEND = $(othersrc) 198 216 TOOL_VAC308_LINK_LIBRARY_DEPORD =
Note:
See TracChangeset
for help on using the changeset viewer.