Ignore:
Timestamp:
May 28, 2007, 9:41:38 PM (18 years ago)
Author:
bird
Message:

enabled the multi target rules. added some PORTME hints.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/header.kmk

    r980 r984  
    3333#
    3434ifndef KMK_VERSION
    35  $(error kBuild: The kmk default variable KMK_VERSION isn't defined! Make sure you are using 'kmk' and not 'make', 'gmake', 'kmk_gmake', 'dmake' or any other make program.)
     35 $(error kBuild: The kmk default variable KMK_VERSION isn't defined! Make sure you are using 'kmk' and not 'make', 'gmake', 'kmk_gmake', 'dmake' or any other make program)
    3636endif
    3737ifneq ($(KBUILD_VERSION_MAJOR).$(KBUILD_VERSION_MINOR),0.1)
     
    129129# to be assigned to it and added here. This strictness is required because
    130130# this keyword namespace is shared between OSes, architectures, cpus and
    131 # build types.
     131# build types. (PORTME)
    132132#
    133133KBUILD_OSES   = darwin freebsd l4 linux netbsd nt openbsd os2 solaris win
     
    304304#
    305305# Build platform setup.
    306 #
     306# (PORTME)
     307#
     308
    307309# OS/2
    308310ifeq ($(BUILD_PLATFORM),os2)
     
    344346#
    345347# Build target setup.
     348# (PORTME)
    346349#
    347350SUFF_DEP            := .dep
     
    469472# @param        $1      The paths to make absolute.
    470473# @obsolete Use the GNU make function $(abspath) directly now.
    471 ABSPATH = $(abspath $(1))
     474ABSPATH = $(abspath $(1))$(warning ABSPATH is deprecated, use abspath directly!)
    472475
    473476## DIRDEP - make create directory dependencies.
     
    510513# others can add stuff to if they like for processing in the footer.
    511514#
    512 
    513 ## ALL_TARGET
    514 # This is the list of all targets.
    515 ALL_TARGETS :=
    516515
    517516## TEMPLATE_PATHS
     
    709708
    710709#
     710# Check for --pretty-command-printing before including the Config.kmk
     711# so that anyone overriding the message macros can take the implied
     712# verbosity level change into account.
     713#
     714ifndef KBUILD_VERBOSE
     715 ifndef KBUILD_QUIET
     716  ifneq ($(filter --pretty-command-printing,$(MAKEFLAGS)),)
     717   export KBUILD_VERBOSE := 2
     718  endif
     719 endif
     720endif
     721
     722
     723#
    711724# This is how we find the closest config.kmk.
    712725# It's a little hacky but I think it works fine.
     
    727740$(error kBuild: no Config.kmk file found! Check the DEPTH: DEPTH='$(DEPTH)' PATH_CURRENT='$(PATH_CURRENT)')
    728741endif
    729 
    730 
    731 #
    732 # Check for --pretty-command-printing before including the Config.kmk
    733 # so that anyone overriding the message macros can take the implied
    734 # verbosity level change into account.
    735 #
    736 ifndef KBUILD_VERBOSE
    737  ifndef KBUILD_QUIET
    738   ifneq ($(filter --pretty-command-printing,$(MAKEFLAGS)),)
    739    export KBUILD_VERBOSE := 2
    740   endif
    741  endif
    742 endif
    743 
    744742
    745743# Include the config.kmk we found file (or the default one).
Note: See TracChangeset for help on using the changeset viewer.