Ignore:
Timestamp:
Dec 6, 2006, 3:14:43 AM (19 years ago)
Author:
bird
Message:

Two types of SDKs, BUILD_TARGET and target specific. The latter is for use with bldprogs and when doing cross compilation. Also renamed PATH_DEV to PATH_DEVTOOLS as that seems more self explanatory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/sdks/NT4DDK.kmk

    • Property svn:keywords changed from Author Date Id Revision to Id
    r655 r664  
    22## @file
    33#
    4 # kBuild SDK - NT4 DDK, X86.
     4# kBuild SDK - The Windows NT 4 DDK, targeting X86.
    55#
    66# Copyright (c) 2004-2006 knut st. osmundsen <bird-srcspam@anduin.net>
     
    2525#
    2626
     27SDK_NT4DDK := The MicroSoft NT 4 DDK, targeting X86 (free, not checked).
    2728
    28 SDK_NT4DDK          := MicroSoft NT 4 DDK, X86
    29 PATH_SDK_NT4DDK     ?= $(PATH_DEV)/x86.win32/ddknt4
     29# SDK Specific Properties
     30ifndef PATH_SDK_NT4DDK
     31 PATH_SDK_NT4DDK := $(wildcard $(PATH_DEVTOOLS)/x86.win/ddknt4)
     32 ifeq ($(PATH_SDK_NT4DDK),)
     33  PATH_SDK_NT4DDK := $(wildcard $(PATH_DEVTOOLS)/x86.win32/ddknt4) # legacy
     34 endif
     35 ifneq ($(PATH_SDK_NT4DDK),)
     36  # only one version here, currently.
     37 else
     38  $(warning kBuild: PATH_SDK_NT4DDK couldn't be determined!)
     39  PATH_SDK_NT4DDK := $(PATH_DEVTOOLS)/x86.win/ddknt4/not/found
     40 endif
     41else
     42 # Resolve any fancy stuff once and for all.
     43 PATH_SDK_NT4DDK := $(PATH_SDK_NT4DDK)
     44endif
    3045PATH_SDK_NT4DDK_INC ?= $(PATH_SDK_NT4DDK)/inc
    3146PATH_SDK_NT4DDK_LIB ?= $(PATH_SDK_NT4DDK)/lib/i386/free
    32 SDK_NT4DDK_DEFS     ?= _X86_
    33 SDK_NT4DDK_INCS     ?= $(PATH_SDK_NT4DDK_INC)
     47
     48# General Properties used by kBuild
     49SDK_NT4DDK_DEFS ?= _X86_
     50SDK_NT4DDK_INCS ?= $(PATH_SDK_NT4DDK_INC)
    3451SDK_NT4DDK_LIBPATHS ?= $(PATH_SDK_NT4DDK_LIB)
    3552
Note: See TracChangeset for help on using the changeset viewer.