]> git.saurik.com Git - apple/hfs.git/blob - core/kext.xcconfig
e837a65eb17efa4a15af709e1495d3567525fbc7
[apple/hfs.git] / core / kext.xcconfig
1 //
2 // Copyright (c) 2015 Apple Inc. All rights reserved.
3 //
4 // @APPLE_OSREFERENCE_LICENSE_HEADER_START@
5 //
6 // This file contains Original Code and/or Modifications of Original Code
7 // as defined in and that are subject to the Apple Public Source License
8 // Version 2.0 (the 'License'). You may not use this file except in
9 // compliance with the License. The rights granted to you under the License
10 // may not be used to create, or enable the creation or redistribution of,
11 // unlawful or unlicensed copies of an Apple operating system, or to
12 // circumvent, violate, or enable the circumvention or violation of, any
13 // terms of an Apple operating system software license agreement.
14 //
15 // Please obtain a copy of the License at
16 // http://www.opensource.apple.com/apsl/ and read it before using this file.
17 //
18 // The Original Code and all software distributed under the License are
19 // distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
20 // EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
21 // INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
22 // FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
23 // Please see the License for the specific language governing rights and
24 // limitations under the License.
25 //
26 // @APPLE_OSREFERENCE_LICENSE_HEADER_END@
27 //
28
29 // Used if building combined xnu & hfs roots
30 //DEVICES=<ios-devices-to-build>
31 //MACHINE=<osx-machine-net-address>
32 //XNU_PATH=<path-to-xnu>
33 //XNU_DST_PATH=$(XNU_PATH)/BUILD/dst
34 //KERNEL_PATH=$(XNU_DST_PATH)/System/Library/Kernels/kernel.development
35 //KERNEL_FRAMEWORK_PATH=$(XNU_DST_PATH)/System/Library/Frameworks/Kernel.framework
36 //HEADER_SEARCH_PATHS=$(KERNEL_FRAMEWORK_PATH)/PrivateHeaders $(KERNEL_FRAMEWORK_PATH)/Headers
37
38 // Enable this to see if Clang has any new warnings
39 // WARNING_CFLAGS=-Weverything -Wno-unused-parameter -Wno-shorten-64-to-32 -Wno-reserved-id-macro -Wno-undef -Wno-missing-variable-declarations -Wno-padded -Wno-c11-extensions -Wno- documentation -Wno-variadic-macros -Wno-zero-length-array -Wno-documentation-unknown-command -Wno-packed -Wno-pedantic -Wno-format-non-iso -Wno-bad-function-cast -Wno-cast-align -Wno-disabled-macro-expansion -Wno-used-but-marked-unused -Wno-c++98-compat-pedantic -Wno-old-style-cast -Wno-c++98-compat -Wno-vla -Wno-switch-enum -Wno-c++-compat -Wno-global-constructors -Wno-shift-sign-overflow -Wno-covered-switch-default
40
41 GCC_PREFIX_HEADER=core/kext-config.h
42 GCC_PREPROCESSOR_DEFINITIONS=$(PREPROC_DEFN_$(CONFIGURATION))
43 PREPROC_DEFN_Debug=DEBUG
44 PRIVATE_HEADERS_FOLDER_PATH=/usr/local/include/hfs
45 PUBLIC_HEADERS_FOLDER_PATH=/usr/include/hfs
46 OTHER_CFLAGS=$(OTHER_CFLAGS_$(CONFIGURATION))
47 OTHER_CFLAGS_Coverage=-fprofile-instr-generate -fcoverage-mapping