Ignore:
Timestamp:
Jun 4, 2007, 4:05:30 AM (18 years ago)
Author:
bird
Message:

MAYBE output. removed some obsolete stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/tools/MINGW32.kmk

    r873 r1034  
    196196TOOL_MINGW32_LINK_LIBRARY_DEPEND = $(othersrc)
    197197TOOL_MINGW32_LINK_LIBRARY_DEPORD =
    198 ifeq ($(filter append-dash-n,$(KMK_FEATURES)),append-dash-n)
    199198define TOOL_MINGW32_LINK_LIBRARY_CMDS
    200199        $(QUIET)$(APPEND) $(out).ar-script 'CREATE $(out)'
     
    206205        $(QUIET)$(TOOL_MINGW32_AR) -M < $(out).ar-script
    207206endef
    208 else
    209 define TOOL_MINGW32_LINK_LIBRARY_CMDS
    210         $(QUIET)$(APPEND) $(out).ar-script "CREATE $(out)"
    211         $(foreach o, $(objs)\
    212                 ,$(NL)$(TAB)$(QUIET)$(APPEND) $(out).ar-script "ADDMOD $(o)")
    213         $(foreach srclib, $(othersrc)\
    214                 ,$(NL)$(TAB)$(QUIET)$(APPEND) $(out).ar-script "ADDLIB $(srclib)")
    215         $(QUIET)$(APPEND) $(out).ar-script "SAVE"
    216         $(QUIET)$(APPEND) $(out).ar-script "END"
    217         $(QUIET)$(TOOL_MINGW32_AR) -M < $(out).ar-script
    218 endef
    219 endif
     207
    220208
    221209
     
    258246# @param    $(custom_post)  Custom step invoked after linking.
    259247# @param    $(outbase)  Output basename (full). Use this for list files and such.
    260 TOOL_MINGW32_LINK_DLL_OUTPUT = $(outbase).a $(outbase).exp $(PATH_LIB)/$(notdir $(outbase)).exp $(PATH_LIB)/$(notdir $(outbase)).a
     248TOOL_MINGW32_LINK_DLL_OUTPUT =
     249TOOL_MINGW32_LINK_DLL_OUTPUT_MAYBE = $(outbase).a $(outbase).exp $(PATH_LIB)/$(notdir $(outbase)).exp $(PATH_LIB)/$(notdir $(outbase)).a
    261250## @todo Find a better solution for installing the extra files (.a, .exp, .pdb, .map, etc).
    262251TOOL_MINGW32_LINK_DLL_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib)))\
Note: See TracChangeset for help on using the changeset viewer.