Changeset 1388 in kBuild
- Timestamp:
- Jan 31, 2008 3:24:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/header.kmk
r1381 r1388 151 151 BUILD_TYPE := release 152 152 else 153 if1of ($(BUILD_TYPE), $(KBUILD_OSES) $(KBUILD_ARCHES))153 if1of ($(BUILD_TYPE), $(KBUILD_OSES) $(KBUILD_ARCHES)) 154 154 $(error kBuild: The BUILD_TYPE value '$(BUILD_TYPE)' is an OS or architecture!) 155 155 endif … … 335 335 336 336 # Win, Win32, Win64, NT. 337 if1of ($(BUILD_PLATFORM), win nt)337 if1of ($(BUILD_PLATFORM), win nt) 338 338 EXEC_X86_WIN32 := 339 339 HOSTSUFF_EXE := .exe … … 363 363 # (PORTME) 364 364 # 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 := 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 else ifeq ($(BUILD_TARGET),l4) 374 SUFF_OBJ := .o 375 SUFF_LIB := .a 376 SUFF_DLL := .s.so 377 SUFF_EXE := 378 SUFF_SYS := .a 379 SUFF_RES := 380 else ifeq ($(BUILD_TARGET),darwin) 381 SUFF_OBJ := .o 382 SUFF_LIB := .a 383 SUFF_DLL := .dylib 384 SUFF_EXE := 385 SUFF_SYS := 386 SUFF_RES := 387 else 388 SUFF_OBJ := .o 389 SUFF_LIB := .a 390 SUFF_DLL := .so 391 SUFF_EXE := 392 if1of ($(BUILD_TARGET), freebsd linux netbsd openbsd) ## @todo check netbsd and openbsd. 393 SUFF_SYS := .ko 394 else 395 SUFF_SYS := 396 else 397 SUFF_RES := 397 398 endif 398 399 … … 408 409 409 410 DEP_EXT := $(PATH_KBUILD_BIN)/kDep$(HOSTSUFF_EXE) 410 if1of (kDep, $(KMK_BUILTIN))411 if1of (kDep, $(KMK_BUILTIN)) 411 412 DEP := kmk_builtin_kDep 412 413 else … … 415 416 416 417 DEP_IDB_EXT := $(PATH_KBUILD_BIN)/kDepIDB$(HOSTSUFF_EXE) 417 if1of (kDepIDB, $(KMK_BUILTIN))418 if1of (kDepIDB, $(KMK_BUILTIN)) 418 419 DEP_IDB := kmk_builtin_kDepIDB 419 420 else … … 422 423 423 424 DEP_PRE_EXT := $(PATH_KBUILD_BIN)/kDepPre$(HOSTSUFF_EXE) 424 if1of (kDepPre, $(KMK_BUILTIN))425 if1of (kDepPre, $(KMK_BUILTIN)) 425 426 DEP_PRE := kmk_builtin_kDepPre 426 427 else … … 429 430 430 431 KOBJCACHE_EXT := $(PATH_KBUILD_BIN)/kObjCache$(HOSTSUFF_EXE) 431 if1of (kObjCache, $(KMK_BUILTIN))432 if1of (kObjCache, $(KMK_BUILTIN)) 432 433 KOBJCACHE := kmk_builtin_kObjCache 433 434 else … … 469 470 470 471 REDIRECT_EXT:= $(PATH_KBUILD_BIN)/kmk_redirect$(HOSTSUFF_EXE) 471 if1of (redirect, $(KMK_BUILTIN))472 if1of (redirect, $(KMK_BUILTIN)) 472 473 REDIRECT := kmk_builtin_redirect 473 474 else
Note:
See TracChangeset
for help on using the changeset viewer.