]> git.saurik.com Git - apple/xnu.git/blame_incremental - bsd/conf/Makefile.i386
xnu-1504.7.4.tar.gz
[apple/xnu.git] / bsd / conf / Makefile.i386
... / ...
CommitLineData
1######################################################################
2#BEGIN Machine dependent Makefile fragment for i386
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 i386 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 i386
48######################################################################
49