]> git.saurik.com Git - apple/xnu.git/blame - bsd/conf/Makefile.i386
xnu-1504.7.4.tar.gz
[apple/xnu.git] / bsd / conf / Makefile.i386
CommitLineData
1c79356b
A
1######################################################################
2#BEGIN Machine dependent Makefile fragment for i386
3######################################################################
4
b0d623f7
A
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
91447636
A
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 = \
2d21ac55 16 fifo_vnops.o \
91447636
A
17 aescrypt.o \
18 aeskey.o \
19 des_setkey.o \
20 sha2.o \
91447636 21 if_ethersubr.o \
91447636 22 if_media.o \
91447636 23 kext_net.o \
91447636 24 dhcp_options.o \
91447636 25 in_bootp.o \
91447636 26 krpc_subr.o \
91447636 27 ux_exception.o \
91447636 28 unix_startup.o \
0c530ab8 29 randomdev.o \
0c530ab8
A
30 vnode_pager.o \
31 dp_backing_file.o \
32 vm_unix.o \
0c530ab8
A
33 mem.o \
34 km.o \
35 init_sysent.o \
0c530ab8 36 drv_dep.o \
2d21ac55
A
37 sdt_x86.o \
38 dtrace_isa.o \
2d21ac55
A
39 aes_modes.o
40
91447636
A
41
42OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS))
43
44$(OBJS_WERROR): WERROR=-Werror
45
1c79356b
A
46######################################################################
47#END Machine dependent Makefile fragment for i386
48######################################################################
49