Ignore:
Timestamp:
May 6, 2008, 12:21:40 AM (17 years ago)
Author:
bird
Message:

dragonfly + some reorg.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/header.kmk

    r1562 r1602  
    160160# build types. (PORTME)
    161161#
    162 KBUILD_OSES   := darwin freebsd l4 linux netbsd nt openbsd os2 solaris win
     162KBUILD_OSES   := darwin dragonfly freebsd l4 linux netbsd nt openbsd os2 solaris win
    163163KBUILD_ARCHES := x86 amd64 sparc32 sparc64 s390 s390x ppc32 ppc64 mips32 mips64 ia64 hppa32 hppa64 arm alpha
    164164
     
    421421
    422422
     423## @todo this should be done via SUFF_XYZ.target/host...
     424
    423425#
    424426# Build platform setup.
    425427# (PORTME)
    426428#
    427 
    428 # OS/2
    429 ifeq ($(KBUILD_HOST),os2)
     429if1of ($(KBUILD_HOST), win nt)
     430# Win, Win32, Win64, NT.
     431EXEC_X86_WIN32      :=
     432HOSTSUFF_EXE        := .exe
     433
     434# OS/2.
     435else ifeq ($(KBUILD_HOST),os2)
    430436EXEC_X86_WIN32      := innopec.exe
    431437HOSTSUFF_EXE        := .exe
    432 endif
    433 
    434 # Linux
    435 ifeq ($(KBUILD_HOST),linux)
     438
     439else if1of ($(KBUILD_HOST), freebsd dragonfly linux openbsd netbsd)
     440# Unix (like) systems with wine.
    436441EXEC_X86_WIN32      := wine
    437442HOSTSUFF_EXE        :=
    438 endif
    439 
    440 # Win, Win32, Win64, NT.
    441 if1of ($(KBUILD_HOST), win nt)
    442 EXEC_X86_WIN32      :=
    443 HOSTSUFF_EXE        := .exe
    444 endif
    445 
    446 # FreeBSD
    447 ifeq ($(KBUILD_HOST),freebsd)
    448 EXEC_X86_WIN32      := wine
    449 HOSTSUFF_EXE        :=
    450 endif
    451 
    452 # Darwin / Mac OS X
    453 ifeq ($(KBUILD_HOST),darwin)
    454 EXEC_X86_WIN32      := false
    455 HOSTSUFF_EXE        :=
    456 endif
    457 
    458 # Solaris
    459 ifeq ($(KBUILD_HOST),solaris)
     443
     444else
     445# Unix (like) systems without wine.
    460446EXEC_X86_WIN32      := false
    461447HOSTSUFF_EXE        :=
     
    494480SUFF_DLL    := .so
    495481SUFF_EXE    :=
    496  if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd) ## @todo check netbsd and openbsd.
     482 if1of ($(KBUILD_TARGET), dragonfly freebsd linux netbsd openbsd) ## @todo check netbsd and openbsd.
    497483SUFF_SYS    := .ko
    498484 else
Note: See TracChangeset for help on using the changeset viewer.