VirtualBox

Changeset 1388 in kBuild


Ignore:
Timestamp:
Jan 31, 2008 3:24:33 PM (17 years ago)
Author:
bird
Message:

Fixed SUFF_SYS for solaris. Made some space adjustments (if1of always takes a space after the comma).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/header.kmk

    r1381 r1388  
    151151 BUILD_TYPE := release
    152152else
    153  if1of ($(BUILD_TYPE),$(KBUILD_OSES) $(KBUILD_ARCHES))
     153 if1of ($(BUILD_TYPE), $(KBUILD_OSES) $(KBUILD_ARCHES))
    154154  $(error kBuild: The BUILD_TYPE value '$(BUILD_TYPE)' is an OS or architecture!)
    155155 endif
     
    335335
    336336# Win, Win32, Win64, NT.
    337 if1of ($(BUILD_PLATFORM),win nt)
     337if1of ($(BUILD_PLATFORM), win nt)
    338338EXEC_X86_WIN32      :=
    339339HOSTSUFF_EXE        := .exe
     
    363363# (PORTME)
    364364#
    365 SUFF_DEP            := .dep
    366 if1of ($(BUILD_TARGET),win nt os2)
    367 SUFF_OBJ            := .obj
    368 SUFF_LIB            := .lib
    369 SUFF_DLL            := .dll
    370 SUFF_EXE            := .exe
    371 SUFF_SYS            := .sys
    372 SUFF_RES            := .res
    373 endif
    374 ifeq ($(BUILD_TARGET),l4)
    375 SUFF_OBJ            := .o
    376 SUFF_LIB            := .a
    377 SUFF_DLL            := .s.so
    378 SUFF_EXE            :=
    379 SUFF_SYS            := .a
    380 SUFF_RES            :=
    381 endif
    382 ifeq ($(BUILD_TARGET),darwin)
    383 SUFF_OBJ            := .o
    384 SUFF_LIB            := .a
    385 SUFF_DLL            := .dylib
    386 SUFF_EXE            :=
    387 SUFF_SYS            :=
    388 SUFF_RES            :=
    389 endif
    390 ifndef SUFF_OBJ
    391 SUFF_OBJ            := .o
    392 SUFF_LIB            := .a
    393 SUFF_DLL            := .so
    394 SUFF_EXE            :=
    395 SUFF_SYS            := .a
    396 SUFF_RES            :=
     365SUFF_DEP    := .dep
     366if1of ($(BUILD_TARGET), win nt os2)
     367SUFF_OBJ    := .obj
     368SUFF_LIB    := .lib
     369SUFF_DLL    := .dll
     370SUFF_EXE    := .exe
     371SUFF_SYS    := .sys
     372SUFF_RES    := .res
     373else ifeq ($(BUILD_TARGET),l4)
     374SUFF_OBJ    := .o
     375SUFF_LIB    := .a
     376SUFF_DLL    := .s.so
     377SUFF_EXE    :=
     378SUFF_SYS    := .a
     379SUFF_RES    :=
     380else ifeq ($(BUILD_TARGET),darwin)
     381SUFF_OBJ    := .o
     382SUFF_LIB    := .a
     383SUFF_DLL    := .dylib
     384SUFF_EXE    :=
     385SUFF_SYS    :=
     386SUFF_RES    :=
     387else
     388SUFF_OBJ    := .o
     389SUFF_LIB    := .a
     390SUFF_DLL    := .so
     391SUFF_EXE    :=
     392 if1of ($(BUILD_TARGET), freebsd linux netbsd openbsd) ## @todo check netbsd and openbsd.
     393SUFF_SYS   := .ko
     394 else
     395SUFF_SYS   :=
     396 else
     397SUFF_RES    :=
    397398endif
    398399
     
    408409
    409410DEP_EXT     := $(PATH_KBUILD_BIN)/kDep$(HOSTSUFF_EXE)
    410 if1of (kDep,$(KMK_BUILTIN))
     411if1of (kDep, $(KMK_BUILTIN))
    411412DEP         := kmk_builtin_kDep
    412413else
     
    415416
    416417DEP_IDB_EXT := $(PATH_KBUILD_BIN)/kDepIDB$(HOSTSUFF_EXE)
    417 if1of (kDepIDB,$(KMK_BUILTIN))
     418if1of (kDepIDB, $(KMK_BUILTIN))
    418419DEP_IDB     := kmk_builtin_kDepIDB
    419420else
     
    422423
    423424DEP_PRE_EXT := $(PATH_KBUILD_BIN)/kDepPre$(HOSTSUFF_EXE)
    424 if1of (kDepPre,$(KMK_BUILTIN))
     425if1of (kDepPre, $(KMK_BUILTIN))
    425426DEP_PRE     := kmk_builtin_kDepPre
    426427else
     
    429430
    430431KOBJCACHE_EXT := $(PATH_KBUILD_BIN)/kObjCache$(HOSTSUFF_EXE)
    431 if1of (kObjCache,$(KMK_BUILTIN))
     432if1of (kObjCache, $(KMK_BUILTIN))
    432433KOBJCACHE   := kmk_builtin_kObjCache
    433434else
     
    469470
    470471REDIRECT_EXT:= $(PATH_KBUILD_BIN)/kmk_redirect$(HOSTSUFF_EXE)
    471 if1of (redirect,$(KMK_BUILTIN))
     472if1of (redirect, $(KMK_BUILTIN))
    472473REDIRECT    := kmk_builtin_redirect
    473474else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette