Ignore:
Timestamp:
May 12, 2008, 9:44:45 PM (17 years ago)
Author:
bird
Message:

Introduce the concept of units to prevent footer.kmk from growing beyond proportions. Features that are rarely used are put into units and dragged in via the USES property when needed. The first example of this is how lex (.l files) is handled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/header.kmk

    r1613 r1621  
    657657KBUILD_SDK_PATHS :=
    658658
     659## KBUILD_UNIT_PATHS
     660# List of paths (separated by space) where units (USES) can be found.
     661KBUILD_UNIT_PATHS :=
     662
    659663## KBUILD_DEFAULT_PATHS
    660664# List of paths (separated by space) to search for stuff as a last resort.
     
    690694## PROPS_TOOLS
    691695# This is a subset of PROPS_SINGLE.
    692 PROPS_TOOLS := TOOL CTOOL CXXTOOL OBJCTOOL ASTOOL RCTOOL ARTOOL LDTOOL FETCHTOOL UNPACKTOOL PATCHTOOL
     696PROPS_TOOLS := TOOL CTOOL CXXTOOL OBJCTOOL ASTOOL RCTOOL ARTOOL LDTOOL LEXTOOL FETCHTOOL UNPACKTOOL PATCHTOOL
    693697
    694698## PROPS_SINGLE
     
    701705# Subset of PROPS_SINGLE which applies to all linkable targets.
    702706PROPS_SINGLE_LNK := TOOL TEMPLATE CTOOL CXXTOOL OBJCTOOL ASTOOL RCTOOL \
    703     INST NOINST BLD_TYPE BLD_TRG BLD_TRG_ARCH BLD_TRG_CPU \
     707        INST NOINST BLD_TYPE BLD_TRG BLD_TRG_ARCH BLD_TRG_CPU \
    704708        OBJSUFF COBJSUFF CXXOBJSUFF OBJCOBJSUFF ASOBJSUFF RCOBJSUFF
    705709
     
    742746# will do the necessary inheritance from templates to targets.
    743747PROPS_ACCUMULATE_L := \
    744         SDKS SOURCES SRC_HANDLERS INTERMEDIATES \
     748        SDKS USES SOURCES SRC_HANDLERS INTERMEDIATES \
    745749        INCS CINCS CXXINCS OBJCINCS ASINCS RCINCS \
    746750        LIBS LIBPATH \
Note: See TracChangeset for help on using the changeset viewer.