Changeset 2083 in kBuild
- Timestamp:
- Nov 19, 2008 2:32:35 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/OPENWATCOM-WL.kmk
r2082 r2083 35 35 TOOL_OPENWATCOM-WL = Open Watcom v1.4 and later, using wlink. 36 36 TOOL_OPENWATCOM-WL_EXTENDS = OPENWATCOM 37 TOOL_OPENWATCOM-WL_LDFLAGS ?= Option Quiet 37 38 TOOL_OPENWATCOM-WL_LDFLAGS.dos ?= $(NO_SUCH_VARIABLE) 38 39 TOOL_OPENWATCOM-WL_LDFLAGS.linux ?= $(NO_SUCH_VARIABLE) … … 46 47 TOOL_OPENWATCOM-WL_LINK_PROGRAM_DEPORD = 47 48 define TOOL_OPENWATCOM-WL_LINK_PROGRAM_CMDS 48 $(QUIET)$(APPEND) -t $(outbase).rsp '$(flags)' 49 $(if $(libpath),$(QUIET)$(APPEND) -n $(outbase).rsp $(foreach p,$(subst /,\,$(libpath))\ 50 ,'LIBPath $p'),) 51 $(if $(objs),$(QUIET)$(APPEND) -n $(outbase).rsp $(foreach o,$(subst /,\,$(filter-out %.res,$(objs)) $(othersrc))\ 52 ,'$(if $(filter %.lib %.a,$l),LIB,)File $o'),) 53 $(if $(libs),$(QUIET)$(APPEND) -n $(outbase).rsp $(foreach l,$(subst /,\,$(libs))\ 54 ,'Library $l'),) 55 $(QUIET)$(APPEND) -n $(outbase).rsp 'Map=$(outbase).map' 49 $(QUIET)$(APPEND) -tn $(outbase).rsp \ 50 $(if $(flags),'$(flags)',) \ 51 'Name $(subst /,\,$(out)$(if $(suffix $(out)),,.))' \ 52 'Option Map=$(subst /,\,$(outbase)).map' \ 53 $(foreach p,$(subst /,\,$(libpath)),'LIBPath $p') \ 54 $(foreach o,$(subst /,\,$(filter-out %.res,$(objs)) $(othersrc)),'$(if $(filter %.lib %.a,$l),LIB,)File $o') \ 55 $(foreach l,$(subst /,\,$(libs)),'Library $l') 56 56 $(QUIET)$(call TOOL_OPENWATCOM_ENV_SETUP) \ 57 57 $(TOOL_OPENWATCOM_WLINK) @$(outbase).rsp
Note:
See TracChangeset
for help on using the changeset viewer.