2 export VERSDIR=$(shell /bin/pwd)
5 export SRCROOT=$(shell /bin/pwd)
8 export OBJROOT=$(SRCROOT)/BUILD/obj/
11 export DSTROOT=$(SRCROOT)/BUILD/dst/
14 export SYMROOT=$(SRCROOT)/BUILD/sym/
17 export MakeInc_cmd=${VERSDIR}/makedefs/MakeInc.cmd
18 export MakeInc_def=${VERSDIR}/makedefs/MakeInc.def
19 export MakeInc_rule=${VERSDIR}/makedefs/MakeInc.rule
20 export MakeInc_dir=${VERSDIR}/makedefs/MakeInc.dir
23 include $(MakeInc_cmd)
24 include $(MakeInc_def)
35 CONFIG_SUBDIRS_I386 = config
36 CONFIG_SUBDIRS_X86_64 = config
37 CONFIG_SUBDIRS_ARM = config
39 INSTINC_SUBDIRS = $(ALL_SUBDIRS) EXTERNAL_HEADERS
40 INSTINC_SUBDIRS_I386 = $(INSTINC_SUBDIRS)
41 INSTINC_SUBDIRS_X86_64 = $(INSTINC_SUBDIRS)
42 INSTINC_SUBDIRS_ARM = $(INSTINC_SUBDIRS)
44 EXPINC_SUBDIRS = $(ALL_SUBDIRS)
45 EXPINC_SUBDIRS_I386 = $(EXPINC_SUBDIRS)
46 EXPINC_SUBDIRS_X86_64 = $(EXPINC_SUBDIRS)
47 EXPINC_SUBDIRS_ARM = $(EXPINC_SUBDIRS)
51 COMP_SUBDIRS_I386 = $(ALL_SUBDIRS)
52 COMP_SUBDIRS_X86_64 = $(ALL_SUBDIRS)
53 COMP_SUBDIRS_ARM = $(ALL_SUBDIRS)
64 INSTALL_KERNEL_FILE = mach_kernel
66 INSTALL_KERNEL_DIR = /
68 INSTALL_KERNEL_SYM_DIR = $(INSTALL_KERNEL_DIR)/System/Library/Extensions/KDK/
74 include $(MakeInc_rule)
75 include $(MakeInc_dir)
77 # This target is defined to compile and run xnu_quick_test under testbots
79 /usr/bin/make MORECFLAGS="-D RUN_UNDER_TESTBOTS=1" testbots -C ./tools/tests/xnu_quick_test/