Changeset 2069 for trunk/kBuild/tools/OPENWATCOM.kmk
- Timestamp:
- Nov 17, 2008, 3:27:44 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/OPENWATCOM.kmk
r2068 r2069 103 103 104 104 # General Properties used by kBuild 105 TOOL_OPENWATCOM_ASOBJSUFF ?= .obj 106 TOOL_OPENWATCOM_ASFLAGS ?= -zq 107 TOOL_OPENWATCOM_ASFLAGS.os2 ?= -bt=os2 108 TOOL_OPENWATCOM_ASFLAGS.win ?= -bt=nt 109 105 110 TOOL_OPENWATCOM_COBJSUFF ?= .obj 106 111 TOOL_OPENWATCOM_CFLAGS ?= -zq 107 112 TOOL_OPENWATCOM_CFLAGS.os2 ?= -bt=os2 108 113 TOOL_OPENWATCOM_CFLAGS.win ?= -bt=nt 109 TOOL_OPENWATCOM_CFLAGS.debug ?=110 TOOL_OPENWATCOM_CFLAGS.release ?=111 114 TOOL_OPENWATCOM_CINCS ?= $(PATH_TOOL_OPENWATCOM)/h 112 TOOL_OPENWATCOM_CDEFS ?=113 115 114 116 TOOL_OPENWATCOM_CXXOBJSUFF ?= .obj … … 116 118 TOOL_OPENWATCOM_CXXFLAGS.os2 ?= -bt=os2 117 119 TOOL_OPENWATCOM_CXXFLAGS.win ?= -bt=nt 118 TOOL_OPENWATCOM_CXXFLAGS.debug ?=119 TOOL_OPENWATCOM_CXXFLAGS.release ?=120 120 TOOL_OPENWATCOM_CXXINCS ?= $(PATH_TOOL_OPENWATCOM)/h 121 TOOL_OPENWATCOM_CXXDEFS ?=122 121 123 122 TOOL_OPENWATCOM_RCOBJSUFF ?= .res … … 126 125 TOOL_OPENWATCOM_RCFLAGS.win ?= -bt=nt 127 126 TOOL_OPENWATCOM_RCINCS ?= $(PATH_TOOL_OPENWATCOM)/h 128 TOOL_OPENWATCOM_RCDEFS ?=129 127 130 128 TOOL_OPENWATCOM_ARFLAGS ?= … … 134 132 TOOL_OPENWATCOM_LDFLAGS.os2 ?= -bt=os2 135 133 TOOL_OPENWATCOM_LDFLAGS.win ?= -bt=nt 136 TOOL_OPENWATCOM_LDFLAGS.debug ?= 137 138 134 135 136 TOOL_OPENWATCOM_COMPILE_AS_DEPEND = 137 TOOL_OPENWATCOM_COMPILE_AS_DEPORD = 138 TOOL_OPENWATCOM_COMPILE_AS_OUTPUT = $(obj).err 139 define TOOL_OPENWATCOM_COMPILE_AS_CMDS 140 $(QUIET) $(call TOOL_OPENWATCOM_ENV_SETUP) $(TOOL_OPENWATCOM_AS) \ 141 $(flags) \ 142 $(addsuffix , $(addprefix -i=, $(subst /,\\,$(incs)))) \ 143 $(addprefix -d, $(defs)) \ 144 -fo=$(subst /,\\,$(obj)) \ 145 -fr=$(subst /,\\,$(obj)).err \ 146 $(subst /,\\,$(abspath $(source))) 147 $(QUIET)$(APPEND) -n $(obj).err 148 ## @todo dependencies 149 endef 150 151 139 152 TOOL_OPENWATCOM_COMPILE_C_DEPEND = 140 153 TOOL_OPENWATCOM_COMPILE_C_DEPORD = … … 184 197 TOOL_OPENWATCOM_LINK_LIBRARY_DEPORD = 185 198 define TOOL_OPENWATCOM_LINK_LIBRARY_CMDS 186 $(if $(strip $(othersrc)),\ 187 $(QUIET)$(TOOL_OPENWATCOM_ENV_SETUP) \ 188 $(TOOL_OPENWATCOM_IMP) $(TOOL_OPENWATCOM_IMPFLAGS) $(subst /,\\,$(out)) $(subst /,\\,$(othersrc)) ) 189 $(if $(strip $(objs)),$(QUIET)$(TOOL_OPENWATCOM_ENV_SETUP) \ 190 $(QUIET)$(TOOL_OPENWATCOM_ENV_SETUP) \ 191 $(TOOL_OPENWATCOM_AR) $(flags) $(subst /,\\,$(out)) $(foreach obj,$(subst /,\\,$(objs)),+"$(obj)") ";" ) 199 $(QUIET)$(APPEND) -tn $(outbase).rsp $(foreach obj,$(subst /,\,$(objs) $(othersrc)),'+"$(obj)"') 200 $(QUIET)$(TOOL_OPENWATCOM_ENV_SETUP) $(TOOL_OPENWATCOM_AR) $(flags) $(subst /,\\,$(out)) @$(outbase).rsp 192 201 endef 193 202
Note:
See TracChangeset
for help on using the changeset viewer.