]>
Commit | Line | Data |
---|---|---|
1c79356b A |
1 | ###################################################################### |
2 | #BEGIN Machine dependent Makefile fragment for ppc | |
3 | ###################################################################### | |
4 | ||
b0d623f7 A |
5 | # files to build with certain warnings turned off |
6 | dis_tables.o_CFLAGS_ADD += -Wno-cast-qual | |
7 | fbt_ppc.o_CFLAGS_ADD += -Wno-cast-qual -Wno-pointer-to-int-cast | |
8 | ||
9 | ||
2d21ac55 A |
10 | # Enable -Werror for ppc builds |
11 | CFLAGS+=$(WERROR) | |
12 | CWARNFLAGS= $(filter-out -Wbad-function-cast, $(CWARNFLAGS_STD)) | |
13 | ||
14 | # Objects that don't compile cleanly: | |
15 | OBJS_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 | ||
46 | OBJS_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 |