]> git.saurik.com Git - apple/xnu.git/blob - osfmk/conf/Makefile.i386
xnu-1456.1.26.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) -Wshorten-64-to-32
10 CWARNFLAGS= $(filter-out -Wbad-function-cast, $(CWARNFLAGS_STD))
11
12 # Objects that don't compile cleanly:
13 OBJS_NO_WERROR= \
14 UNDRequest.o \
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 \
22 gssd_mach.o
23
24 OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS))
25
26 $(OBJS_WERROR): WERROR=-Werror
27
28 # Files that must go in the __HIB segment:
29 UNCONFIGURED_HIB_FILES= \
30 hibernate_restore.o
31
32 HIB_FILES=$(filter $(UNCONFIGURED_HIB_FILES),$(OBJS))
33
34 ######################################################################
35 #END Machine dependent Makefile fragment for i386
36 ######################################################################