]> git.saurik.com Git - apple/xnu.git/blame_incremental - bsd/conf/Makefile.ppc
xnu-1504.7.4.tar.gz
[apple/xnu.git] / bsd / conf / Makefile.ppc
... / ...
CommitLineData
1######################################################################
2#BEGIN Machine dependent Makefile fragment for ppc
3######################################################################
4
5# files to build with certain warnings turned off
6dis_tables.o_CFLAGS_ADD += -Wno-cast-qual
7fbt_ppc.o_CFLAGS_ADD += -Wno-cast-qual -Wno-pointer-to-int-cast
8
9
10# Enable -Werror for ppc 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 shadow.o \
22 if_ethersubr.o \
23 if_media.o \
24 kext_net.o \
25 dhcp_options.o \
26 in_bootp.o \
27 krpc_subr.o \
28 ux_exception.o \
29 sysctl.o \
30 unix_startup.o \
31 randomdev.o \
32 devtimer.o \
33 vnode_pager.o \
34 dp_backing_file.o \
35 vm_unix.o \
36 mem.o \
37 km.o \
38 at.o \
39 drv_dep.o \
40 fbt_ppc.o \
41 sdt_ppc.o \
42 dtrace_isa.o \
43 dtrace_subr_ppc.o
44
45
46OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS))
47
48$(OBJS_WERROR): WERROR=-Werror
49
50######################################################################
51#END Machine dependent Makefile fragment for ppc
52######################################################################
53