Changeset 885


Ignore:
Timestamp:
Dec 8, 2003, 6:42:10 AM (22 years ago)
Author:
bird
Message:

.TKVAR = target kind variant.

Location:
trunk/src/emx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/build.txt

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r884 r885  
    8383of variables that control the build process:
    8484
    85 .INSDIR - (optional) directory inside the installation tree for targets. 
     85.INSDIR - (optional) directory inside the installation tree for targets.
    8686  For example, it could be 'bin/' (without quotes), or 'lib/st/' and so on.
    8787  This variable is NOT cleared after the inclusion of builders since
     
    100100
    101101.TARGET - The name of target (e.g. executable or library file name without dir).
    102   For example: .TARGET=myfile.exe
     102  For example: .TARGET := myfile.exe
    103103
    104104.TKIND - (optional) The kind of target. It can consist of up to three
     
    106106  if not defined defaults to omf), the second can be 'prof' to build in
    107107  profiling mode.
    108   Example: .TKIND=omf prof
     108  Example: .TKIND := omf prof
     109
     110.TKVAR - (optional) The variant of target. This is handy if one need to build
     111  the same sources several times with different flags.
     112  Exampel: .TKVAR := tcpipv4
    109113
    110114.TDEP - Dependencies for target (not built from a source file). For example,
  • trunk/src/emx/comend.smak

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r884 r885  
    1515.TDEP :=
    1616.IMPS :=
     17.TKVAR :=
    1718endif
    1819
  • trunk/src/emx/common.smak

    • Property cvs2svn:cvs-rev changed from 1.7 to 1.8
    r884 r885  
    2727endif # neq ($(findstring prof,$(.TKIND)),)
    2828.TKIND := $(.tmp)
     29ifdef .TKVAR
     30.TKIND.DIR := $(subst $(SPACE),-,$(.TKIND))/$(.TKVAR)/
     31else
    2932.TKIND.DIR := $(subst $(SPACE),-,$(.TKIND))/
     33endif
    3034.DIRS :=
    3135
Note: See TracChangeset for help on using the changeset viewer.