Ignore:
Timestamp:
May 27, 2006, 2:48:13 PM (19 years ago)
Author:
bird
Message:

win64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/header.kmk

    r417 r438  
    125125endif
    126126
     127# Win64
     128ifeq ($(BUILD_PLATFORM),WIN64)
     129$(error kBuild: BUILD_PLATFORM must be all lowercase!)
     130endif
     131ifeq ($(BUILD_PLATFORM),win64)
     132_BUILD_PLATFORM_OK  := 1
     133endif
     134
    127135# L4
    128136ifeq ($(BUILD_PLATFORM),L4)
     
    147155# Fill in defaults if needed.
    148156ifndef BUILD_PLATFORM_ARCH
     157ifeq ($(filter-out win64,$(BUILD_PLATFORM)),)
     158BUILD_PLATFORM_ARCH   := amd64
     159else
    149160BUILD_PLATFORM_ARCH   := x86
    150161endif
     162endif
    151163ifndef BUILD_PLATFORM_CPU
     164ifeq ($(filter-out amd64,$(BUILD_PLATFORM_ARCH)),)
     165BUILD_PLATFORM_CPU    := k8
     166else
    152167BUILD_PLATFORM_CPU    := i586
     168endif
    153169endif
    154170
     
    183199endif
    184200ifeq ($(BUILD_TARGET),win32)
     201_BUILD_TARGET_OK    := 1
     202endif
     203
     204# Win64
     205ifeq ($(BUILD_TARGET),WIN64)
     206$(error kBuild: BUILD_TARGET must be all lowercase!)
     207endif
     208ifeq ($(BUILD_TARGET),win64)
    185209_BUILD_TARGET_OK    := 1
    186210endif
     
    312336endif
    313337
    314 # Win32
    315 ifeq ($(BUILD_PLATFORM),win32)
     338# Win32 & Win64
     339ifeq ($(filter-out win32 win64,$(BUILD_TARGET)),)
    316340EXEC_X86_WIN32      :=
    317341HOSTSUFF_EXE        := .exe
     
    336360SUFF_RES            := .res
    337361endif
    338 ifeq ($(BUILD_TARGET),win32)
     362ifeq ($(filter-out win32 win64,$(BUILD_TARGET)),)
    339363SUFF_OBJ            := .obj
    340364SUFF_LIB            := .lib
     
    514538#
    515539# @param        $1      The paths to the directories which must be created.
    516 ifeq ($(BUILD_PLATFORM),win32)
     540ifeq ($(filter-out win32 win64,$(BUILD_PLATFORM)),)
    517541DIRDEP = $(patsubst %/,%,$(1))
    518542else
Note: See TracChangeset for help on using the changeset viewer.