export SRCROOT=$(shell /bin/pwd)
endif
ifndef OBJROOT
-export OBJROOT=$(SRCROOT)/BUILD/obj
+export OBJROOT=$(SRCROOT)/BUILD/obj/
endif
ifndef DSTROOT
-export DSTROOT=$(SRCROOT)/BUILD/dst
+export DSTROOT=$(SRCROOT)/BUILD/dst/
endif
ifndef SYMROOT
-export SYMROOT=$(SRCROOT)/BUILD/sym
+export SYMROOT=$(SRCROOT)/BUILD/sym/
endif
export MakeInc_cmd=${VERSDIR}/makedefs/MakeInc.cmd
libsa \
security
-CONFIG_SUBDIRS = config
+CONFIG_SUBDIRS_I386 = config
+CONFIG_SUBDIRS_X86_64 = config
+CONFIG_SUBDIRS_ARM = config
INSTINC_SUBDIRS = $(ALL_SUBDIRS) EXTERNAL_HEADERS
-
-INSTINC_SUBDIRS_PPC = $(INSTINC_SUBDIRS) EXTERNAL_HEADERS
-
-INSTINC_SUBDIRS_I386 = $(INSTINC_SUBDIRS) EXTERNAL_HEADERS
-
-INSTINC_SUBDIRS_ARM = $(INSTINC_SUBDIRS) EXTERNAL_HEADERS
+INSTINC_SUBDIRS_I386 = $(INSTINC_SUBDIRS)
+INSTINC_SUBDIRS_X86_64 = $(INSTINC_SUBDIRS)
+INSTINC_SUBDIRS_ARM = $(INSTINC_SUBDIRS)
EXPINC_SUBDIRS = $(ALL_SUBDIRS)
-
-EXPINC_SUBDIRS_PPC = $(EXPINC_SUBDIRS)
-
EXPINC_SUBDIRS_I386 = $(EXPINC_SUBDIRS)
-
+EXPINC_SUBDIRS_X86_64 = $(EXPINC_SUBDIRS)
EXPINC_SUBDIRS_ARM = $(EXPINC_SUBDIRS)
-COMP_SUBDIRS = $(ALL_SUBDIRS)
+SETUP_SUBDIRS = SETUP
+COMP_SUBDIRS_I386 = $(ALL_SUBDIRS)
+COMP_SUBDIRS_X86_64 = $(ALL_SUBDIRS)
+COMP_SUBDIRS_ARM = $(ALL_SUBDIRS)
INST_SUBDIRS = \
libkern \
config \
security
-INSTALL_FILE_LIST= \
- mach_kernel
+INSTALL_KERNEL_FILE = mach_kernel
+
+INSTALL_KERNEL_DIR = /
+
+INSTALL_KERNEL_SYM_DIR = $(INSTALL_KERNEL_DIR)/System/Library/Extensions/KDK/
-INSTALL_FILE_DIR= \
- /
INSTMAN_SUBDIRS = \
bsd
include $(MakeInc_rule)
include $(MakeInc_dir)
+
+# This target is defined to compile and run xnu_quick_test under testbots
+testbots:
+ /usr/bin/make MORECFLAGS="-D RUN_UNDER_TESTBOTS=1" testbots -C ./tools/tests/xnu_quick_test/
+