]> git.saurik.com Git - apple/xnu.git/blob - osfmk/conf/Makefile.x86_64
xnu-1504.9.37.tar.gz
[apple/xnu.git] / osfmk / conf / Makefile.x86_64
1 ######################################################################
2 #BEGIN Machine dependent Makefile fragment for x86_64
3 ######################################################################
4
5 CFLAGS+= -DAT386=1
6 SFLAGS+= -DAT386=1
7
8 CFLAGS+= $(WERROR) -Wshorten-64-to-32
9 CWARNFLAGS= $(filter-out -Wbad-function-cast, $(CWARNFLAGS_STD))
10
11 # Objects that don't compile cleanly:
12 OBJS_NO_WERROR= \
13 UNDRequest.o \
14 db_examine.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 host_priv_server.o \
23 mach_host_server.o \
24 security_server.o \
25 device_server.o \
26 gssd_mach.o \
27 mp.o # This is blocked on 6640051
28
29 OBJS_WERROR=$(filter-out $(OBJS_NO_WERROR),$(OBJS))
30
31 $(OBJS_WERROR): WERROR=-Werror
32
33 # Files that must go in the __HIB segment:
34 UNCONFIGURED_HIB_FILES= \
35 hibernate_restore.o \
36 hibernate_bootstrap.o
37
38 HIB_FILES=$(filter $(UNCONFIGURED_HIB_FILES),$(OBJS))
39
40 ######################################################################
41 #END Machine dependent Makefile fragment for x86_64
42 ######################################################################