X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/91447636331957f3d9b5ca5b508f07c526b0074d..ebb1b9f42b62218f29061826217bb0f71cd375a6:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index 2855bb34c..acd493419 100644 --- a/Makefile +++ b/Makefile @@ -5,13 +5,13 @@ ifndef SRCROOT 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 @@ -29,24 +29,28 @@ ALL_SUBDIRS = \ bsd \ pexpert \ libkern \ - libsa + 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_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 \ @@ -54,16 +58,21 @@ INST_SUBDIRS = \ iokit \ osfmk \ bsd \ - config + config \ + security -INSTALL_FILE_LIST= \ - mach_kernel +INSTALL_KERNEL_FILE = mach_kernel + +INSTALL_KERNEL_DIR = / -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/ +