X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/a39ff7e25e19b3a8c3020042a3872ca9ec9659f1..d9a64523371fa019c4575bb400cbbc3a50ac9903:/Makefile diff --git a/Makefile b/Makefile index 1660223f5..31de51ae8 100644 --- a/Makefile +++ b/Makefile @@ -220,7 +220,7 @@ EXPINC_SUBDIRS_X86_64H = $(EXPINC_SUBDIRS) EXPINC_SUBDIRS_ARM = $(EXPINC_SUBDIRS) EXPINC_SUBDIRS_ARM64 = $(EXPINC_SUBDIRS) -SETUP_SUBDIRS = SETUP san +SETUP_SUBDIRS = SETUP osfmk san COMP_SUBDIRS_X86_64 = $(ALL_SUBDIRS) COMP_SUBDIRS_X86_64H = $(ALL_SUBDIRS) @@ -240,7 +240,17 @@ endif # all other RC_ProjectName installapi_libkdd installhdrs_libkdd install_libkdd: cd libkdd; \ - xcodebuild -target libkdd $(subst _libkdd,,$@) \ + xcodebuild -target Default $(subst _libkdd,,$@) \ + "SRCROOT=$(SRCROOT)/libkdd" \ + "OBJROOT=$(OBJROOT)" \ + "SYMROOT=$(SYMROOT)" \ + "DSTROOT=$(DSTROOT)" \ + "SDKROOT=$(SDKROOT)" + + +installapi_libkdd_tests installhdrs_libkdd_tests install_libkdd_tests: + cd libkdd; \ + xcodebuild -target tests $(subst _libkdd_tests,,$@) \ "SRCROOT=$(SRCROOT)/libkdd" \ "OBJROOT=$(OBJROOT)" \ "SYMROOT=$(SYMROOT)" \ @@ -250,7 +260,7 @@ installapi_libkdd installhdrs_libkdd install_libkdd: installapi_libkdd_host installhdrs_libkdd_host install_libkdd_host: cd libkdd; \ - xcodebuild -target kdd.framework $(subst _libkdd_host,,$@) \ + xcodebuild -configuration ReleaseHost -target kdd.framework $(subst _libkdd_host,,$@) \ "SRCROOT=$(SRCROOT)/libkdd" \ "OBJROOT=$(OBJROOT)" \ "SYMROOT=$(SYMROOT)" \ @@ -265,3 +275,5 @@ installapi_libkdd_host installhdrs_libkdd_host install_libkdd_host: xnu_tests: $(MAKE) -C $(SRCROOT)/tools/tests $(if $(filter -j,$(MAKEFLAGS)),,$(MAKEJOBS)) \ SRCROOT=$(SRCROOT)/tools/tests + $(MAKE) -C $(SRCROOT)/tests $(if $(filter -j,$(MAKEFLAGS)),,$(MAKEJOBS)) \ + SRCROOT=$(SRCROOT)/tests