]> git.saurik.com Git - apple/xnu.git/blame - bsd/conf/Makefile.x86_64
xnu-1504.7.4.tar.gz
[apple/xnu.git] / bsd / conf / Makefile.x86_64
CommitLineData
b0d623f7
A
1######################################################################
2#BEGIN Machine dependent Makefile fragment for x86_64
3######################################################################
4
5# files to build with certain warnings turned off
6dis_tables.o_CFLAGS_ADD += -Wno-cast-qual
7fbt_x86.o_CFLAGS_ADD += -Wno-cast-qual
8
9
10# Enable -Werror for x86_64 builds
11CFLAGS+=$(WERROR)
12CWARNFLAGS= $(filter-out -Wbad-function-cast, $(CWARNFLAGS_STD))
13
14# Objects that don't compile cleanly:
15OBJS_NO_WERROR = \
16 fifo_vnops.o \
17 aescrypt.o \
18 aeskey.o \
19 des_setkey.o \
20 sha2.o \
21 if_ethersubr.o \
22 if_media.o \
23 kext_net.o \
24 dhcp_options.o \
25 in_bootp.o \
26 krpc_subr.o \
27 ux_exception.o \
28 unix_startup.o \
29 randomdev.o \
30 vnode_pager.o \
31 dp_backing_file.o \
32 vm_unix.o \
33 mem.o \
34 km.o \
35 init_sysent.o \
36 drv_dep.o \
37 sdt_x86.o \
38 dtrace_isa.o \
39 aes_modes.o
40
41
42OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS))
43
44$(OBJS_WERROR): WERROR=-Werror
45
46######################################################################
47#END Machine dependent Makefile fragment for x86_64
48######################################################################
49