1*2c2f96dcSApple OSS Distributions# -*- mode: makefile;-*- 2*2c2f96dcSApple OSS Distributions# 3*2c2f96dcSApple OSS Distributions# Copyright (C) 1999-2020 Apple Inc. All rights reserved. 4*2c2f96dcSApple OSS Distributions# 5*2c2f96dcSApple OSS Distributions# MakeInc.rule defines the targets and rules for 6*2c2f96dcSApple OSS Distributions# leaf directories once MakeInc.dir has recursed 7*2c2f96dcSApple OSS Distributions# into them. "do_XXX" may be double-colon rules 8*2c2f96dcSApple OSS Distributions# to allow the Makefile in the source directory 9*2c2f96dcSApple OSS Distributions# to augment the actions that will be performed. 10*2c2f96dcSApple OSS Distributions# 11*2c2f96dcSApple OSS Distributionsinclude $(SRCROOT)/makedefs/MakeInc.color 12*2c2f96dcSApple OSS Distributions 13*2c2f96dcSApple OSS Distributions# 14*2c2f96dcSApple OSS Distributions# Empty the export lists of headers when building for exclaves 15*2c2f96dcSApple OSS Distributions# 16*2c2f96dcSApple OSS Distributions 17*2c2f96dcSApple OSS Distributionsifeq ($(EXPORTHDRS_SKIP_EXCLAVES),YES) 18*2c2f96dcSApple OSS DistributionsEXPORT_MI_LIST = 19*2c2f96dcSApple OSS DistributionsEXPORT_MI_GEN_LIST = 20*2c2f96dcSApple OSS DistributionsEXPORT_MD_LIST = 21*2c2f96dcSApple OSS DistributionsEXPORT_MD_GEN_LIST = 22*2c2f96dcSApple OSS Distributionsendif 23*2c2f96dcSApple OSS Distributions 24*2c2f96dcSApple OSS Distributions# 25*2c2f96dcSApple OSS Distributions# Generic Install rules 26*2c2f96dcSApple OSS Distributions# 27*2c2f96dcSApple OSS Distributions 28*2c2f96dcSApple OSS Distributionsifndef INSTALL_KF_MI_LCL_LIST 29*2c2f96dcSApple OSS Distributions INSTALL_KF_MI_LCL_LIST = $(EXPORT_MI_LIST) 30*2c2f96dcSApple OSS Distributionsendif 31*2c2f96dcSApple OSS Distributions 32*2c2f96dcSApple OSS Distributionsifndef INSTALL_KF_MI_LCL_GEN_LIST 33*2c2f96dcSApple OSS Distributions INSTALL_KF_MI_LCL_GEN_LIST = $(EXPORT_MI_GEN_LIST) 34*2c2f96dcSApple OSS Distributionsendif 35*2c2f96dcSApple OSS Distributions 36*2c2f96dcSApple OSS Distributionsifndef INSTALL_KF_MD_LCL_LIST 37*2c2f96dcSApple OSS Distributions INSTALL_KF_MD_LCL_LIST = $(EXPORT_MD_LIST) 38*2c2f96dcSApple OSS Distributionsendif 39*2c2f96dcSApple OSS Distributions 40*2c2f96dcSApple OSS Distributionsifndef INSTALL_KF_MD_LCL_GEN_LIST 41*2c2f96dcSApple OSS Distributions INSTALL_KF_MD_LCL_GEN_LIST = $(EXPORT_MD_GEN_LIST) 42*2c2f96dcSApple OSS Distributionsendif 43*2c2f96dcSApple OSS Distributions 44*2c2f96dcSApple OSS Distributionsifndef INSTALL_KF_MI_LIST 45*2c2f96dcSApple OSS Distributions INSTALL_KF_MI_LIST = $(EXPORT_MI_LIST) 46*2c2f96dcSApple OSS Distributionsendif 47*2c2f96dcSApple OSS Distributions 48*2c2f96dcSApple OSS Distributionsifndef INSTALL_KF_MI_GEN_LIST 49*2c2f96dcSApple OSS Distributions INSTALL_KF_MI_GEN_LIST = $(EXPORT_MI_GEN_LIST) 50*2c2f96dcSApple OSS Distributionsendif 51*2c2f96dcSApple OSS Distributions 52*2c2f96dcSApple OSS Distributionsifndef INSTALL_KF_MD_LIST 53*2c2f96dcSApple OSS Distributions INSTALL_KF_MD_LIST = $(EXPORT_MD_LIST) 54*2c2f96dcSApple OSS Distributionsendif 55*2c2f96dcSApple OSS Distributions 56*2c2f96dcSApple OSS Distributionsifndef INSTALL_KF_MD_GEN_LIST 57*2c2f96dcSApple OSS Distributions INSTALL_KF_MD_GEN_LIST = $(EXPORT_MD_GEN_LIST) 58*2c2f96dcSApple OSS Distributionsendif 59*2c2f96dcSApple OSS Distributions 60*2c2f96dcSApple OSS Distributions$(eval $(call _setup_build_log_colors)) 61*2c2f96dcSApple OSS Distributions 62*2c2f96dcSApple OSS Distributions.PHONY: ALWAYS 63*2c2f96dcSApple OSS Distributions 64*2c2f96dcSApple OSS DistributionsALWAYS: 65*2c2f96dcSApple OSS Distributions 66*2c2f96dcSApple OSS Distributions# $(1) is the list of install paths 67*2c2f96dcSApple OSS Distributions# $(2) is "1" if it's a "GEN"-style rule that looks locally, or else $(SOURCE) 68*2c2f96dcSApple OSS Distributions# $(3) is the local temp directory for processing 69*2c2f96dcSApple OSS Distributions# $(4) is the unifdef flags 70*2c2f96dcSApple OSS Distributions# 71*2c2f96dcSApple OSS Distributions# $$$$$$$$ is a double-escaped "$$" to represent the current pid 72*2c2f96dcSApple OSS Distributions# of the shell process for creating uniquely named temporary files 73*2c2f96dcSApple OSS Distributions 74*2c2f96dcSApple OSS Distributionsdefine INSTALLHDRS_RULE_template 75*2c2f96dcSApple OSS Distributions 76*2c2f96dcSApple OSS Distributions.PHONY: $(3)_MKDIR 77*2c2f96dcSApple OSS Distributions 78*2c2f96dcSApple OSS Distributions$(3)_MKDIR: 79*2c2f96dcSApple OSS Distributions $$(_v)$$(MKDIR) ./$(3) 80*2c2f96dcSApple OSS Distributions $$(_v)$$(MKDIR) $(dir $(firstword $(1))) 81*2c2f96dcSApple OSS Distributions 82*2c2f96dcSApple OSS Distributions# Rebuild if unifdef flags change 83*2c2f96dcSApple OSS Distributions$(1): $(3)/.UNIFDEF_FLAGS 84*2c2f96dcSApple OSS Distributions$(3)/.UNIFDEF_FLAGS: ALWAYS | $(3)_MKDIR 85*2c2f96dcSApple OSS Distributions $$(_v)$$(REPLACECONTENTS) $$@ $$(UNIFDEF) $(4) 86*2c2f96dcSApple OSS Distributions 87*2c2f96dcSApple OSS Distributions$(1): $(dir $(firstword $(1)))% : $(if $(2),%,$$(SOURCE)/%) | $(3)_MKDIR 88*2c2f96dcSApple OSS Distributions @$$(LOG_INSTALLHDR) "$$*" 89*2c2f96dcSApple OSS Distributions $$(_v)$$(UNIFDEF) $(4) $$< > ./$(3)/$$*.unifdef.$$$$$$$$; \ 90*2c2f96dcSApple OSS Distributions if [ $$$$? -eq 2 ]; then \ 91*2c2f96dcSApple OSS Distributions $(ERR) Parse failure for $$<; \ 92*2c2f96dcSApple OSS Distributions exit 1; \ 93*2c2f96dcSApple OSS Distributions fi; \ 94*2c2f96dcSApple OSS Distributions $$(DECOMMENT) ./$(3)/$$*.unifdef.$$$$$$$$ r > \ 95*2c2f96dcSApple OSS Distributions ./$(3)/$$*.strip.$$$$$$$$ || exit 1; \ 96*2c2f96dcSApple OSS Distributions if [ -s ./$(3)/$$*.strip.$$$$$$$$ ]; then \ 97*2c2f96dcSApple OSS Distributions $$(INSTALL) $$(INSTALL_FLAGS) ./$(3)/$$*.unifdef.$$$$$$$$ $$@ || exit 1; \ 98*2c2f96dcSApple OSS Distributions fi; \ 99*2c2f96dcSApple OSS Distributions $$(RM) ./$(3)/$$*.unifdef.$$$$$$$$ ./$(3)/$$*.strip.$$$$$$$$ 100*2c2f96dcSApple OSS Distributionsendef 101*2c2f96dcSApple OSS Distributions 102*2c2f96dcSApple OSS Distributions# $(1) is the list of install paths 103*2c2f96dcSApple OSS Distributions# $(2) is the source path pattern (using % to match with $(5)) or source file 104*2c2f96dcSApple OSS Distributions# $(3) is the local temp directory for processing 105*2c2f96dcSApple OSS Distributions# $(4) is the unifdef flags 106*2c2f96dcSApple OSS Distributions# $(5) is the destination directory (when pattern matching) or empty 107*2c2f96dcSApple OSS Distributions# 108*2c2f96dcSApple OSS Distributions# $$$$$$$$ is a double-escaped "$$" to represent the current pid 109*2c2f96dcSApple OSS Distributions# of the shell process for creating uniquely named temporary files 110*2c2f96dcSApple OSS Distributions 111*2c2f96dcSApple OSS Distributionsdefine INSTALLPYTHON_RULE_template 112*2c2f96dcSApple OSS Distributions 113*2c2f96dcSApple OSS Distributions.PHONY: $(3)_MKDIR 114*2c2f96dcSApple OSS Distributions 115*2c2f96dcSApple OSS Distributions$(3)_MKDIR: 116*2c2f96dcSApple OSS Distributions $$(_v)$$(MKDIR) ./$(3) 117*2c2f96dcSApple OSS Distributions 118*2c2f96dcSApple OSS Distributions# Rebuild if unifdef flags change 119*2c2f96dcSApple OSS Distributions$(1): $(3)/.UNIFDEF_FLAGS 120*2c2f96dcSApple OSS Distributions$(3)/.UNIFDEF_FLAGS: ALWAYS | $(3)_MKDIR 121*2c2f96dcSApple OSS Distributions $$(_v)$$(REPLACECONTENTS) $$@ $$(UNIFDEF) -t $(4) 122*2c2f96dcSApple OSS Distributions 123*2c2f96dcSApple OSS Distributions$(1): $(5)% : $(2) | $(3)_MKDIR 124*2c2f96dcSApple OSS Distributions @$$(LOG_INSTALLPY) "$$*" 125*2c2f96dcSApple OSS Distributions $$(_v)$$(MKDIR) $$(dir $$@) $$(dir ./$(3)/$$*) 126*2c2f96dcSApple OSS Distributions $$(_v)$$(UNIFDEF) -t $(4) $$< > ./$(3)/$$*.unifdef.$$$$$$$$$$(suffix $$*); \ 127*2c2f96dcSApple OSS Distributions if [ $$$$? -eq 2 ]; then \ 128*2c2f96dcSApple OSS Distributions $(ERR) Parse failure for $$<; \ 129*2c2f96dcSApple OSS Distributions exit 1; \ 130*2c2f96dcSApple OSS Distributions fi; \ 131*2c2f96dcSApple OSS Distributions $$(INSTALL) $$(DATA_INSTALL_FLAGS) \ 132*2c2f96dcSApple OSS Distributions ./$(3)/$$*.unifdef.$$$$$$$$$$(suffix $$*) $$@ || exit 1; \ 133*2c2f96dcSApple OSS Distributions $$(LLDBMACROS_SOURCE)/core/syntax_checker.py \ 134*2c2f96dcSApple OSS Distributions ./$(3)/$$*.unifdef.$$$$$$$$$$(suffix $$*) $$(_vstdout) || exit 1; \ 135*2c2f96dcSApple OSS Distributions $$(RM) ./$(3)/$$*.unifdef.$$$$$$$$$$(suffix $$*) 136*2c2f96dcSApple OSS Distributions $$(_v)if [ -n "$(5)" ]; then $$(TOUCH) "$(5)"; fi 137*2c2f96dcSApple OSS Distributionsendef 138*2c2f96dcSApple OSS Distributions 139*2c2f96dcSApple OSS Distributions# Template for Libsyscall header unifdef postprocessing in DSTROOT 140*2c2f96dcSApple OSS Distributions# $(1) is the install path 141*2c2f96dcSApple OSS Distributions# $(2) is the unifdef flags 142*2c2f96dcSApple OSS Distributions 143*2c2f96dcSApple OSS Distributionsdefine LIBSYSCALL_DO_UNIFDEF_HEADERS_RULE_template 144*2c2f96dcSApple OSS Distributionsdo_unifdef_headers:: 145*2c2f96dcSApple OSS Distributions $$(_v)[ \! -d "$(1)" ] || $$(FIND) -x "$(1)" -type f \( -name \*.h -o \ 146*2c2f96dcSApple OSS Distributions -name \*.defs -o -name \*.iig -o -name \*.modulemap \) \ 147*2c2f96dcSApple OSS Distributions -execdir $$(UNIFDEF) $(2) -o {} {} \; 148*2c2f96dcSApple OSS Distributions.PHONY: do_unifdef_headers 149*2c2f96dcSApple OSS Distributionsendef 150*2c2f96dcSApple OSS Distributions 151*2c2f96dcSApple OSS Distributions 152*2c2f96dcSApple OSS Distributions# 153*2c2f96dcSApple OSS Distributions# Empty the install lists of non-host and non-exclave headers if building the 154*2c2f96dcSApple OSS Distributions# host headers alias and exclave headers aliases. Separately, export headers 155*2c2f96dcSApple OSS Distributions# are also emptied for exclaves (but not for host headers) with 156*2c2f96dcSApple OSS Distributions# EXPORTHDRS_SKIP_EXCLAVES. 157*2c2f96dcSApple OSS Distributions# 158*2c2f96dcSApple OSS Distributions 159*2c2f96dcSApple OSS Distributionsifeq ($(INSTALLHDRS_SKIP_HOST),YES) 160*2c2f96dcSApple OSS Distributions 161*2c2f96dcSApple OSS DistributionsINSTALL_MI_LIST = 162*2c2f96dcSApple OSS DistributionsINSTALL_MI_GEN_LIST = 163*2c2f96dcSApple OSS DistributionsINSTALL_IF_MI_LIST = 164*2c2f96dcSApple OSS DistributionsINSTALL_IF_MI_GEN_LIST = 165*2c2f96dcSApple OSS DistributionsINSTALL_DRIVERKIT_MI_LIST = 166*2c2f96dcSApple OSS DistributionsINSTALL_DRIVERKIT_MI_GEN_LIST = 167*2c2f96dcSApple OSS DistributionsINSTALL_KF_MI_LIST = 168*2c2f96dcSApple OSS DistributionsINSTALL_KF_MI_GEN_LIST = 169*2c2f96dcSApple OSS DistributionsINSTALL_MI_LCL_LIST = 170*2c2f96dcSApple OSS DistributionsINSTALL_MI_LCL_GEN_LIST = 171*2c2f96dcSApple OSS DistributionsINSTALL_IF_MI_LCL_LIST = 172*2c2f96dcSApple OSS DistributionsINSTALL_IF_MI_LCL_GEN_LIST = 173*2c2f96dcSApple OSS DistributionsINSTALL_SF_MI_LCL_LIST = 174*2c2f96dcSApple OSS DistributionsINSTALL_SF_MI_LCL_GEN_LIST = 175*2c2f96dcSApple OSS DistributionsINSTALL_DRIVERKIT_MI_LCL_LIST = 176*2c2f96dcSApple OSS DistributionsINSTALL_DRIVERKIT_MI_LCL_GEN_LIST = 177*2c2f96dcSApple OSS DistributionsINSTALL_KF_MI_LCL_LIST = 178*2c2f96dcSApple OSS DistributionsINSTALL_KF_MI_LCL_GEN_LIST = 179*2c2f96dcSApple OSS DistributionsINSTALL_MD_LIST = 180*2c2f96dcSApple OSS DistributionsINSTALL_MD_GEN_LIST = 181*2c2f96dcSApple OSS DistributionsINSTALL_DRIVERKIT_MD_LIST = 182*2c2f96dcSApple OSS DistributionsINSTALL_DRIVERKIT_MD_GEN_LIST = 183*2c2f96dcSApple OSS DistributionsINSTALL_KF_MD_LIST = 184*2c2f96dcSApple OSS DistributionsINSTALL_KF_MD_GEN_LIST = 185*2c2f96dcSApple OSS DistributionsINSTALL_MD_LCL_LIST = 186*2c2f96dcSApple OSS DistributionsINSTALL_MD_LCL_GEN_LIST = 187*2c2f96dcSApple OSS DistributionsINSTALL_SF_MD_LCL_LIST = 188*2c2f96dcSApple OSS DistributionsINSTALL_SF_MD_LCL_GEN_LIST = 189*2c2f96dcSApple OSS DistributionsINSTALL_DRIVERKIT_MD_LCL_LIST = 190*2c2f96dcSApple OSS DistributionsINSTALL_DRIVERKIT_MD_LCL_GEN_LIST = 191*2c2f96dcSApple OSS DistributionsINSTALL_KF_MD_LCL_LIST = 192*2c2f96dcSApple OSS DistributionsINSTALL_KF_MD_LCL_GEN_LIST = 193*2c2f96dcSApple OSS DistributionsINSTALL_KF_LIBCXX_MI_LIST = 194*2c2f96dcSApple OSS Distributions 195*2c2f96dcSApple OSS Distributions# If there are no headers then there can be no module maps. 196*2c2f96dcSApple OSS DistributionsINSTALLHDRS_MODULEMAPS_SKIP_HOST = YES 197*2c2f96dcSApple OSS Distributions 198*2c2f96dcSApple OSS Distributionsendif 199*2c2f96dcSApple OSS Distributions 200*2c2f96dcSApple OSS Distributionsifeq ($(INSTALLHDRS_MODULEMAPS_SKIP_HOST),YES) 201*2c2f96dcSApple OSS DistributionsINSTALL_MODULEMAP_MI_LIST = 202*2c2f96dcSApple OSS DistributionsINSTALL_MODULEMAP_MI_LCL_LIST = 203*2c2f96dcSApple OSS DistributionsINSTALL_MODULEMAP_MD_LIST = 204*2c2f96dcSApple OSS DistributionsINSTALL_MODULEMAP_MD_LCL_LIST = 205*2c2f96dcSApple OSS Distributionsendif 206*2c2f96dcSApple OSS Distributions 207*2c2f96dcSApple OSS Distributions# 208*2c2f96dcSApple OSS Distributions# Machine-independent (public) files 209*2c2f96dcSApple OSS Distributions# 210*2c2f96dcSApple OSS Distributions 211*2c2f96dcSApple OSS DistributionsINSTALL_MI_INC_FILES = $(addprefix $(DSTROOT)/$(INCDIR)/$(INSTALL_MI_DIR)/, $(INSTALL_MI_LIST)) 212*2c2f96dcSApple OSS DistributionsINSTALL_MI_INC_GEN_FILES = $(addprefix $(DSTROOT)/$(INCDIR)/$(INSTALL_MI_DIR)/, $(INSTALL_MI_GEN_LIST)) 213*2c2f96dcSApple OSS DistributionsINSTALL_MODULEMAP_MI_INC_FILES = $(addprefix $(DSTROOT)/$(INCDIR)/$(INSTALL_MODULEMAP_MI_DIR)/,$(INSTALL_MODULEMAP_MI_LIST)) 214*2c2f96dcSApple OSS Distributions 215*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_MI_INC_FILES),,incmidir,$(SINCFRAME_UNIFDEF))) 216*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_MI_INC_GEN_FILES),1,incmigendir,$(SINCFRAME_UNIFDEF))) 217*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_MODULEMAP_MI_INC_FILES),,mmincmidir,-t $(DATA_UNIFDEF))) 218*2c2f96dcSApple OSS Distributions 219*2c2f96dcSApple OSS DistributionsINSTALL_IF_MI_FILES = $(addprefix $(DSTROOT)/$(IINCDIR)/$(INSTALL_MI_DIR)/, $(INSTALL_IF_MI_LIST)) 220*2c2f96dcSApple OSS DistributionsINSTALL_IF_MI_GEN_FILES = $(addprefix $(DSTROOT)/$(IINCDIR)/$(INSTALL_MI_DIR)/, $(INSTALL_IF_MI_GEN_LIST)) 221*2c2f96dcSApple OSS Distributions 222*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_IF_MI_FILES),,iincmidir,$(SINCFRAME_UNIFDEF))) 223*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_IF_MI_GEN_FILES),1,iincmigendir,$(SINCFRAME_UNIFDEF))) 224*2c2f96dcSApple OSS Distributions 225*2c2f96dcSApple OSS Distributionsifeq ($(DRIVERKIT),1) 226*2c2f96dcSApple OSS DistributionsINSTALL_DRIVERKIT_MI_INC_FILES = $(addprefix $(DSTROOT)/$(DRIVERKITINCDIR)/$(INSTALL_MI_DIR)/, $(INSTALL_DRIVERKIT_MI_LIST)) 227*2c2f96dcSApple OSS DistributionsINSTALL_DRIVERKIT_MI_INC_GEN_FILES = $(addprefix $(DSTROOT)/$(DRIVERKITINCDIR)/$(INSTALL_MI_DIR)/, $(INSTALL_DRIVERKIT_MI_GEN_LIST)) 228*2c2f96dcSApple OSS Distributions 229*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_DRIVERKIT_MI_INC_FILES),,dkincmidir,$(DKINCFRAME_UNIFDEF))) 230*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_DRIVERKIT_MI_INC_GEN_FILES),1,dkincmigendir,$(DKINCFRAME_UNIFDEF))) 231*2c2f96dcSApple OSS Distributionsendif 232*2c2f96dcSApple OSS Distributions 233*2c2f96dcSApple OSS Distributionsifeq ($(EXCLAVEKIT),1) 234*2c2f96dcSApple OSS DistributionsINSTALL_EXCLAVEKIT_MI_INC_FILES = $(addprefix $(DSTROOT)/$(EXCLAVEKITINCDIR)/$(INSTALL_MI_DIR)/, $(INSTALL_EXCLAVEKIT_MI_LIST)) 235*2c2f96dcSApple OSS DistributionsINSTALL_EXCLAVEKIT_MI_INC_GEN_FILES = $(addprefix $(DSTROOT)/$(EXCLAVEKITINCDIR)/$(INSTALL_MI_DIR)/, $(INSTALL_EXCLAVEKIT_MI_GEN_LIST)) 236*2c2f96dcSApple OSS Distributions 237*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_EXCLAVEKIT_MI_INC_FILES),,ekincmidir,$(EKINCFRAME_UNIFDEF))) 238*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_EXCLAVEKIT_MI_INC_GEN_FILES),1,ekincmigendir,$(EKINCFRAME_UNIFDEF))) 239*2c2f96dcSApple OSS Distributionsendif 240*2c2f96dcSApple OSS Distributions 241*2c2f96dcSApple OSS Distributionsifeq ($(EXCLAVECORE),1) 242*2c2f96dcSApple OSS DistributionsINSTALL_EXCLAVECORE_MI_INC_FILES = $(addprefix $(DSTROOT)/$(EXCLAVECOREINCDIR)/$(INSTALL_MI_DIR)/, $(INSTALL_EXCLAVECORE_MI_LIST)) 243*2c2f96dcSApple OSS DistributionsINSTALL_EXCLAVECORE_MI_INC_GEN_FILES = $(addprefix $(DSTROOT)/$(EXCLAVECOREINCDIR)/$(INSTALL_MI_DIR)/, $(INSTALL_EXCLAVECORE_MI_GEN_LIST)) 244*2c2f96dcSApple OSS Distributions 245*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_EXCLAVECORE_MI_INC_FILES),,ecincmidir,$(ECINCFRAME_UNIFDEF))) 246*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_EXCLAVECORE_MI_INC_GEN_FILES),1,ecincmigendir,$(ECINCFRAME_UNIFDEF))) 247*2c2f96dcSApple OSS Distributionsendif 248*2c2f96dcSApple OSS Distributions 249*2c2f96dcSApple OSS DistributionsINSTALL_KF_MI_FILES = $(addprefix $(DSTROOT)/$(KINCDIR)/$(EXPORT_MI_DIR)/, $(INSTALL_KF_MI_LIST)) 250*2c2f96dcSApple OSS DistributionsINSTALL_KF_MI_GEN_FILES = $(addprefix $(DSTROOT)/$(KINCDIR)/$(EXPORT_MI_DIR)/, $(INSTALL_KF_MI_GEN_LIST)) 251*2c2f96dcSApple OSS Distributions 252*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_KF_MI_FILES),,kincmidir,$(KINCFRAME_UNIFDEF))) 253*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_KF_MI_GEN_FILES),1,kincmigendir,$(KINCFRAME_UNIFDEF))) 254*2c2f96dcSApple OSS Distributions 255*2c2f96dcSApple OSS DistributionsINSTALL_LIBCXX_MI_FILES = $(addprefix $(DSTROOT)/$(KLIBCXXINCDIR)/, $(INSTALL_KF_LIBCXX_MI_LIST)) 256*2c2f96dcSApple OSS Distributions 257*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_LIBCXX_MI_FILES),,cxxmidir,$(LIBCXXINCFRAME_UNIFDEF))) 258*2c2f96dcSApple OSS Distributions 259*2c2f96dcSApple OSS Distributions# 260*2c2f96dcSApple OSS Distributions# Machine-independent local (private) files 261*2c2f96dcSApple OSS Distributions# 262*2c2f96dcSApple OSS Distributions 263*2c2f96dcSApple OSS DistributionsINSTALL_MI_LCL_FILES = $(addprefix $(DSTROOT)/$(LCLDIR)/$(INSTALL_MI_DIR)/, $(INSTALL_MI_LCL_LIST)) 264*2c2f96dcSApple OSS DistributionsINSTALL_MI_LCL_GEN_FILES = $(addprefix $(DSTROOT)/$(LCLDIR)/$(INSTALL_MI_DIR)/, $(INSTALL_MI_LCL_GEN_LIST)) 265*2c2f96dcSApple OSS DistributionsINSTALL_MODULEMAP_MI_LCL_FILES = $(addprefix $(DSTROOT)/$(LCLDIR)/$(INSTALL_MODULEMAP_MI_DIR)/,$(INSTALL_MODULEMAP_MI_LCL_LIST)) 266*2c2f96dcSApple OSS Distributions 267*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_MI_LCL_FILES),,pincmidir,$(SPINCFRAME_UNIFDEF))) 268*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_MI_LCL_GEN_FILES),1,pincmigendir,$(SPINCFRAME_UNIFDEF))) 269*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_MODULEMAP_MI_LCL_FILES),,mmpincmidir,-t $(PDATA_UNIFDEF))) 270*2c2f96dcSApple OSS Distributions 271*2c2f96dcSApple OSS DistributionsINSTALL_IF_MI_LCL_FILES = $(addprefix $(DSTROOT)/$(IPINCDIR)/$(INSTALL_MI_DIR)/, $(INSTALL_IF_MI_LCL_LIST)) 272*2c2f96dcSApple OSS DistributionsINSTALL_IF_MI_LCL_GEN_FILES = $(addprefix $(DSTROOT)/$(IPINCDIR)/$(INSTALL_MI_DIR)/, $(INSTALL_IF_MI_LCL_GEN_LIST)) 273*2c2f96dcSApple OSS Distributions 274*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_IF_MI_LCL_FILES),,ipincmidir,$(SPINCFRAME_UNIFDEF))) 275*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_IF_MI_LCL_GEN_FILES),1,ipincmigendir,$(SPINCFRAME_UNIFDEF))) 276*2c2f96dcSApple OSS Distributions 277*2c2f96dcSApple OSS DistributionsINSTALL_SF_MI_LCL_FILES = $(addprefix $(DSTROOT)/$(SPINCDIR)/$(INSTALL_MI_DIR)/, $(sort $(INSTALL_SF_MI_LCL_LIST))) 278*2c2f96dcSApple OSS DistributionsINSTALL_SF_MI_LCL_GEN_FILES = $(addprefix $(DSTROOT)/$(SPINCDIR)/$(INSTALL_MI_DIR)/, $(sort $(INSTALL_SF_MI_LCL_GEN_LIST))) 279*2c2f96dcSApple OSS Distributions 280*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_SF_MI_LCL_FILES),,spincmidir,$(SPINCFRAME_UNIFDEF))) 281*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_SF_MI_LCL_GEN_FILES),1,spincmigendir,$(SPINCFRAME_UNIFDEF))) 282*2c2f96dcSApple OSS Distributions 283*2c2f96dcSApple OSS Distributionsifeq ($(DRIVERKIT),1) 284*2c2f96dcSApple OSS DistributionsINSTALL_DRIVERKIT_MI_LCL_FILES = $(addprefix $(DSTROOT)/$(DRIVERKITLCLDIR)/$(INSTALL_MI_DIR)/, $(INSTALL_DRIVERKIT_MI_LCL_LIST)) 285*2c2f96dcSApple OSS DistributionsINSTALL_DRIVERKIT_MI_LCL_GEN_FILES = $(addprefix $(DSTROOT)/$(DRIVERKITLCLDIR)/$(INSTALL_MI_DIR)/, $(INSTALL_DRIVERKIT_MI_LCL_GEN_LIST)) 286*2c2f96dcSApple OSS Distributions 287*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_DRIVERKIT_MI_LCL_FILES),,dkpincmidir,$(DKPINCFRAME_UNIFDEF))) 288*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_DRIVERKIT_MI_LCL_GEN_FILES),1,dkpincmigendir,$(DKPINCFRAME_UNIFDEF))) 289*2c2f96dcSApple OSS Distributionsendif 290*2c2f96dcSApple OSS Distributions 291*2c2f96dcSApple OSS Distributionsifeq ($(EXCLAVEKIT),1) 292*2c2f96dcSApple OSS DistributionsINSTALL_EXCLAVEKIT_MI_LCL_FILES = $(addprefix $(DSTROOT)/$(EXCLAVEKITLCLDIR)/$(INSTALL_MI_DIR)/, $(INSTALL_EXCLAVEKIT_MI_LCL_LIST)) 293*2c2f96dcSApple OSS DistributionsINSTALL_EXCLAVEKIT_MI_LCL_GEN_FILES = $(addprefix $(DSTROOT)/$(EXCLAVEKITLCLDIR)/$(INSTALL_MI_DIR)/, $(INSTALL_EXCLAVEKIT_MI_LCL_GEN_LIST)) 294*2c2f96dcSApple OSS Distributions 295*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_EXCLAVEKIT_MI_LCL_FILES),,ekpincmidir,$(EKPINCFRAME_UNIFDEF))) 296*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_EXCLAVEKIT_MI_LCL_GEN_FILES),1,ekpincmigendir,$(EKPINCFRAME_UNIFDEF))) 297*2c2f96dcSApple OSS Distributionsendif 298*2c2f96dcSApple OSS Distributions 299*2c2f96dcSApple OSS Distributionsifeq ($(EXCLAVECORE),1) 300*2c2f96dcSApple OSS DistributionsINSTALL_EXCLAVECORE_MI_LCL_FILES = $(addprefix $(DSTROOT)/$(EXCLAVECORELCLDIR)/$(INSTALL_MI_DIR)/, $(INSTALL_EXCLAVECORE_MI_LCL_LIST)) 301*2c2f96dcSApple OSS DistributionsINSTALL_EXCLAVECORE_MI_LCL_GEN_FILES = $(addprefix $(DSTROOT)/$(EXCLAVECORELCLDIR)/$(INSTALL_MI_DIR)/, $(INSTALL_EXCLAVECORE_MI_LCL_GEN_LIST)) 302*2c2f96dcSApple OSS Distributions 303*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_EXCLAVECORE_MI_LCL_FILES),,ecpincmidir,$(ECPINCFRAME_UNIFDEF))) 304*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_EXCLAVECORE_MI_LCL_GEN_FILES),1,ecpincmigendir,$(ECPINCFRAME_UNIFDEF))) 305*2c2f96dcSApple OSS Distributionsendif 306*2c2f96dcSApple OSS Distributions 307*2c2f96dcSApple OSS DistributionsINSTALL_KF_MI_LCL_FILES = $(addprefix $(DSTROOT)/$(KPINCDIR)/$(EXPORT_MI_DIR)/, $(INSTALL_KF_MI_LCL_LIST)) 308*2c2f96dcSApple OSS DistributionsINSTALL_KF_MI_LCL_GEN_FILES = $(addprefix $(DSTROOT)/$(KPINCDIR)/$(EXPORT_MI_DIR)/, $(INSTALL_KF_MI_LCL_GEN_LIST)) 309*2c2f96dcSApple OSS Distributions 310*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_KF_MI_LCL_FILES),,kpincmidir,$(KPINCFRAME_UNIFDEF))) 311*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_KF_MI_LCL_GEN_FILES),1,kpincmigendir,$(KPINCFRAME_UNIFDEF))) 312*2c2f96dcSApple OSS Distributions 313*2c2f96dcSApple OSS Distributions# 314*2c2f96dcSApple OSS Distributions# Machine-dependent (public) files 315*2c2f96dcSApple OSS Distributions# 316*2c2f96dcSApple OSS Distributions 317*2c2f96dcSApple OSS DistributionsINSTALL_MD_INC_FILES = $(addprefix $(DSTROOT)/$(INCDIR)/$(INSTALL_MD_DIR)/, $(INSTALL_MD_LIST)) 318*2c2f96dcSApple OSS DistributionsINSTALL_MD_INC_GEN_FILES = $(addprefix $(DSTROOT)/$(INCDIR)/$(INSTALL_MD_DIR)/, $(INSTALL_MD_GEN_LIST)) 319*2c2f96dcSApple OSS DistributionsINSTALL_MODULEMAP_MD_INC_FILES = $(addprefix $(DSTROOT)/$(INCDIR)/$(INSTALL_MODULEMAP_MD_DIR)/,$(INSTALL_MODULEMAP_MD_LIST)) 320*2c2f96dcSApple OSS Distributions 321*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_MD_INC_FILES),,incdir,$(SINCFRAME_UNIFDEF))) 322*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_MD_INC_GEN_FILES),1,incgendir,$(SINCFRAME_UNIFDEF))) 323*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_MODULEMAP_MD_INC_FILES),,mmincdir,-t $(DATA_UNIFDEF))) 324*2c2f96dcSApple OSS Distributions 325*2c2f96dcSApple OSS Distributionsifeq ($(DRIVERKIT),1) 326*2c2f96dcSApple OSS DistributionsINSTALL_DRIVERKIT_MD_INC_FILES = $(addprefix $(DSTROOT)/$(DRIVERKITINCDIR)/$(INSTALL_MD_DIR)/, $(INSTALL_DRIVERKIT_MD_LIST)) 327*2c2f96dcSApple OSS DistributionsINSTALL_DRIVERKIT_MD_INC_GEN_FILES = $(addprefix $(DSTROOT)/$(DRIVERKITINCDIR)/$(INSTALL_MD_DIR)/, $(INSTALL_DRIVERKIT_MD_GEN_LIST)) 328*2c2f96dcSApple OSS Distributions 329*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_DRIVERKIT_MD_INC_FILES),,dkincdir,$(DKINCFRAME_UNIFDEF))) 330*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_DRIVERKIT_MD_INC_GEN_FILES),1,dkincgendir,$(DKINCFRAME_UNIFDEF))) 331*2c2f96dcSApple OSS Distributionsendif 332*2c2f96dcSApple OSS Distributions 333*2c2f96dcSApple OSS Distributionsifeq ($(EXCLAVEKIT),1) 334*2c2f96dcSApple OSS DistributionsINSTALL_EXCLAVEKIT_MD_INC_FILES = $(addprefix $(DSTROOT)/$(EXCLAVEKITINCDIR)/$(INSTALL_MD_DIR)/, $(INSTALL_EXCLAVEKIT_MD_LIST)) 335*2c2f96dcSApple OSS DistributionsINSTALL_EXCLAVEKIT_MD_INC_GEN_FILES = $(addprefix $(DSTROOT)/$(EXCLAVEKITINCDIR)/$(INSTALL_MD_DIR)/, $(INSTALL_EXCLAVEKIT_MD_GEN_LIST)) 336*2c2f96dcSApple OSS Distributions 337*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_EXCLAVEKIT_MD_INC_FILES),,ekincdir,$(EKINCFRAME_UNIFDEF))) 338*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_EXCLAVEKIT_MD_INC_GEN_FILES),1,ekincgendir,$(EKINCFRAME_UNIFDEF))) 339*2c2f96dcSApple OSS Distributionsendif 340*2c2f96dcSApple OSS Distributions 341*2c2f96dcSApple OSS Distributionsifeq ($(EXCLAVECORE),1) 342*2c2f96dcSApple OSS DistributionsINSTALL_EXCLAVECORE_MD_INC_FILES = $(addprefix $(DSTROOT)/$(EXCLAVECOREINCDIR)/$(INSTALL_MD_DIR)/, $(INSTALL_EXCLAVECORE_MD_LIST)) 343*2c2f96dcSApple OSS DistributionsINSTALL_EXCLAVECORE_MD_INC_GEN_FILES = $(addprefix $(DSTROOT)/$(EXCLAVECOREINCDIR)/$(INSTALL_MD_DIR)/, $(INSTALL_EXCLAVECORE_MD_GEN_LIST)) 344*2c2f96dcSApple OSS Distributions 345*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_EXCLAVECORE_MD_INC_FILES),,ecincdir,$(ECINCFRAME_UNIFDEF))) 346*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_EXCLAVECORE_MD_INC_GEN_FILES),1,ecincgendir,$(ECINCFRAME_UNIFDEF))) 347*2c2f96dcSApple OSS Distributionsendif 348*2c2f96dcSApple OSS Distributions 349*2c2f96dcSApple OSS DistributionsINSTALL_KF_MD_FILES = $(addprefix $(DSTROOT)/$(KINCDIR)/$(EXPORT_MD_DIR)/, $(INSTALL_KF_MD_LIST)) 350*2c2f96dcSApple OSS DistributionsINSTALL_KF_MD_GEN_FILES = $(addprefix $(DSTROOT)/$(KINCDIR)/$(EXPORT_MD_DIR)/, $(INSTALL_KF_MD_GEN_LIST)) 351*2c2f96dcSApple OSS Distributions 352*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_KF_MD_FILES),,kincdir,$(KINCFRAME_UNIFDEF))) 353*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_KF_MD_GEN_FILES),1,kincgendir,$(KINCFRAME_UNIFDEF))) 354*2c2f96dcSApple OSS Distributions 355*2c2f96dcSApple OSS Distributions# 356*2c2f96dcSApple OSS Distributions# Machine-dependent local (private) files 357*2c2f96dcSApple OSS Distributions# 358*2c2f96dcSApple OSS Distributions 359*2c2f96dcSApple OSS DistributionsINSTALL_MD_LCL_FILES = $(addprefix $(DSTROOT)/$(LCLDIR)/$(INSTALL_MD_DIR)/, $(sort $(INSTALL_MD_LCL_LIST))) 360*2c2f96dcSApple OSS DistributionsINSTALL_MD_LCL_GEN_FILES = $(addprefix $(DSTROOT)/$(LCLDIR)/$(INSTALL_MD_DIR)/, $(sort $(INSTALL_MD_LCL_GEN_LIST))) 361*2c2f96dcSApple OSS DistributionsINSTALL_MODULEMAP_MD_LCL_FILES = $(addprefix $(DSTROOT)/$(LCLDIR)/$(INSTALL_MODULEMAP_MD_DIR)/,$(INSTALL_MODULEMAP_MD_LCL_LIST)) 362*2c2f96dcSApple OSS Distributions 363*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_MD_LCL_FILES),,pincdir,$(SPINCFRAME_UNIFDEF))) 364*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_MD_LCL_GEN_FILES),1,pincgendir,$(SPINCFRAME_UNIFDEF))) 365*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_MODULEMAP_MD_LCL_FILES),,mmpincdir,-t $(PDATA_UNIFDEF))) 366*2c2f96dcSApple OSS Distributions 367*2c2f96dcSApple OSS DistributionsINSTALL_SF_MD_LCL_FILES = $(addprefix $(DSTROOT)/$(SPINCDIR)/$(INSTALL_MD_DIR)/, $(sort $(INSTALL_SF_MD_LCL_LIST))) 368*2c2f96dcSApple OSS DistributionsINSTALL_SF_MD_LCL_GEN_FILES = $(addprefix $(DSTROOT)/$(SPINCDIR)/$(INSTALL_MD_DIR)/, $(sort $(INSTALL_SF_MD_LCL_GEN_LIST))) 369*2c2f96dcSApple OSS Distributions 370*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_SF_MD_LCL_FILES),,spincdir,$(SPINCFRAME_UNIFDEF))) 371*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_SF_MD_LCL_GEN_FILES),1,spincgendir,$(SPINCFRAME_UNIFDEF))) 372*2c2f96dcSApple OSS Distributions 373*2c2f96dcSApple OSS Distributionsifeq ($(DRIVERKIT),1) 374*2c2f96dcSApple OSS DistributionsINSTALL_DRIVERKIT_MD_LCL_FILES = $(addprefix $(DSTROOT)/$(DRIVERKITLCLDIR)/$(INSTALL_MD_DIR)/, $(INSTALL_DRIVERKIT_MD_LCL_LIST)) 375*2c2f96dcSApple OSS DistributionsINSTALL_DRIVERKIT_MD_LCL_GEN_FILES = $(addprefix $(DSTROOT)/$(DRIVERKITLCLDIR)/$(INSTALL_MD_DIR)/, $(INSTALL_DRIVERKIT_MD_LCL_GEN_LIST)) 376*2c2f96dcSApple OSS Distributions 377*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_DRIVERKIT_MD_LCL_FILES),,dkpincdir,$(DKPINCFRAME_UNIFDEF))) 378*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_DRIVERKIT_MD_LCL_GEN_FILES),1,dkpincgendir,$(DKPINCFRAME_UNIFDEF))) 379*2c2f96dcSApple OSS Distributionsendif 380*2c2f96dcSApple OSS Distributions 381*2c2f96dcSApple OSS Distributionsifeq ($(EXCLAVEKIT),1) 382*2c2f96dcSApple OSS DistributionsINSTALL_EXCLAVEKIT_MD_LCL_FILES = $(addprefix $(DSTROOT)/$(EXCLAVEKITLCLDIR)/$(INSTALL_MD_DIR)/, $(INSTALL_EXCLAVEKIT_MD_LCL_LIST)) 383*2c2f96dcSApple OSS DistributionsINSTALL_EXCLAVEKIT_MD_LCL_GEN_FILES = $(addprefix $(DSTROOT)/$(EXCLAVEKITLCLDIR)/$(INSTALL_MD_DIR)/, $(INSTALL_EXCLAVEKIT_MD_LCL_GEN_LIST)) 384*2c2f96dcSApple OSS Distributions 385*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_EXCLAVEKIT_MD_LCL_FILES),,ekpincdir,$(EKPINCFRAME_UNIFDEF))) 386*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_EXCLAVEKIT_MD_LCL_GEN_FILES),1,ekpincgendir,$(EKPINCFRAME_UNIFDEF))) 387*2c2f96dcSApple OSS Distributionsendif 388*2c2f96dcSApple OSS Distributions 389*2c2f96dcSApple OSS Distributionsifeq ($(EXCLAVECORE),1) 390*2c2f96dcSApple OSS DistributionsINSTALL_EXCLAVECORE_MD_LCL_FILES = $(addprefix $(DSTROOT)/$(EXCLAVECORELCLDIR)/$(INSTALL_MD_DIR)/, $(INSTALL_EXCLAVECORE_MD_LCL_LIST)) 391*2c2f96dcSApple OSS DistributionsINSTALL_EXCLAVECORE_MD_LCL_GEN_FILES = $(addprefix $(DSTROOT)/$(EXCLAVECORELCLDIR)/$(INSTALL_MD_DIR)/, $(INSTALL_EXCLAVECORE_MD_LCL_GEN_LIST)) 392*2c2f96dcSApple OSS Distributions 393*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_EXCLAVECORE_MD_LCL_FILES),,ecpincdir,$(ECPINCFRAME_UNIFDEF))) 394*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_EXCLAVECORE_MD_LCL_GEN_FILES),1,ecpincgendir,$(ECPINCFRAME_UNIFDEF))) 395*2c2f96dcSApple OSS Distributionsendif 396*2c2f96dcSApple OSS Distributions 397*2c2f96dcSApple OSS DistributionsINSTALL_KF_MD_LCL_FILES = $(addprefix $(DSTROOT)/$(KPINCDIR)/$(EXPORT_MD_DIR)/, $(INSTALL_KF_MD_LCL_LIST)) 398*2c2f96dcSApple OSS DistributionsINSTALL_KF_MD_LCL_GEN_FILES = $(addprefix $(DSTROOT)/$(KPINCDIR)/$(EXPORT_MD_DIR)/, $(INSTALL_KF_MD_LCL_GEN_LIST)) 399*2c2f96dcSApple OSS Distributions 400*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_KF_MD_LCL_FILES),,kpincdir,$(KPINCFRAME_UNIFDEF))) 401*2c2f96dcSApple OSS Distributions$(eval $(call INSTALLHDRS_RULE_template,$(INSTALL_KF_MD_LCL_GEN_FILES),1,kpincgendir,$(KPINCFRAME_UNIFDEF))) 402*2c2f96dcSApple OSS Distributions 403*2c2f96dcSApple OSS Distributions.PHONY: do_installhdrs_mi 404*2c2f96dcSApple OSS Distributions 405*2c2f96dcSApple OSS Distributions# Double-colon rule so that MakeInc.kernel can add custom behaviors 406*2c2f96dcSApple OSS Distributionsdo_installhdrs_mi:: $(INSTALL_MI_INC_FILES) $(INSTALL_MI_INC_GEN_FILES) $(INSTALL_MODULEMAP_MI_INC_FILES) \ 407*2c2f96dcSApple OSS Distributions $(INSTALL_IF_MI_FILES) $(INSTALL_IF_MI_GEN_FILES) \ 408*2c2f96dcSApple OSS Distributions $(INSTALL_DRIVERKIT_MI_INC_FILES) $(INSTALL_DRIVERKIT_MI_INC_GEN_FILES) \ 409*2c2f96dcSApple OSS Distributions $(INSTALL_EXCLAVEKIT_MI_INC_FILES) $(INSTALL_EXCLAVEKIT_MI_INC_GEN_FILES) \ 410*2c2f96dcSApple OSS Distributions $(INSTALL_EXCLAVECORE_MI_INC_FILES) $(INSTALL_EXCLAVECORE_MI_INC_GEN_FILES) \ 411*2c2f96dcSApple OSS Distributions $(INSTALL_KF_MI_FILES) $(INSTALL_KF_MI_GEN_FILES) \ 412*2c2f96dcSApple OSS Distributions $(INSTALL_MI_LCL_FILES) $(INSTALL_MI_LCL_GEN_FILES) $(INSTALL_MODULEMAP_MI_LCL_FILES) \ 413*2c2f96dcSApple OSS Distributions $(INSTALL_IF_MI_LCL_FILES) $(INSTALL_IF_MI_LCL_GEN_FILES) \ 414*2c2f96dcSApple OSS Distributions $(INSTALL_SF_MI_LCL_FILES) $(INSTALL_SF_MI_LCL_GEN_FILES) \ 415*2c2f96dcSApple OSS Distributions $(INSTALL_DRIVERKIT_MI_LCL_FILES) $(INSTALL_DRIVERKIT_MI_LCL_GEN_FILES) \ 416*2c2f96dcSApple OSS Distributions $(INSTALL_KF_MI_LCL_FILES) $(INSTALL_KF_MI_LCL_GEN_FILES) \ 417*2c2f96dcSApple OSS Distributions $(INSTALL_LIBCXX_MI_FILES) \ 418*2c2f96dcSApple OSS Distributions $(INSTALL_EXCLAVEKIT_MI_LCL_FILES) $(INSTALL_EXCLAVEKIT_MI_LCL_GEN_FILES) \ 419*2c2f96dcSApple OSS Distributions $(INSTALL_EXCLAVECORE_MI_LCL_FILES) $(INSTALL_EXCLAVECORE_MI_LCL_GEN_FILES) 420*2c2f96dcSApple OSS Distributions @: 421*2c2f96dcSApple OSS Distributions 422*2c2f96dcSApple OSS Distributions.PHONY: do_installhdrs_md 423*2c2f96dcSApple OSS Distributions 424*2c2f96dcSApple OSS Distributionsdo_installhdrs_md: $(INSTALL_MD_INC_FILES) $(INSTALL_MD_INC_GEN_FILES) $(INSTALL_MODULEMAP_MD_INC_FILES) \ 425*2c2f96dcSApple OSS Distributions $(INSTALL_DRIVERKIT_MD_INC_FILES) $(INSTALL_DRIVERKIT_MD_INC_GEN_FILES) \ 426*2c2f96dcSApple OSS Distributions $(INSTALL_EXCLAVEKIT_MD_INC_FILES) $(INSTALL_EXCLAVEKIT_MD_INC_GEN_FILES) \ 427*2c2f96dcSApple OSS Distributions $(INSTALL_EXCLAVECORE_MD_INC_FILES) $(INSTALL_EXCLAVECORE_MD_INC_GEN_FILES) \ 428*2c2f96dcSApple OSS Distributions $(INSTALL_KF_MD_FILES) $(INSTALL_KF_MD_GEN_FILES) \ 429*2c2f96dcSApple OSS Distributions $(INSTALL_MD_LCL_FILES) $(INSTALL_MD_LCL_GEN_FILES) $(INSTALL_MODULEMAP_MD_LCL_FILES) \ 430*2c2f96dcSApple OSS Distributions $(INSTALL_SF_MD_LCL_FILES) $(INSTALL_SF_MD_LCL_GEN_FILES) \ 431*2c2f96dcSApple OSS Distributions $(INSTALL_DRIVERKIT_MD_LCL_FILES) $(INSTALL_DRIVERKIT_MD_LCL_GEN_FILES) \ 432*2c2f96dcSApple OSS Distributions $(INSTALL_EXCLAVEKIT_MD_LCL_FILES) $(INSTALL_EXCLAVEKIT_MD_LCL_GEN_FILES) \ 433*2c2f96dcSApple OSS Distributions $(INSTALL_EXCLAVECORE_MD_LCL_FILES) $(INSTALL_EXCLAVECORE_MD_LCL_GEN_FILES) \ 434*2c2f96dcSApple OSS Distributions $(INSTALL_KF_MD_LCL_FILES) $(INSTALL_KF_MD_LCL_GEN_FILES) 435*2c2f96dcSApple OSS Distributions @: 436*2c2f96dcSApple OSS Distributions 437*2c2f96dcSApple OSS Distributions# 438*2c2f96dcSApple OSS Distributions# Generic Export rules 439*2c2f96dcSApple OSS Distributions# 440*2c2f96dcSApple OSS DistributionsEXPORT_MI_INC_FILES = $(addprefix $(OBJROOT)/$(EXPDIR)/$(EXPORT_MI_DIR)/, $(EXPORT_MI_LIST)) 441*2c2f96dcSApple OSS DistributionsEXPORT_MI_GEN_INC_FILES = $(addprefix $(OBJROOT)/$(EXPDIR)/$(EXPORT_MI_DIR)/, $(EXPORT_MI_GEN_LIST)) 442*2c2f96dcSApple OSS Distributions 443*2c2f96dcSApple OSS Distributions.PHONY: EXP_MI_INC_DIR 444*2c2f96dcSApple OSS Distributions 445*2c2f96dcSApple OSS DistributionsEXP_MI_INC_DIR: 446*2c2f96dcSApple OSS Distributions $(_v)$(MKDIR) $(OBJROOT)/$(EXPDIR)/$(EXPORT_MI_DIR) 447*2c2f96dcSApple OSS Distributions 448*2c2f96dcSApple OSS Distributions$(EXPORT_MI_GEN_INC_FILES): $(OBJROOT)/$(EXPDIR)/$(EXPORT_MI_DIR)/% : % | EXP_MI_INC_DIR 449*2c2f96dcSApple OSS Distributions $(_v)$(INSTALL) $(DATA_INSTALL_FLAGS_RO) $< $@ 450*2c2f96dcSApple OSS Distributions 451*2c2f96dcSApple OSS Distributions$(EXPORT_MI_INC_FILES): $(OBJROOT)/$(EXPDIR)/$(EXPORT_MI_DIR)/% : $(SOURCE)/% | EXP_MI_INC_DIR 452*2c2f96dcSApple OSS Distributions $(_v)$(INSTALL) $(DATA_INSTALL_FLAGS_RO) $< $@ 453*2c2f96dcSApple OSS Distributions 454*2c2f96dcSApple OSS DistributionsEXPORT_MD_INC_FILES = $(addprefix $(OBJROOT)/$(EXPDIR)/$(EXPORT_MD_DIR)/, $(EXPORT_MD_LIST)) 455*2c2f96dcSApple OSS DistributionsEXPORT_MD_GEN_INC_FILES = $(addprefix $(OBJROOT)/$(EXPDIR)/$(EXPORT_MD_DIR)/, $(EXPORT_MD_GEN_LIST)) 456*2c2f96dcSApple OSS Distributions 457*2c2f96dcSApple OSS Distributions.PHONY: EXP_MD_INC_DIR 458*2c2f96dcSApple OSS Distributions 459*2c2f96dcSApple OSS DistributionsEXP_MD_INC_DIR: 460*2c2f96dcSApple OSS Distributions $(_v)$(MKDIR) $(OBJROOT)/$(EXPDIR)/$(EXPORT_MD_DIR) 461*2c2f96dcSApple OSS Distributions 462*2c2f96dcSApple OSS Distributions$(EXPORT_MD_GEN_INC_FILES): $(OBJROOT)/$(EXPDIR)/$(EXPORT_MD_DIR)/% : % | EXP_MD_INC_DIR 463*2c2f96dcSApple OSS Distributions $(_v)$(INSTALL) $(DATA_INSTALL_FLAGS_RO) $< $@ 464*2c2f96dcSApple OSS Distributions 465*2c2f96dcSApple OSS Distributions$(EXPORT_MD_INC_FILES): $(OBJROOT)/$(EXPDIR)/$(EXPORT_MD_DIR)/% : $(SOURCE)/% | EXP_MD_INC_DIR 466*2c2f96dcSApple OSS Distributions $(_v)$(INSTALL) $(DATA_INSTALL_FLAGS_RO) $< $@ 467*2c2f96dcSApple OSS Distributions 468*2c2f96dcSApple OSS Distributions.PHONY: do_exporthdrs_mi 469*2c2f96dcSApple OSS Distributions 470*2c2f96dcSApple OSS Distributionsdo_exporthdrs_mi: $(EXPORT_MI_GEN_INC_FILES) $(EXPORT_MI_INC_FILES) 471*2c2f96dcSApple OSS Distributions @: 472*2c2f96dcSApple OSS Distributions 473*2c2f96dcSApple OSS Distributions.PHONY: do_exporthdrs_md 474*2c2f96dcSApple OSS Distributions 475*2c2f96dcSApple OSS Distributionsdo_exporthdrs_md: $(EXPORT_MD_GEN_INC_FILES) $(EXPORT_MD_INC_FILES) 476*2c2f96dcSApple OSS Distributions @: 477*2c2f96dcSApple OSS Distributions 478*2c2f96dcSApple OSS Distributions# 479*2c2f96dcSApple OSS Distributions# Generic Compilation rules 480*2c2f96dcSApple OSS Distributions# 481*2c2f96dcSApple OSS Distributions 482*2c2f96dcSApple OSS Distributions# 483*2c2f96dcSApple OSS Distributions# Compilation rules to generate .o from .s 484*2c2f96dcSApple OSS Distributions# 485*2c2f96dcSApple OSS Distributions 486*2c2f96dcSApple OSS DistributionsS_RULE_0=@$(LOG_AS) "$@" 487*2c2f96dcSApple OSS DistributionsS_RULE_1A=$(_v)$(S_KCC) -c $(SFLAGS) -MD -MF $(@:o=d) -MJ $(@:o=o.json) -MP $($@_SFLAGS_ADD) $(INCFLAGS) $($@_INCFLAGS) 488*2c2f96dcSApple OSS DistributionsS_RULE_1B=$(<F) 489*2c2f96dcSApple OSS DistributionsS_RULE_2= 490*2c2f96dcSApple OSS Distributions 491*2c2f96dcSApple OSS Distributions# 492*2c2f96dcSApple OSS Distributions# Compilation rules to generate .o from .c for normal files 493*2c2f96dcSApple OSS Distributions# 494*2c2f96dcSApple OSS DistributionsC_RULE_0=@$(LOG_CC) "$@" 495*2c2f96dcSApple OSS DistributionsC_RULE_1A=$(_v)$(KCC) -c $(filter-out $($@_CFLAGS_RM), $(CFLAGS) $(CWARNFLAGS)) -MD -MF $(@:o=d) -MJ $(@:o=o.json) -MP $($@_CFLAGS_ADD) $($@_CWARNFLAGS_ADD) $(INCFLAGS) $($@_INCFLAGS) 496*2c2f96dcSApple OSS DistributionsC_RULE_1B=$(<F) 497*2c2f96dcSApple OSS DistributionsC_RULE_2= 498*2c2f96dcSApple OSS Distributions 499*2c2f96dcSApple OSS DistributionsC_RULE_3= 500*2c2f96dcSApple OSS DistributionsC_RULE_4A= 501*2c2f96dcSApple OSS DistributionsC_RULE_4B= 502*2c2f96dcSApple OSS Distributions 503*2c2f96dcSApple OSS Distributions# 504*2c2f96dcSApple OSS Distributions# Compilation rules to generate .o from .c for driver files 505*2c2f96dcSApple OSS Distributions# 506*2c2f96dcSApple OSS DistributionsC_RULE_0_D=$(C_RULE_0) 507*2c2f96dcSApple OSS DistributionsC_RULE_1A_D=$(C_RULE_1A) 508*2c2f96dcSApple OSS DistributionsC_RULE_1B_D=$(C_RULE_1B) 509*2c2f96dcSApple OSS DistributionsC_RULE_2_D=$(C_RULE_2) 510*2c2f96dcSApple OSS DistributionsC_RULE_3_D=$(C_RULE_3) 511*2c2f96dcSApple OSS DistributionsC_RULE_4A_D=$(C_RULE_4A) 512*2c2f96dcSApple OSS DistributionsC_RULE_4B_D=$(C_RULE_4B) 513*2c2f96dcSApple OSS Distributions 514*2c2f96dcSApple OSS Distributions# 515*2c2f96dcSApple OSS Distributions# Compilation rules to generate .co from .cp or .cpo from .cpp 516*2c2f96dcSApple OSS Distributions# The config tool slickly changes the last source filename char to 'o' 517*2c2f96dcSApple OSS Distributions# for the object filename. 518*2c2f96dcSApple OSS DistributionsP_RULE_0=@$(LOG_CXX) "$@" 519*2c2f96dcSApple OSS DistributionsP_RULE_1A=$(_v)$(KC++) -o $@ -c $(CXXFLAGS) $(filter-out $($@_CFLAGS_RM), $(CFLAGS) $(CXXWARNFLAGS)) -MD -MF $(@:o=d) -MJ $(@:o=o.json) -MP $($@_CFLAGS_ADD) $($@_CXXWARNFLAGS_ADD) $(INCFLAGS) $($@_INCFLAGS) 520*2c2f96dcSApple OSS DistributionsP_RULE_1B=$(<F) 521*2c2f96dcSApple OSS DistributionsP_RULE_2= 522*2c2f96dcSApple OSS Distributions 523*2c2f96dcSApple OSS DistributionsP_RULE_3= 524*2c2f96dcSApple OSS DistributionsP_RULE_4A= 525*2c2f96dcSApple OSS DistributionsP_RULE_4B= 526*2c2f96dcSApple OSS Distributions 527*2c2f96dcSApple OSS Distributions# 528*2c2f96dcSApple OSS Distributions# Explain how to make the bsd syscall list 529*2c2f96dcSApple OSS Distributions# 530*2c2f96dcSApple OSS Distributions$(TARGET)/bsd.syscalls.master: $(SRCROOT)/bsd/kern/syscalls.master $(MAKESYSCALLS) 531*2c2f96dcSApple OSS Distributions @$(LOG_GENERATE) "$(@F)$(Color0) from $(ColorF)$<$(Color0)" 532*2c2f96dcSApple OSS Distributions $(_v)$(UNIFDEF) $(SEED_DEFINES) $< > $@; \ 533*2c2f96dcSApple OSS Distributions if [ $$? -eq 2 ]; then \ 534*2c2f96dcSApple OSS Distributions $(ERR) Parse failure for $<; \ 535*2c2f96dcSApple OSS Distributions exit 1; \ 536*2c2f96dcSApple OSS Distributions fi 537*2c2f96dcSApple OSS Distributions 538*2c2f96dcSApple OSS Distributions.PHONY: do_build_all 539*2c2f96dcSApple OSS Distributions 540*2c2f96dcSApple OSS Distributions# Do-nothing rule, since not all levels of the recursive hierarchy might implement this 541*2c2f96dcSApple OSS Distributions# in their local Makefiles. Those that do will use a "::" rule to augment this. 542*2c2f96dcSApple OSS Distributionsdo_build_all:: 543*2c2f96dcSApple OSS Distributions @: 544*2c2f96dcSApple OSS Distributions 545*2c2f96dcSApple OSS Distributions.PHONY: do_build_install_primary 546*2c2f96dcSApple OSS Distributions 547*2c2f96dcSApple OSS Distributions# Do-nothing rule, since not all levels of the recursive hierarchy might implement this 548*2c2f96dcSApple OSS Distributions# in their local Makefiles. Those that do will use a "::" rule to augment this. 549*2c2f96dcSApple OSS Distributionsdo_build_install_primary:: 550*2c2f96dcSApple OSS Distributions @: 551*2c2f96dcSApple OSS Distributions 552*2c2f96dcSApple OSS Distributions.PHONY: do_build_install_non_primary 553*2c2f96dcSApple OSS Distributions 554*2c2f96dcSApple OSS Distributions# Do-nothing rule, since not all levels of the recursive hierarchy might implement this 555*2c2f96dcSApple OSS Distributions# in their local Makefiles. Those that do will use a "::" rule to augment this. 556*2c2f96dcSApple OSS Distributionsdo_build_install_non_primary:: 557*2c2f96dcSApple OSS Distributions @: 558*2c2f96dcSApple OSS Distributions 559*2c2f96dcSApple OSS DistributionsINSTALL_MAN_FILES = $(addprefix $(DSTROOT)/$(MANDIR)/$(INSTALL_MAN_DIR)/, $(INSTALL_MAN_LIST)) 560*2c2f96dcSApple OSS Distributions 561*2c2f96dcSApple OSS Distributions.PHONY: INSTALL_MAN_DIR 562*2c2f96dcSApple OSS Distributions 563*2c2f96dcSApple OSS DistributionsINSTALL_MAN_DIR: 564*2c2f96dcSApple OSS Distributions $(_v)$(MKDIR) $(DSTROOT)/$(MANDIR)/$(INSTALL_MAN_DIR) 565*2c2f96dcSApple OSS Distributions 566*2c2f96dcSApple OSS Distributions$(INSTALL_MAN_FILES): $(DSTROOT)/$(MANDIR)/$(INSTALL_MAN_DIR)/% : % | INSTALL_MAN_DIR 567*2c2f96dcSApple OSS Distributions @$(LOG_MAN) "$*" 568*2c2f96dcSApple OSS Distributions $(_v)$(INSTALL) $(INSTALL_FLAGS) $< $@ 569*2c2f96dcSApple OSS Distributions 570*2c2f96dcSApple OSS Distributionsdefine MAN_LINKS_RULE_template 571*2c2f96dcSApple OSS Distributions$$(DSTROOT)/$$(MANDIR)/$$(INSTALL_MAN_DIR)/$(2): $$(DSTROOT)/$$(MANDIR)/$$(INSTALL_MAN_DIR)/$(1) 572*2c2f96dcSApple OSS Distributions @$$(LOG_MANLINK) "$(2)" 573*2c2f96dcSApple OSS Distributions $(_v)ln -f $$< $$@ 574*2c2f96dcSApple OSS Distributionsendef 575*2c2f96dcSApple OSS Distributions 576*2c2f96dcSApple OSS Distributionsfunction_generate_man_links_rules = $(if $(word 1,$(1)),$(eval $(call MAN_LINKS_RULE_template,$(word 1,$(1)),$(word 2,$(1)))) $(DSTROOT)/$(MANDIR)/$(INSTALL_MAN_DIR)/$(word 2,$(1)) $(call function_generate_man_links_rules,$(wordlist 3,$(words $(1)),$(1)))) 577*2c2f96dcSApple OSS Distributions 578*2c2f96dcSApple OSS DistributionsINSTALL_MAN_FILES_LINKS = $(call function_generate_man_links_rules,$(INSTALL_MAN_LINKS)) 579*2c2f96dcSApple OSS Distributions 580*2c2f96dcSApple OSS Distributions.PHONY: do_installman 581*2c2f96dcSApple OSS Distributions 582*2c2f96dcSApple OSS Distributionsdo_installman: $(INSTALL_MAN_FILES) $(INSTALL_MAN_FILES_LINKS) 583*2c2f96dcSApple OSS Distributions @: 584*2c2f96dcSApple OSS Distributions 585*2c2f96dcSApple OSS Distributions.PHONY: do_textfiles_install do_textfiles_install_mi do_textfiles_install_md 586*2c2f96dcSApple OSS Distributions 587*2c2f96dcSApple OSS Distributions# Do-nothing rule, since not all levels of the recursive hierarchy might implement this 588*2c2f96dcSApple OSS Distributions# in their local Makefiles. Those that do will use a "::" rule to augment this. 589*2c2f96dcSApple OSS Distributionsdo_textfiles_install_mi:: do_installman 590*2c2f96dcSApple OSS Distributions @: 591*2c2f96dcSApple OSS Distributions 592*2c2f96dcSApple OSS Distributions# Do-nothing rule, since not all levels of the recursive hierarchy might implement this 593*2c2f96dcSApple OSS Distributions# in their local Makefiles. Those that do will use a "::" rule to augment this. 594*2c2f96dcSApple OSS Distributionsdo_textfiles_install_md:: 595*2c2f96dcSApple OSS Distributions @: 596*2c2f96dcSApple OSS Distributions 597*2c2f96dcSApple OSS Distributions.PHONY: do_build_setup 598*2c2f96dcSApple OSS Distributions 599*2c2f96dcSApple OSS Distributions# Do-nothing rule, since not all levels of the recursive hierarchy might implement this 600*2c2f96dcSApple OSS Distributions# in their local Makefiles. Those that do will use a "::" rule to augment this. 601*2c2f96dcSApple OSS Distributionsdo_build_setup:: 602*2c2f96dcSApple OSS Distributions @: 603*2c2f96dcSApple OSS Distributions 604*2c2f96dcSApple OSS Distributions.PHONY: do_config_all 605*2c2f96dcSApple OSS Distributions 606*2c2f96dcSApple OSS Distributions# Do-nothing rule, since not all levels of the recursive hierarchy might implement this 607*2c2f96dcSApple OSS Distributions# in their local Makefiles. Those that do will use a "::" rule to augment this. 608*2c2f96dcSApple OSS Distributionsdo_config_all:: 609*2c2f96dcSApple OSS Distributions @: 610*2c2f96dcSApple OSS Distributions 611*2c2f96dcSApple OSS Distributions.PHONY: do_config_install_primary 612*2c2f96dcSApple OSS Distributions 613*2c2f96dcSApple OSS Distributions# Do-nothing rule, since not all levels of the recursive hierarchy might implement this 614*2c2f96dcSApple OSS Distributions# in their local Makefiles. Those that do will use a "::" rule to augment this. 615*2c2f96dcSApple OSS Distributionsdo_config_install_primary:: 616*2c2f96dcSApple OSS Distributions @: 617*2c2f96dcSApple OSS Distributions 618*2c2f96dcSApple OSS Distributions.PHONY: do_config_install_variant 619*2c2f96dcSApple OSS Distributions 620*2c2f96dcSApple OSS Distributions# Do-nothing rule, since not all levels of the recursive hierarchy might implement this 621*2c2f96dcSApple OSS Distributions# in their local Makefiles. Those that do will use a "::" rule to augment this. 622*2c2f96dcSApple OSS Distributionsdo_config_install_variant:: 623*2c2f96dcSApple OSS Distributions @: 624*2c2f96dcSApple OSS Distributions 625*2c2f96dcSApple OSS Distributions.PHONY: do_config_install 626*2c2f96dcSApple OSS Distributions 627*2c2f96dcSApple OSS Distributions# Do-nothing rule, since not all levels of the recursive hierarchy might implement this 628*2c2f96dcSApple OSS Distributions# in their local Makefiles. Those that do will use a "::" rule to augment this. 629*2c2f96dcSApple OSS Distributionsdo_config_install:: 630*2c2f96dcSApple OSS Distributions @: 631*2c2f96dcSApple OSS Distributions 632*2c2f96dcSApple OSS Distributions# vim: set ft=make: 633