]>
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 \ | |
8ad349bb | 31 | mach_header.o |
91447636 A |
32 | |
33 | OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS)) | |
34 | ||
35 | $(OBJS_WERROR): WERROR=-Werror | |
36 | ||
91447636 A |
37 | # Files that must go in the __HIB segment: |
38 | HIB_FILES= \ | |
3a60a9f5 | 39 | hibernate_restore.o \ |
91447636 A |
40 | gdt.o \ |
41 | idt.o | |
42 | ||
1c79356b A |
43 | ###################################################################### |
44 | #END Machine dependent Makefile fragment for i386 | |
45 | ###################################################################### |