Changeset 2069 in kBuild
- Timestamp:
- Nov 17, 2008 2:27:44 AM (16 years ago)
- Location:
- trunk/kBuild/tools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/OPENWATCOM-16.kmk
r2068 r2069 41 41 TOOL_OPENWATCOM-16_LDFLAGS.win ?= -bt=windows 42 42 43 43 44 TOOL_OPENWATCOM-16_COMPILE_AS_DEPEND = 45 TOOL_OPENWATCOM-16_COMPILE_AS_DEPORD = 46 TOOL_OPENWATCOM-16_COMPILE_AS_OUTPUT = $(obj).err 47 define TOOL_OPENWATCOM-16_COMPILE_AS_CMDS 48 $(QUIET) $(call TOOL_OPENWATCOM_ENV_SETUP) $(TOOL_OPENWATCOM_CC16) \ 49 $(flags) \ 50 $(addsuffix , $(addprefix -i=, $(subst /,\\,$(incs)))) \ 51 $(addprefix -d, $(defs)) \ 52 -fo=$(subst /,\\,$(obj)) \ 53 -fr=$(subst /,\\,$(obj)).err \ 54 $(subst /,\\,$(abspath $(source))) 55 $(QUIET)$(APPEND) -n $(obj).err 56 ## @todo dependencies 57 endef 58 44 59 TOOL_OPENWATCOM-16_COMPILE_C_DEPEND = 45 60 TOOL_OPENWATCOM-16_COMPILE_C_DEPORD = … … 85 100 endef 86 101 87 TOOL_OPENWATCOM-16_LINK_LIBRARY_OUTPUT = ## @todo$(outbase).rsp102 TOOL_OPENWATCOM-16_LINK_LIBRARY_OUTPUT = $(outbase).rsp 88 103 TOOL_OPENWATCOM-16_LINK_LIBRARY_DEPEND = $(othersrc) 89 104 TOOL_OPENWATCOM-16_LINK_LIBRARY_DEPORD = 90 105 define TOOL_OPENWATCOM-16_LINK_LIBRARY_CMDS 91 $(if $(strip $(othersrc)),\ 92 $(QUIET)$(TOOL_OPENWATCOM_ENV_SETUP) \ 93 $(TOOL_OPENWATCOM_IMP) $(TOOL_OPENWATCOM_IMPFLAGS) $(subst /,\\,$(out)) $(subst /,\\,$(othersrc)) ) 94 $(if $(strip $(objs)),$(QUIET)$(TOOL_OPENWATCOM_ENV_SETUP) \ 95 $(QUIET)$(TOOL_OPENWATCOM_ENV_SETUP) \ 96 $(TOOL_OPENWATCOM_AR) $(flags) $(subst /,\\,$(out)) $(foreach obj,$(subst /,\\,$(objs)),+"$(obj)") ";" ) 106 $(QUIET)$(APPEND) -tn $(outbase).rsp $(foreach obj,$(subst /,\,$(objs) $(othersrc)),'+"$(obj)"') 107 $(QUIET)$(TOOL_OPENWATCOM_ENV_SETUP) $(TOOL_OPENWATCOM_AR) $(flags) $(subst /,\\,$(out)) @$(outbase).rsp 97 108 endef 98 109 -
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 -
trunk/kBuild/tools/WATCOMC11C-16.kmk
r2068 r2069 88 88 TOOL_WATCOMC11C-16_LINK_LIBRARY_DEPORD = 89 89 define TOOL_WATCOMC11C-16_LINK_LIBRARY_CMDS 90 $(if $(strip $(othersrc)),\ 91 $(QUIET)$(TOOL_WATCOMC11C_ENV_SETUP) \ 92 $(TOOL_WATCOMC11C_IMP) $(TOOL_WATCOMC11C_IMPFLAGS) $(subst /,\\,$(out)) $(subst /,\\,$(othersrc)) ) 93 $(if $(strip $(objs)),$(QUIET)$(TOOL_WATCOMC11C_ENV_SETUP) \ 94 $(QUIET)$(TOOL_WATCOMC11C_ENV_SETUP) \ 95 $(TOOL_WATCOMC11C_AR) $(flags) $(subst /,\\,$(out)) $(foreach obj,$(subst /,\\,$(objs)),+"$(obj)") ";" ) 90 $(QUIET)$(APPEND) -tn $(outbase).rsp $(foreach obj,$(subst /,\,$(objs) $(othersrc)),'+"$(obj)"') 91 $(QUIET)$(TOOL_WATCOMC11C_ENV_SETUP) $(TOOL_WATCOMC11C_AR) $(flags) $(subst /,\\,$(out)) @$(outbase).rsp 96 92 endef 97 93 -
trunk/kBuild/tools/WATCOMC11C.kmk
r2066 r2069 180 180 endef 181 181 182 TOOL_WATCOMC11C_LINK_LIBRARY_OUTPUT = ## @todo$(outbase).rsp182 TOOL_WATCOMC11C_LINK_LIBRARY_OUTPUT = $(outbase).rsp 183 183 TOOL_WATCOMC11C_LINK_LIBRARY_DEPEND = $(othersrc) 184 184 TOOL_WATCOMC11C_LINK_LIBRARY_DEPORD = 185 185 define TOOL_WATCOMC11C_LINK_LIBRARY_CMDS 186 $(if $(strip $(othersrc)),\ 187 $(QUIET)$(TOOL_WATCOMC11C_ENV_SETUP) \ 188 $(TOOL_WATCOMC11C_IMP) $(TOOL_WATCOMC11C_IMPFLAGS) $(subst /,\\,$(out)) $(subst /,\\,$(othersrc)) ) 189 $(if $(strip $(objs)),$(QUIET)$(TOOL_WATCOMC11C_ENV_SETUP) \ 190 $(QUIET)$(TOOL_WATCOMC11C_ENV_SETUP) \ 191 $(TOOL_WATCOMC11C_AR) $(flags) $(subst /,\\,$(out)) $(foreach obj,$(subst /,\\,$(objs)),+"$(obj)") ";" ) 186 $(QUIET)$(APPEND) -tn $(outbase).rsp $(foreach obj,$(subst /,\,$(objs) $(othersrc)),'+"$(obj)"') 187 $(QUIET)$(TOOL_WATCOMC11C_ENV_SETUP) $(TOOL_WATCOMC11C_AR) $(flags) $(subst /,\\,$(out)) @$(outbase).rsp 192 188 endef 193 189
Note:
See TracChangeset
for help on using the changeset viewer.