X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/1c79356b52d46aa6b508fb032f5ae709b1f2897b..55e303ae13a4cf49d70f2294092726f2fffb9ef2:/Makefile diff --git a/Makefile b/Makefile index 00fd1ce02..d2938322b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,18 @@ ifndef VERSDIR export VERSDIR=$(shell /bin/pwd) endif +ifndef SRCROOT +export SRCROOT=$(shell /bin/pwd) +endif +ifndef OBJROOT +export OBJROOT=$(SRCROOT)/BUILD/obj +endif +ifndef DSTROOT +export DSTROOT=$(SRCROOT)/BUILD/dst +endif +ifndef SYMROOT +export SYMROOT=$(SRCROOT)/BUILD/sym +endif export MakeInc_cmd=${VERSDIR}/makedefs/MakeInc.cmd export MakeInc_def=${VERSDIR}/makedefs/MakeInc.def @@ -19,6 +31,8 @@ ALL_SUBDIRS = \ libkern \ libsa +CONFIG_SUBDIRS = config + INSTINC_SUBDIRS = $(ALL_SUBDIRS) INSTINC_SUBDIRS_PPC = $(INSTINC_SUBDIRS) @@ -33,12 +47,14 @@ EXPINC_SUBDIRS_I386 = $(EXPINC_SUBDIRS) COMP_SUBDIRS = $(ALL_SUBDIRS) + INST_SUBDIRS = \ libkern \ libsa \ iokit \ osfmk \ - bsd + bsd \ + config INSTALL_FILE_LIST= \ mach_kernel @@ -46,5 +62,8 @@ INSTALL_FILE_LIST= \ INSTALL_FILE_DIR= \ / +INSTMAN_SUBDIRS = \ + bsd + include $(MakeInc_rule) include $(MakeInc_dir)