Changeset 1034 for trunk/kBuild/tools/MINGW32.kmk
- Timestamp:
- Jun 4, 2007, 4:05:30 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/MINGW32.kmk
r873 r1034 196 196 TOOL_MINGW32_LINK_LIBRARY_DEPEND = $(othersrc) 197 197 TOOL_MINGW32_LINK_LIBRARY_DEPORD = 198 ifeq ($(filter append-dash-n,$(KMK_FEATURES)),append-dash-n)199 198 define TOOL_MINGW32_LINK_LIBRARY_CMDS 200 199 $(QUIET)$(APPEND) $(out).ar-script 'CREATE $(out)' … … 206 205 $(QUIET)$(TOOL_MINGW32_AR) -M < $(out).ar-script 207 206 endef 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 220 208 221 209 … … 258 246 # @param $(custom_post) Custom step invoked after linking. 259 247 # @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 248 TOOL_MINGW32_LINK_DLL_OUTPUT = 249 TOOL_MINGW32_LINK_DLL_OUTPUT_MAYBE = $(outbase).a $(outbase).exp $(PATH_LIB)/$(notdir $(outbase)).exp $(PATH_LIB)/$(notdir $(outbase)).a 261 250 ## @todo Find a better solution for installing the extra files (.a, .exp, .pdb, .map, etc). 262 251 TOOL_MINGW32_LINK_DLL_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib)))\
Note:
See TracChangeset
for help on using the changeset viewer.