]> git.saurik.com Git - apple/xnu.git/blob - osfmk/conf/Makefile.i386
xnu-792.18.15.tar.gz
[apple/xnu.git] / osfmk / conf / Makefile.i386
1 ######################################################################
2 #BEGIN Machine dependent Makefile fragment for i386
3 ######################################################################
4
5 CFLAGS+= -DAT386=1
6 SFLAGS+= -DAT386=1
7
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 pms.o \
15 etimer.o \
16 ioconf.o \
17 UNDRequest.o \
18 KUNCUserNotifications.o \
19 panic_dialog.o \
20 panic_image.o \
21 rendered_numbers.o \
22 video_console.o \
23 iokit_rpc.o \
24 subrs.o \
25 kdp.o \
26 kdp_udp.o \
27 bsd_kern.o \
28 debug.o \
29 kmod.o \
30 mk_sp.o \
31 printf.o \
32 syscall_emulation.o \
33 UNDReplyServer.o \
34 ipc_kobject.o \
35 ipc_tt.o \
36 machine.o \
37 processor.o \
38 stack.o \
39 sched_prim.o \
40 sync_lock.o \
41 task.o \
42 syscall_subr.o \
43 thread.o \
44 thread_call.o \
45 timer_call.o \
46 hibernate.o \
47 clock_server.o \
48 clock_priv_server.o \
49 exc_user.o \
50 wait_queue.o \
51 exc_server.o \
52 host_priv_server.o \
53 host_priv_server.o \
54 ledger_server.o \
55 host_security_server.o \
56 lock_set_server.o \
57 mach_host_server.o \
58 mach_port_server.o \
59 processor_server.o \
60 processor_set_server.o \
61 semaphore_server.o \
62 task_server.o \
63 thread_act_server.o \
64 device_server.o \
65 pmap.o \
66 cpuid.o \
67 bsd_i386.o \
68 loose_ends.o \
69 mp_desc.o \
70 perfmon.o \
71 pcb.o \
72 rtclock.o \
73 trap.o \
74 bbclock.o \
75 mp.o \
76 acpi.o \
77 serial_console.o \
78 text_console.o \
79 mtrr.o \
80 hibernate_i386.o \
81 mach_msg.o \
82 mach_header.o \
83 chud_osfmk_callback_i386.o \
84 chud_thread.o \
85 chud_thread_i386.o \
86 chud_cpu.o \
87 db_access.o \
88 db_aout.o \
89 db_break.o \
90 db_command.o \
91 db_cond.o \
92 db_disasm.o \
93 db_examine.o \
94 db_expr.o \
95 db_ext_symtab.o \
96 db_input.o \
97 db_interface.o \
98 db_lex.o \
99 db_macro.o \
100 db_output.o \
101 db_print.o \
102 db_run.o \
103 db_sym.o \
104 db_task_thread.o \
105 db_trace.o \
106 db_trap.o \
107 db_variables.o \
108 db_watch.o \
109 db_write_cmd.o \
110 xpr.o
111
112 OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS))
113
114 $(OBJS_WERROR): WERROR=-Werror
115
116 # Files that must go in the __HIB segment:
117 HIB_FILES= \
118 hibernate_restore.o \
119 gdt.o \
120 idt.o
121
122 ######################################################################
123 #END Machine dependent Makefile fragment for i386
124 ######################################################################