include $(MakeInc_def)
ALL_SUBDIRS = \
+ security \
bsd \
iokit \
osfmk \
pexpert \
libkern \
libsa \
- security \
- config
+ config \
+ san
-CONFIG_SUBDIRS = config tools
+CONFIG_SUBDIRS = config tools san
INSTINC_SUBDIRS = $(ALL_SUBDIRS) EXTERNAL_HEADERS
INSTINC_SUBDIRS_X86_64 = $(INSTINC_SUBDIRS)
EXPINC_SUBDIRS_ARM = $(EXPINC_SUBDIRS)
EXPINC_SUBDIRS_ARM64 = $(EXPINC_SUBDIRS)
-SETUP_SUBDIRS = SETUP
+SETUP_SUBDIRS = SETUP san
COMP_SUBDIRS_X86_64 = $(ALL_SUBDIRS)
COMP_SUBDIRS_X86_64H = $(ALL_SUBDIRS)
endif # all other RC_ProjectName
-installhdrs_libkdd install_libkdd:
+installapi_libkdd installhdrs_libkdd install_libkdd:
cd libkdd; \
xcodebuild -target libkdd $(subst _libkdd,,$@) \
"SRCROOT=$(SRCROOT)/libkdd" \
"SDKROOT=$(SDKROOT)"
+installapi_libkdd_host installhdrs_libkdd_host install_libkdd_host:
+ cd libkdd; \
+ xcodebuild -target kdd.framework $(subst _libkdd_host,,$@) \
+ "SRCROOT=$(SRCROOT)/libkdd" \
+ "OBJROOT=$(OBJROOT)" \
+ "SYMROOT=$(SYMROOT)" \
+ "DSTROOT=$(DSTROOT)" \
+ "SDKROOT=$(SDKROOT)"
+
+
# "xnu_tests" and "testbots" are targets that can be invoked via a standalone
# "make xnu_tests" or via buildit/XBS with the RC_ProjectName=xnu_tests.
# Define the target here in the outermost scope of the initial Makefile