Changeset 1348 in kBuild
- Timestamp:
- Dec 3, 2007 12:54:30 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/header.kmk
r1296 r1348 43 43 ifneq ($(KBUILD_VERSION_MAJOR).$(KBUILD_VERSION_MINOR),0.1) 44 44 ifneq ($(KBUILD_VERSION_MAJOR),0) 45 $(warning kBuild: kmk major version mismatch , expected '0'found '$(KBUILD_VERSION_MAJOR)'!)45 $(warning kBuild: kmk major version mismatch! Expected '0' but found '$(KBUILD_VERSION_MAJOR)'!) 46 46 else 47 $(warning kBuild: kmk minor version mismatch, expected '1' found '$(KBUILD_VERSION_MINOR)'!) 47 $(warning kBuild: kmk minor version mismatch! Expected '1' but found '$(KBUILD_VERSION_MINOR)'!) 48 endif 49 else 50 ifneq ($(int-ge $(KBUILD_VERSION_PATCH),2),1) 51 $(warning kBuild: kmk version mismatch! Expected 0.1.2 or later. Actual version is $(KBUILD_VERSION_MAJOR).$(KBUILD_VERSION_MINOR).$(KBUILD_VERSION_PATCH).) 48 52 endif 49 53 endif … … 147 151 BUILD_TYPE := release 148 152 else 149 if neq ($(filter $(BUILD_TYPE),$(KBUILD_OSES) $(KBUILD_ARCHES)),)153 if1of ($(BUILD_TYPE),$(KBUILD_OSES) $(KBUILD_ARCHES)) 150 154 $(error kBuild: The BUILD_TYPE value '$(BUILD_TYPE)' is an OS or architecture!) 151 155 endif … … 182 186 $(error kBuild: The BUILD_PLATFORM_CPU value '$(BUILD_PLATFORM_CPU)' contains spaces/tabs!) 183 187 endif 184 if neq ($(filter $(BUILD_PLATFORM_CPU), $(KBUILD_OSES) $(BUILD_ARCHES)),)188 if1of ($(BUILD_PLATFORM_CPU), $(KBUILD_OSES) $(BUILD_ARCHES)) 185 189 $(error kBuild: The BUILD_PLATFORM_CPU value '$(BUILD_PLATFORM_CPU)' was found in the OS or architecture keywords!) 186 190 endif … … 229 233 $(error kBuild: The BUILD_TARGET_CPU value '$(BUILD_TARGET_CPU)' contains spaces/tabs!) 230 234 endif 231 if neq ($(filter $(BUILD_TARGET_CPU), $(KBUILD_OSES) $(BUILD_ARCHES)),)235 if1of ($(BUILD_TARGET_CPU), $(KBUILD_OSES) $(BUILD_ARCHES)) 232 236 $(error kBuild: The BUILD_TARGET_CPU value was found in the OS or architecture keywords!) 233 237 endif … … 331 335 332 336 # Win, Win32, Win64, NT. 333 if eq ($(filter-out win32 win64 win nt,$(BUILD_PLATFORM)),)337 if1of ($(BUILD_PLATFORM),win nt) 334 338 EXEC_X86_WIN32 := 335 339 HOSTSUFF_EXE := .exe … … 360 364 # 361 365 SUFF_DEP := .dep 362 if eq ($(filter-out win32 win64 win nt os2,$(BUILD_TARGET)),)366 if1of ($(BUILD_TARGET),win nt os2) 363 367 SUFF_OBJ := .obj 364 368 SUFF_LIB := .lib
Note:
See TracChangeset
for help on using the changeset viewer.