Ignore:
Timestamp:
Sep 15, 2002, 1:35:27 AM (23 years ago)
Author:
bird
Message:

Improved dependencies on the makefiles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/make/setup.os2ld.mk

    r9165 r9243  
    1 # $Id: setup.os2ld.mk,v 1.1 2002-08-29 10:01:43 bird Exp $
     1# $Id: setup.os2ld.mk,v 1.2 2002-09-14 23:35:27 bird Exp $
    22
    33#
    44# LD (link editor) fanout.
    55#
    6 _LD_INCLUDED = 0
     6MAKE_INCLUDE_LD_SETUP =
    77!ifdef LD_USE_WLINK
    8 _LD_INCLUDED = 1
    9 TOOL_MAPSYM_TYPE = WLINK
    10 ! include $(PATH_MAKE)\setup.$(SHT_TRGPLTFRM)$(SHT_BLDMD)wlink.mk
     8TOOL_MAPSYM_TYPE        = WLINK
     9MAKE_INCLUDE_LD_SETUP   = $(PATH_MAKE)\setup.$(SHT_TRGPLTFRM)$(SHT_BLDMD)wlink.mk
    1110!endif
    1211!ifdef LD_USE_ILINK
    13 _LD_INCLUDED = 1
    14 TOOL_MAPSYM_TYPE = ILINK
    15 ! include $(PATH_MAKE)\setup.$(SHT_TRGPLTFRM)$(SHT_BLDMD)ilink.mk
     12TOOL_MAPSYM_TYPE        = ILINK
     13MAKE_INCLUDE_LD_SETUP   = $(PATH_MAKE)\setup.$(SHT_TRGPLTFRM)$(SHT_BLDMD)ilink.mk
    1614!endif
    1715!ifdef LD_USE_LINK
    18 _LD_INCLUDED = 1
    19 TOOL_MAPSYM_TYPE = LINK
    20 ! include $(PATH_MAKE)\setup.$(SHT_TRGPLTFRM)$(SHT_BLDMD)link.mk
     16TOOL_MAPSYM_TYPE        = LINK
     17MAKE_INCLUDE_LD_SETUP   = $(PATH_MAKE)\setup.$(SHT_TRGPLTFRM)$(SHT_BLDMD)link.mk
    2118!endif
    2219!ifdef LD_USE_LINK386
    23 _LD_INCLUDED = 1
    24 TOOL_MAPSYM_TYPE = LINK386
    25 ! include $(PATH_MAKE)\setup.$(SHT_TRGPLTFRM)$(SHT_BLDMD)link386.mk
    26 _TOOL_MAPSYM_ =
     20TOOL_MAPSYM_TYPE        = LINK386
     21MAKE_INCLUDE_LD_SETUP   = $(PATH_MAKE)\setup.$(SHT_TRGPLTFRM)$(SHT_BLDMD)link386.mk
    2722!endif
    2823
    29 
    3024# Use default one (for the given environment)
    31 !if !$(_LD_INCLUDED)
     25!if "$(MAKE_INCLUDE_LD_SETUP)" == ""
    3226! if "$(BUILD_ENV:WAT=xxx)" != "$(BUILD_ENV)" # (watcom check)
    33 TOOL_MAPSYM_TYPE = WLINK
    34 !  include $(PATH_MAKE)\setup.$(SHT_TRGPLTFRM)$(SHT_BLDMD)wlink.mk
     27TOOL_MAPSYM_TYPE        = WLINK
     28MAKE_INCLUDE_LD_SETUP   = $(PATH_MAKE)\setup.$(SHT_TRGPLTFRM)$(SHT_BLDMD)wlink.mk
    3529! else
    3630!  if "$(LD_FORMAT)" == "NE"
    37 TOOL_MAPSYM_TYPE = LINK
    38 !   include $(PATH_MAKE)\setup.$(SHT_TRGPLTFRM)$(SHT_BLDMD)link.mk
     31TOOL_MAPSYM_TYPE        = LINK
     32MAKE_INCLUDE_LD_SETUP   = $(PATH_MAKE)\setup.$(SHT_TRGPLTFRM)$(SHT_BLDMD)link.mk
    3933!  else
    40 TOOL_MAPSYM_TYPE = ILINK
    41 !   include $(PATH_MAKE)\setup.$(SHT_TRGPLTFRM)$(SHT_BLDMD)ilink.mk
     34TOOL_MAPSYM_TYPE        = ILINK
     35MAKE_INCLUDE_LD_SETUP   = $(PATH_MAKE)\setup.$(SHT_TRGPLTFRM)$(SHT_BLDMD)ilink.mk
    4236!  endif
    4337! endif
    4438!endif
    4539
     40!include $(MAKE_INCLUDE_LD_SETUP)
     41
Note: See TracChangeset for help on using the changeset viewer.