]> git.saurik.com Git - apple/xnu.git/blame - osfmk/conf/Makefile.i386
xnu-1504.9.17.tar.gz
[apple/xnu.git] / osfmk / conf / Makefile.i386
CommitLineData
1c79356b
A
1######################################################################
2#BEGIN Machine dependent Makefile fragment for i386
3######################################################################
4
5CFLAGS+= -DAT386=1
6SFLAGS+= -DAT386=1
7
91447636 8# Enable -Werror for i386 builds
b0d623f7 9CFLAGS+= $(WERROR) -Wshorten-64-to-32
91447636
A
10CWARNFLAGS= $(filter-out -Wbad-function-cast, $(CWARNFLAGS_STD))
11
12# Objects that don't compile cleanly:
13OBJS_NO_WERROR= \
91447636 14 UNDRequest.o \
2d21ac55
A
15 db_macro.o \
16 db_print.o \
17 db_sym.o \
18 db_variables.o \
19 db_disasm.o \
20 db_interface.o \
21 db_trace.o \
b0d623f7 22 gssd_mach.o
91447636
A
23
24OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS))
25
26$(OBJS_WERROR): WERROR=-Werror
27
91447636 28# Files that must go in the __HIB segment:
2d21ac55 29UNCONFIGURED_HIB_FILES= \
b0d623f7
A
30 hibernate_restore.o
31
2d21ac55 32HIB_FILES=$(filter $(UNCONFIGURED_HIB_FILES),$(OBJS))
91447636 33
1c79356b
A
34######################################################################
35#END Machine dependent Makefile fragment for i386
36######################################################################