]>
Commit | Line | Data |
---|---|---|
1c79356b A |
1 | ###################################################################### |
2 | #BEGIN Machine dependent Makefile fragment for i386 | |
3 | ###################################################################### | |
4 | ||
5 | CFLAGS+= -DAT386=1 | |
6 | SFLAGS+= -DAT386=1 | |
7 | ||
91447636 A |
8 | # Enable -Werror for i386 builds |
9 | CFLAGS+= $(WERROR) | |
10 | CWARNFLAGS= $(filter-out -Wbad-function-cast, $(CWARNFLAGS_STD)) | |
11 | ||
12 | # Objects that don't compile cleanly: | |
13 | OBJS_NO_WERROR= \ | |
14 | ioconf.o \ | |
15 | UNDRequest.o \ | |
16 | KUNCUserNotifications.o \ | |
17 | panic_dialog.o \ | |
18 | panic_image.o \ | |
19 | rendered_numbers.o \ | |
20 | video_console.o \ | |
21 | iokit_rpc.o \ | |
22 | subrs.o \ | |
23 | kdp.o \ | |
24 | kdp_udp.o \ | |
25 | bsd_kern.o \ | |
26 | debug.o \ | |
27 | kmod.o \ | |
28 | mk_sp.o \ | |
29 | printf.o \ | |
30 | syscall_emulation.o \ | |
31 | mach_header.o | |
32 | ||
33 | OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS)) | |
34 | ||
35 | $(OBJS_WERROR): WERROR=-Werror | |
36 | ||
37 | ||
38 | ||
39 | # Files that must go in the __HIB segment: | |
40 | HIB_FILES= \ | |
41 | gdt.o \ | |
42 | idt.o | |
43 | ||
1c79356b A |
44 | ###################################################################### |
45 | #END Machine dependent Makefile fragment for i386 | |
46 | ###################################################################### |