]> git.saurik.com Git - apple/xnu.git/blobdiff - Makefile
xnu-4570.51.1.tar.gz
[apple/xnu.git] / Makefile
index c4c0663ef42066780e44aeaf5c9e0afd3b01960f..1660223f5d5a0448a921997c57a5b8e5304c8a05 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -196,16 +196,17 @@ include $(MakeInc_cmd)
 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)
@@ -219,7 +220,7 @@ EXPINC_SUBDIRS_X86_64H = $(EXPINC_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)
@@ -237,7 +238,7 @@ endif # CURRENT_BUILD_CONFIG
 
 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"             \
@@ -247,6 +248,16 @@ installhdrs_libkdd install_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