2 DSTSUBPATH = $(DSTROOT)/AppleInternal/CoreOS
4 DSTSUBPATH = $(DSTROOT)
7 OBJROOT?=$(shell /bin/pwd)
9 ifeq "$(RC_TARGET_CONFIG)" "iPhone"
12 Embedded?=$(shell echo $(SDKROOT) | grep -iq iphoneos && echo YES || echo NO)
15 COMMON_TARGETS = xnu_quick_test \
25 IPHONE_TARGETS = memorystatus
29 ifeq "$(Embedded)" "YES"
30 TARGETS = $(addprefix $(DSTSUBPATH)/, $(COMMON_TARGETS) $(IPHONE_TARGETS))
32 TARGETS = $(addprefix $(DSTSUBPATH)/, $(COMMON_TARGETS) $(MAC_TARGETS))
39 mkdir -p $(OBJROOT)/$(notdir $@)
40 $(MAKE) -C $(SRCROOT)/$(notdir $@) SRCROOT=$(SRCROOT)/$(notdir $@) DSTROOT=$@ OBJROOT=$(OBJROOT)/$(notdir $@)