1ifndef VERSDIR 2export VERSDIR=$(shell /bin/pwd) 3endif 4ifndef SRCROOT 5export SRCROOT=$(shell /bin/pwd) 6endif 7ifndef OBJROOT 8export OBJROOT=$(SRCROOT)/BUILD/obj 9endif 10ifndef DSTROOT 11export DSTROOT=$(SRCROOT)/BUILD/dst 12endif 13ifndef SYMROOT 14export SYMROOT=$(SRCROOT)/BUILD/sym 15endif 16 17export MakeInc_cmd=${VERSDIR}/makedefs/MakeInc.cmd 18export MakeInc_def=${VERSDIR}/makedefs/MakeInc.def 19export MakeInc_rule=${VERSDIR}/makedefs/MakeInc.rule 20export MakeInc_dir=${VERSDIR}/makedefs/MakeInc.dir 21 22 23include $(MakeInc_cmd) 24include $(MakeInc_def) 25 26ALL_SUBDIRS = \ 27 iokit \ 28 osfmk \ 29 bsd \ 30 pexpert \ 31 libkern \ 32 libsa 33 34CONFIG_SUBDIRS = config 35 36INSTINC_SUBDIRS = $(ALL_SUBDIRS) EXTERNAL_HEADERS 37 38INSTINC_SUBDIRS_PPC = $(INSTINC_SUBDIRS) EXTERNAL_HEADERS 39 40INSTINC_SUBDIRS_I386 = $(INSTINC_SUBDIRS) EXTERNAL_HEADERS 41 42EXPINC_SUBDIRS = $(ALL_SUBDIRS) 43 44EXPINC_SUBDIRS_PPC = $(EXPINC_SUBDIRS) 45 46EXPINC_SUBDIRS_I386 = $(EXPINC_SUBDIRS) 47 48COMP_SUBDIRS = $(ALL_SUBDIRS) 49 50 51INST_SUBDIRS = \ 52 libkern \ 53 libsa \ 54 iokit \ 55 osfmk \ 56 bsd \ 57 config 58 59INSTALL_FILE_LIST= \ 60 mach_kernel 61 62INSTALL_FILE_DIR= \ 63 / 64 65INSTMAN_SUBDIRS = \ 66 bsd 67 68include $(MakeInc_rule) 69include $(MakeInc_dir) 70

