Changeset 1612 in kBuild
- Timestamp:
- May 12, 2008 3:42:09 PM (17 years ago)
- Location:
- trunk/kBuild/tools
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/GCC3.kmk
r1547 r1612 25 25 # 26 26 # As a special exception you are granted permission to include this file, via 27 # the kmk include directive, as you wish without this in itself causing the 28 # resulting makefile, program or whatever to be covered by the GPL license. 27 # the kmk include directive, as you wish without this in itself causing the 28 # resulting makefile, program or whatever to be covered by the GPL license. 29 29 # This exception does not however invalidate any other reasons why the makefile, 30 30 # program, whatever should not be covered the GPL. … … 60 60 TOOL_GCC3_LD_MAP ?= -Zmap=$(1) 61 61 TOOL_GCC3_LD_SYSMOD_MAP ?= -Zmap=$(1) 62 else 63 TOOL_GCC3_LD_MAP ?= 64 TOOL_GCC3_LD_SYSMOD_MAP ?= 62 65 endif 63 66 ifdef SLKRUNS -
trunk/kBuild/tools/GCC32.kmk
r1547 r1612 25 25 # 26 26 # As a special exception you are granted permission to include this file, via 27 # the kmk include directive, as you wish without this in itself causing the 28 # resulting makefile, program or whatever to be covered by the GPL license. 27 # the kmk include directive, as you wish without this in itself causing the 28 # resulting makefile, program or whatever to be covered by the GPL license. 29 29 # This exception does not however invalidate any other reasons why the makefile, 30 30 # program, whatever should not be covered the GPL. … … 52 52 TOOL_GCC32_LD_MAP ?= -Zmap=$(1) 53 53 else 54 TOOL_GCC32_LD_MAP ?= -Wl,-Map -Wl,$(1) -Wl,--cref54 TOOL_GCC32_LD_MAP ?= 55 55 endif 56 56 ifeq ($(KBUILD_TARGET),os2) 57 57 TOOL_GCC32_LD_SYSMOD_MAP ?= -Zmap=$(1) 58 58 else 59 TOOL_GCC32_LD_SYSMOD_MAP ?= -Map $(1) --cref59 TOOL_GCC32_LD_SYSMOD_MAP ?= 60 60 endif 61 61 ifdef SLKRUNS -
trunk/kBuild/tools/GCC3PLAIN.kmk
r1547 r1612 25 25 # 26 26 # As a special exception you are granted permission to include this file, via 27 # the kmk include directive, as you wish without this in itself causing the 28 # resulting makefile, program or whatever to be covered by the GPL license. 27 # the kmk include directive, as you wish without this in itself causing the 28 # resulting makefile, program or whatever to be covered by the GPL license. 29 29 # This exception does not however invalidate any other reasons why the makefile, 30 30 # program, whatever should not be covered the GPL. … … 311 311 $(filter %.def, $(othersrc))\ 312 312 $(foreach p,$(libpath), -L$(p))\ 313 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib)))\ 314 $(call TOOL_GCC3PLAIN_LD_SYSMOD_MAP.$(bld_trg),$(outbase).map) 315 endef 316 313 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib))) 314 endef 315 -
trunk/kBuild/tools/GCC64.kmk
r1547 r1612 25 25 # 26 26 # As a special exception you are granted permission to include this file, via 27 # the kmk include directive, as you wish without this in itself causing the 28 # resulting makefile, program or whatever to be covered by the GPL license. 27 # the kmk include directive, as you wish without this in itself causing the 28 # resulting makefile, program or whatever to be covered by the GPL license. 29 29 # This exception does not however invalidate any other reasons why the makefile, 30 30 # program, whatever should not be covered the GPL. … … 52 52 TOOL_GCC64_LD_MAP ?= -Zmap=$(1) 53 53 else 54 TOOL_GCC64_LD_MAP ?= -Wl,-Map -Wl,$(1) -Wl,--cref54 TOOL_GCC64_LD_MAP ?= 55 55 endif 56 56 ifeq ($(KBUILD_TARGET),os2) 57 57 TOOL_GCC64_LD_SYSMOD_MAP ?= -Zmap=$(1) 58 58 else 59 TOOL_GCC64_LD_SYSMOD_MAP ?= -Map $(1) --cref59 TOOL_GCC64_LD_SYSMOD_MAP ?= 60 60 endif 61 61 ifdef SLKRUNS -
trunk/kBuild/tools/GXX3.kmk
r1547 r1612 26 26 # 27 27 # As a special exception you are granted permission to include this file, via 28 # the kmk include directive, as you wish without this in itself causing the 29 # resulting makefile, program or whatever to be covered by the GPL license. 28 # the kmk include directive, as you wish without this in itself causing the 29 # resulting makefile, program or whatever to be covered by the GPL license. 30 30 # This exception does not however invalidate any other reasons why the makefile, 31 31 # program, whatever should not be covered the GPL. … … 61 61 TOOL_GXX3_LD_MAP ?= -Zmap=$(1) 62 62 TOOL_GXX3_LD_SYSMOD_MAP ?= -Zmap=$(1) 63 else 64 TOOL_GXX3_LD_MAP ?= 65 TOOL_GXX3_LD_SYSMOD_MAP ?= 63 66 endif 64 67 ifdef SLKRUNS -
trunk/kBuild/tools/GXX32.kmk
r1547 r1612 25 25 # 26 26 # As a special exception you are granted permission to include this file, via 27 # the kmk include directive, as you wish without this in itself causing the 28 # resulting makefile, program or whatever to be covered by the GPL license. 27 # the kmk include directive, as you wish without this in itself causing the 28 # resulting makefile, program or whatever to be covered by the GPL license. 29 29 # This exception does not however invalidate any other reasons why the makefile, 30 30 # program, whatever should not be covered the GPL. … … 52 52 TOOL_GXX32_LD_MAP ?= -Zmap=$(1) 53 53 else 54 TOOL_GXX32_LD_MAP ?= -Wl,-Map -Wl,$(1) -Wl,--cref54 TOOL_GXX32_LD_MAP ?= 55 55 endif 56 56 ifeq ($(KBUILD_TARGET),os2) 57 57 TOOL_GXX32_LD_SYSMOD_MAP ?= -Zmap=$(1) 58 58 else 59 TOOL_GXX32_LD_SYSMOD_MAP ?= -Map $(1) --cref59 TOOL_GXX32_LD_SYSMOD_MAP ?= 60 60 endif 61 61 ifdef SLKRUNS -
trunk/kBuild/tools/GXX3PLAIN.kmk
r1547 r1612 25 25 # 26 26 # As a special exception you are granted permission to include this file, via 27 # the kmk include directive, as you wish without this in itself causing the 28 # resulting makefile, program or whatever to be covered by the GPL license. 27 # the kmk include directive, as you wish without this in itself causing the 28 # resulting makefile, program or whatever to be covered by the GPL license. 29 29 # This exception does not however invalidate any other reasons why the makefile, 30 30 # program, whatever should not be covered the GPL. … … 311 311 $(filter %.def, $(othersrc))\ 312 312 $(foreach p,$(libpath), -L$(p))\ 313 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib)))\ 314 $(call TOOL_GXX3PLAIN_LD_SYSMOD_MAP.$(bld_trg),$(outbase).map) 315 endef 316 313 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib))) 314 endef 315 -
trunk/kBuild/tools/GXX64.kmk
r1547 r1612 25 25 # 26 26 # As a special exception you are granted permission to include this file, via 27 # the kmk include directive, as you wish without this in itself causing the 28 # resulting makefile, program or whatever to be covered by the GPL license. 27 # the kmk include directive, as you wish without this in itself causing the 28 # resulting makefile, program or whatever to be covered by the GPL license. 29 29 # This exception does not however invalidate any other reasons why the makefile, 30 30 # program, whatever should not be covered the GPL. … … 52 52 TOOL_GXX64_LD_MAP ?= -Zmap=$(1) 53 53 else 54 TOOL_GXX64_LD_MAP ?= -Wl,-Map -Wl,$(1) -Wl,--cref54 TOOL_GXX64_LD_MAP ?= 55 55 endif 56 56 ifeq ($(KBUILD_TARGET),os2) 57 57 TOOL_GXX64_LD_SYSMOD_MAP ?= -Zmap=$(1) 58 58 else 59 TOOL_GXX64_LD_SYSMOD_MAP ?= -Map $(1) --cref59 TOOL_GXX64_LD_SYSMOD_MAP ?= 60 60 endif 61 61 ifdef SLKRUNS -
trunk/kBuild/tools/MINGW32.kmk
r1547 r1612 26 26 # 27 27 # As a special exception you are granted permission to include this file, via 28 # the kmk include directive, as you wish without this in itself causing the 29 # resulting makefile, program or whatever to be covered by the GPL license. 28 # the kmk include directive, as you wish without this in itself causing the 29 # resulting makefile, program or whatever to be covered by the GPL license. 30 30 # This exception does not however invalidate any other reasons why the makefile, 31 31 # program, whatever should not be covered the GPL. … … 85 85 TOOL_MINGW32_LD ?= $(TOOL_MINGW32_PREFIX)gcc$(TOOL_MINGW32_HOSTSUFF_EXE) 86 86 endif 87 TOOL_MINGW32_LD_MAP ?= -Wl,-Map -Wl,$(1) -Wl,--cref88 TOOL_MINGW32_LD_SYSMOD_MAP ?= -Map $(1) --cref89 87 TOOL_MINGW32_DLLWRAP ?= $(TOOL_MINGW32_PREFIX)dllwrap$(TOOL_MINGW32_HOSTSUFF_EXE) 90 88 TOOL_MINGW32_DLLTOOL ?= $(TOOL_MINGW32_PREFIX)dlltool$(TOOL_MINGW32_HOSTSUFF_EXE) … … 236 234 $(QUIET)$(TOOL_MINGW32_LD) $(flags) -o $(out) $(objs)\ 237 235 $(foreach p,$(libpath), -L$(p))\ 238 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(basename $(lib))), $(lib)))\ 239 $(call TOOL_MINGW32_LD_MAP,$(outbase).map) 236 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(basename $(lib))), $(lib))) 240 237 endef 241 238 … … 256 253 TOOL_MINGW32_LINK_DLL_OUTPUT = 257 254 TOOL_MINGW32_LINK_DLL_OUTPUT_MAYBE = $(outbase).a $(outbase).exp $(PATH_LIB)/$(notdir $(outbase)).exp $(PATH_LIB)/$(notdir $(outbase)).a 258 ## @todo Find a better solution for installing the extra files (.a, .exp, .pdb, .map,etc).255 ## @todo Find a better solution for installing the extra files (.a, .exp, .pdb, etc). 259 256 TOOL_MINGW32_LINK_DLL_DEPEND = $(foreach lib,$(libs),$(if $(findstring $(lib),$(subst /,x,$(lib))),, $(lib)))\ 260 257 $(filter %.def %.res,$(othersrc)) … … 269 266 $(objs)\ 270 267 $(foreach p,$(libpath), -L$(p))\ 271 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(basename $(lib))), $(lib)))\ 272 $(call TOOL_MINGW32_LD_MAP,$(outbase).map) 268 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(basename $(lib))), $(lib))) 273 269 $(QUIET)$(CP) $(outbase).exp $(outbase).a $(PATH_LIB)/ 274 270 endef 275 ## @todo sep erate install stuff!271 ## @todo separate install stuff!
Note:
See TracChangeset
for help on using the changeset viewer.