Changeset 2895 for trunk/kBuild/tools/OPENWATCOM-16.kmk
- Timestamp:
- Sep 8, 2016, 3:28:37 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/OPENWATCOM-16.kmk
r2749 r2895 44 44 TOOL_OPENWATCOM-16_COMPILE_AS_DEPEND = 45 45 TOOL_OPENWATCOM-16_COMPILE_AS_DEPORD = 46 TOOL_OPENWATCOM-16_COMPILE_AS_OUTPUT = $(obj).err 46 TOOL_OPENWATCOM-16_COMPILE_AS_OUTPUT_MAYBE = $(obj).err 47 ifdef TOOL_OPENWATCOM_USE_KSUBMIT 48 define TOOL_OPENWATCOM-16_COMPILE_AS_CMDS 49 $(QUIET)$(call TOOL_OPENWATCOM_ENV_SETUP_BD,, -P $(DEP_OBJ_INT) -s -f -q -o "$(dep)" -t "$(obj)" "$(obj)") \ 50 $(TOOL_OPENWATCOM_AS) \ 51 $(flags) \ 52 $(addsuffix , $(addprefix -i=, $(call TOOL_OPENWATCOM_FIX_SLASHES,$(incs)))) \ 53 $(addprefix -d, $(defs)) \ 54 -fo=$(call TOOL_OPENWATCOM_FIX_SLASHES,$(obj)) \ 55 -fr=$(call TOOL_OPENWATCOM_FIX_SLASHES,$(obj)).err \ 56 $(call TOOL_OPENWATCOM_FIX_SLASHES,$(abspath $(source))) 57 endef 58 else 47 59 define TOOL_OPENWATCOM-16_COMPILE_AS_CMDS 48 60 $(QUIET) $(call TOOL_OPENWATCOM_ENV_SETUP_BD) $(TOOL_OPENWATCOM_AS) \ … … 53 65 -fr=$(call TOOL_OPENWATCOM_FIX_SLASHES,$(obj)).err \ 54 66 $(call TOOL_OPENWATCOM_FIX_SLASHES,$(abspath $(source))) 55 $(QUIET)$( APPEND) -n $(obj).err56 ## @todo dependencies 57 end ef67 $(QUIET)$(DEP_OBJ) -s -f -q -o "$(dep)" -t "$(obj)" "$(obj)" 68 endef 69 endif 58 70 59 71 TOOL_OPENWATCOM-16_COMPILE_C_DEPEND = 60 72 TOOL_OPENWATCOM-16_COMPILE_C_DEPORD = 61 TOOL_OPENWATCOM-16_COMPILE_C_OUTPUT = $(obj).err 73 TOOL_OPENWATCOM-16_COMPILE_C_OUTPUT_MAYBE = $(obj).err 74 ifdef TOOL_OPENWATCOM_USE_KSUBMIT 62 75 define TOOL_OPENWATCOM-16_COMPILE_C_CMDS 63 $(QUIET) $(call TOOL_OPENWATCOM_ENV_SETUP_BD) $(TOOL_OPENWATCOM_CC16) \ 64 $(flags) \ 65 $(addsuffix , $(addprefix -i=, $(call TOOL_OPENWATCOM_FIX_SLASHES,$(incs)))) \ 66 $(addprefix -d, $(defs)) \ 67 -fo=$(call TOOL_OPENWATCOM_FIX_SLASHES,$(obj)) \ 68 -fr=$(call TOOL_OPENWATCOM_FIX_SLASHES,$(obj)).err \ 69 $(call TOOL_OPENWATCOM_FIX_SLASHES,$(abspath $(source))) 70 $(QUIET)$(APPEND) -n $(obj).err 71 ## @todo dependencies 72 endef 76 $(QUIET)$(call TOOL_OPENWATCOM_ENV_SETUP_BD,, -P $(DEP_OBJ_INT) -s -f -q -o "$(dep)" -t "$(obj)" "$(obj)") \ 77 $(TOOL_OPENWATCOM_CC16) \ 78 $(flags) \ 79 $(addsuffix , $(addprefix -i=, $(call TOOL_OPENWATCOM_FIX_SLASHES,$(incs)))) \ 80 $(addprefix -d, $(defs)) \ 81 -fo=$(call TOOL_OPENWATCOM_FIX_SLASHES,$(obj)) \ 82 -fr=$(call TOOL_OPENWATCOM_FIX_SLASHES,$(obj)).err \ 83 $(call TOOL_OPENWATCOM_FIX_SLASHES,$(abspath $(source))) 84 endef 85 else 86 define TOOL_OPENWATCOM-16_COMPILE_C_CMDS 87 $(QUIET)$(call TOOL_OPENWATCOM_ENV_SETUP_BD) $(TOOL_OPENWATCOM_CC16) \ 88 $(flags) \ 89 $(addsuffix , $(addprefix -i=, $(call TOOL_OPENWATCOM_FIX_SLASHES,$(incs)))) \ 90 $(addprefix -d, $(defs)) \ 91 -fo=$(call TOOL_OPENWATCOM_FIX_SLASHES,$(obj)) \ 92 -fr=$(call TOOL_OPENWATCOM_FIX_SLASHES,$(obj)).err \ 93 $(call TOOL_OPENWATCOM_FIX_SLASHES,$(abspath $(source))) 94 $(QUIET)$(DEP_OBJ) -s -f -q -o "$(dep)" -t "$(obj)" "$(obj)" 95 endef 96 endif 73 97 74 98 TOOL_OPENWATCOM-16_COMPILE_CXX_DEPEND = 75 99 TOOL_OPENWATCOM-16_COMPILE_CXX_DEPORD = 76 TOOL_OPENWATCOM-16_COMPILE_CXX_OUTPUT = $(obj).err 100 TOOL_OPENWATCOM-16_COMPILE_CXX_OUTPUT_MAYBE = $(obj).err 101 ifdef TOOL_OPENWATCOM_USE_KSUBMIT 77 102 define TOOL_OPENWATCOM-16_COMPILE_CXX_CMDS 78 $(QUIET) $(call TOOL_OPENWATCOM_ENV_SETUP_BD) $(TOOL_OPENWATCOM_CXX16) \ 79 $(flags) \ 80 $(addsuffix , $(addprefix -i=, $(call TOOL_OPENWATCOM_FIX_SLASHES,$(incs)))) \ 81 $(addprefix -d, $(defs)) \ 82 -fo=$(call TOOL_OPENWATCOM_FIX_SLASHES,$(obj)) \ 83 -fr=$(call TOOL_OPENWATCOM_FIX_SLASHES,$(obj)).err \ 84 $(call TOOL_OPENWATCOM_FIX_SLASHES,$(abspath $(source))) 85 $(QUIET)$(APPEND) -n $(obj).err 86 ## @todo dependencies 87 endef 103 $(QUIET)$(call TOOL_OPENWATCOM_ENV_SETUP_BD,, -P $(DEP_OBJ_INT) -s -f -q -o "$(dep)" -t "$(obj)" "$(obj)") \ 104 $(TOOL_OPENWATCOM_CXX16) \ 105 $(flags) \ 106 $(addsuffix , $(addprefix -i=, $(call TOOL_OPENWATCOM_FIX_SLASHES,$(incs)))) \ 107 $(addprefix -d, $(defs)) \ 108 -fo=$(call TOOL_OPENWATCOM_FIX_SLASHES,$(obj)) \ 109 -fr=$(call TOOL_OPENWATCOM_FIX_SLASHES,$(obj)).err \ 110 $(call TOOL_OPENWATCOM_FIX_SLASHES,$(abspath $(source))) 111 endef 112 else 113 define TOOL_OPENWATCOM-16_COMPILE_CXX_CMDS 114 $(QUIET)$(call TOOL_OPENWATCOM_ENV_SETUP_BD) $(TOOL_OPENWATCOM_CXX16) \ 115 $(flags) \ 116 $(addsuffix , $(addprefix -i=, $(call TOOL_OPENWATCOM_FIX_SLASHES,$(incs)))) \ 117 $(addprefix -d, $(defs)) \ 118 -fo=$(call TOOL_OPENWATCOM_FIX_SLASHES,$(obj)) \ 119 -fr=$(call TOOL_OPENWATCOM_FIX_SLASHES,$(obj)).err \ 120 $(call TOOL_OPENWATCOM_FIX_SLASHES,$(abspath $(source))) 121 $(QUIET)$(DEP_OBJ) -s -f -q -o "$(dep)" -t "$(obj)" "$(obj)" 122 endef 123 endif 88 124 89 125 TOOL_OPENWATCOM-16_COMPILE_RC_OUTPUT = … … 91 127 TOOL_OPENWATCOM-16_COMPILE_RC_DEPORD = 92 128 define TOOL_OPENWATCOM-16_COMPILE_RC_CMDS 93 $(QUIET) 129 $(QUIET)$(call TOOL_OPENWATCOM_ENV_SETUP) \ 94 130 $(TOOL_OPENWATCOM_RC) -r\ 95 131 $(flags) \
Note:
See TracChangeset
for help on using the changeset viewer.