Changeset 438


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

win64

Location:
trunk/kBuild
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/kBuild/footer.kmk

    r424 r438  
    12181218#   - On OS/2 and windows these are libraries.
    12191219#   - On other platforms they are fake DLLs.
    1220 ifeq ($(subst win32,os2,$(BUILD_TARGET)),os2)
     1220ifeq ($(filter-out win64 win32 os2,$(BUILD_TARGET)),)
    12211221$(foreach target, $(IMPORT_LIBS) $(IMPORT_LIBS.$(BUILD_TARGET)), $(eval $(value def_lib)))
    12221222else
     
    17391739__footer_kmk__ := target
    17401740endif # __footer_kmk__
    1741        
     1741
  • TabularUnified 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.