VirtualBox

Changeset 2083 in kBuild


Ignore:
Timestamp:
Nov 19, 2008 2:32:35 AM (16 years ago)
Author:
bird
Message:

some OPENWATCOM-WL adjustments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/tools/OPENWATCOM-WL.kmk

    r2082 r2083  
    3535TOOL_OPENWATCOM-WL = Open Watcom v1.4 and later, using wlink.
    3636TOOL_OPENWATCOM-WL_EXTENDS = OPENWATCOM
     37TOOL_OPENWATCOM-WL_LDFLAGS       ?= Option Quiet
    3738TOOL_OPENWATCOM-WL_LDFLAGS.dos   ?= $(NO_SUCH_VARIABLE)
    3839TOOL_OPENWATCOM-WL_LDFLAGS.linux ?= $(NO_SUCH_VARIABLE)
     
    4647TOOL_OPENWATCOM-WL_LINK_PROGRAM_DEPORD =
    4748define 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')
    5656        $(QUIET)$(call TOOL_OPENWATCOM_ENV_SETUP) \
    5757                $(TOOL_OPENWATCOM_WLINK) @$(outbase).rsp
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette