]> git.saurik.com Git - apple/xnu.git/blame - bsd/conf/Makefile.ppc
xnu-1504.9.37.tar.gz
[apple/xnu.git] / bsd / conf / Makefile.ppc
CommitLineData
1c79356b
A
1######################################################################
2#BEGIN Machine dependent Makefile fragment for ppc
3######################################################################
4
b0d623f7
A
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
2d21ac55
A
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 = \
2d21ac55 16 fifo_vnops.o \
2d21ac55
A
17 aescrypt.o \
18 aeskey.o \
19 des_setkey.o \
20 sha2.o \
21 shadow.o \
2d21ac55 22 if_ethersubr.o \
2d21ac55 23 if_media.o \
2d21ac55 24 kext_net.o \
2d21ac55 25 dhcp_options.o \
2d21ac55 26 in_bootp.o \
2d21ac55 27 krpc_subr.o \
2d21ac55 28 ux_exception.o \
2d21ac55
A
29 sysctl.o \
30 unix_startup.o \
31 randomdev.o \
2d21ac55 32 devtimer.o \
2d21ac55
A
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 \
2d21ac55 40 fbt_ppc.o \
2d21ac55
A
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
1c79356b
A
50######################################################################
51#END Machine dependent Makefile fragment for ppc
52######################################################################
53