1*27b03b36SApple OSS Distributionsexport MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd 2*27b03b36SApple OSS Distributionsexport MakeInc_def=${SRCROOT}/makedefs/MakeInc.def 3*27b03b36SApple OSS Distributionsexport MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule 4*27b03b36SApple OSS Distributionsexport MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir 5*27b03b36SApple OSS Distributions 6*27b03b36SApple OSS Distributionsinclude $(MakeInc_cmd) 7*27b03b36SApple OSS Distributionsinclude $(MakeInc_def) 8*27b03b36SApple OSS Distributions 9*27b03b36SApple OSS DistributionsMIG_TYPES = \ 10*27b03b36SApple OSS Distributions atm_types.defs 11*27b03b36SApple OSS Distributions 12*27b03b36SApple OSS DistributionsMIG_DEFS = \ 13*27b03b36SApple OSS Distributions atm_notification.defs 14*27b03b36SApple OSS Distributions 15*27b03b36SApple OSS DistributionsMACH_PRIVATE_DEFS = 16*27b03b36SApple OSS Distributions 17*27b03b36SApple OSS Distributions# 18*27b03b36SApple OSS Distributions# MIG-generated headers that are traditionally used by user 19*27b03b36SApple OSS Distributions# level code. 20*27b03b36SApple OSS Distributions# 21*27b03b36SApple OSS DistributionsMIG_USHDRS = 22*27b03b36SApple OSS Distributions 23*27b03b36SApple OSS DistributionsMIG_UUHDRS = 24*27b03b36SApple OSS Distributions 25*27b03b36SApple OSS DistributionsMIGINCLUDES = ${MIG_UUHDRS} ${MIG_USHDRS} 26*27b03b36SApple OSS Distributions 27*27b03b36SApple OSS DistributionsDATAFILES = \ 28*27b03b36SApple OSS Distributions atm_types.h \ 29*27b03b36SApple OSS Distributions ${MIG_TYPES} \ 30*27b03b36SApple OSS Distributions ${MIG_DEFS} 31*27b03b36SApple OSS Distributions 32*27b03b36SApple OSS DistributionsINSTALL_MI_LIST = \ 33*27b03b36SApple OSS Distributions ${DATAFILES} 34*27b03b36SApple OSS Distributions 35*27b03b36SApple OSS DistributionsINSTALL_SF_MI_LCL_LIST = \ 36*27b03b36SApple OSS Distributions ${DATAFILES} 37*27b03b36SApple OSS Distributions 38*27b03b36SApple OSS DistributionsINSTALL_KF_MI_LIST = \ 39*27b03b36SApple OSS Distributions ${DATAFILES} 40*27b03b36SApple OSS Distributions 41*27b03b36SApple OSS DistributionsINSTALL_KF_MI_LCL_LIST = \ 42*27b03b36SApple OSS Distributions ${DATAFILES} 43*27b03b36SApple OSS Distributions 44*27b03b36SApple OSS DistributionsINSTALL_MI_GEN_LIST = 45*27b03b36SApple OSS Distributions 46*27b03b36SApple OSS DistributionsINSTALL_MI_DIR = atm 47*27b03b36SApple OSS Distributions 48*27b03b36SApple OSS DistributionsEXPORT_MI_LIST = \ 49*27b03b36SApple OSS Distributions ${DATAFILES} atm_internal.h 50*27b03b36SApple OSS Distributions 51*27b03b36SApple OSS DistributionsEXPORT_MI_GEN_LIST = \ 52*27b03b36SApple OSS Distributions ${MIGINCLUDES} 53*27b03b36SApple OSS Distributions 54*27b03b36SApple OSS DistributionsEXPORT_MI_DIR = atm 55*27b03b36SApple OSS Distributions 56*27b03b36SApple OSS Distributions${MIGINCLUDES} : ${MIG_TYPES} 57*27b03b36SApple OSS Distributions 58*27b03b36SApple OSS Distributions${MIG_UUHDRS} : \ 59*27b03b36SApple OSS Distributions %.h : %.defs 60*27b03b36SApple OSS Distributions @$(LOG_MIG) "$@" 61*27b03b36SApple OSS Distributions $(_v)$(MIG) $(MIGFLAGS) \ 62*27b03b36SApple OSS Distributions -server /dev/null \ 63*27b03b36SApple OSS Distributions -user /dev/null \ 64*27b03b36SApple OSS Distributions -header $@ \ 65*27b03b36SApple OSS Distributions $< 66*27b03b36SApple OSS Distributions 67*27b03b36SApple OSS Distributions${MIG_USHDRS} : \ 68*27b03b36SApple OSS Distributions %_server.h : %.defs 69*27b03b36SApple OSS Distributions @$(LOG_MIG) $@ 70*27b03b36SApple OSS Distributions $(_v)$(MIG) $(MIGFLAGS) \ 71*27b03b36SApple OSS Distributions -server /dev/null \ 72*27b03b36SApple OSS Distributions -user /dev/null \ 73*27b03b36SApple OSS Distributions -header /dev/null \ 74*27b03b36SApple OSS Distributions -sheader $@ \ 75*27b03b36SApple OSS Distributions $< 76*27b03b36SApple OSS Distributions 77*27b03b36SApple OSS Distributions# 78*27b03b36SApple OSS Distributions# Build path 79*27b03b36SApple OSS Distributions# 80*27b03b36SApple OSS Distributions 81*27b03b36SApple OSS DistributionsINCFLAGS_MAKEFILE= -I.. 82*27b03b36SApple OSS Distributions 83*27b03b36SApple OSS DistributionsMIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1 84*27b03b36SApple OSS DistributionsMIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024 85*27b03b36SApple OSS Distributions# 86*27b03b36SApple OSS Distributions# MIG-generated headers that are traditionally used by kernel 87*27b03b36SApple OSS Distributions# level code. 88*27b03b36SApple OSS Distributions# 89*27b03b36SApple OSS DistributionsMIG_KUHDRS = \ 90*27b03b36SApple OSS Distributions atm_notification.h 91*27b03b36SApple OSS Distributions 92*27b03b36SApple OSS DistributionsMIG_KUSRC = \ 93*27b03b36SApple OSS Distributions atm_notification_user.c 94*27b03b36SApple OSS Distributions 95*27b03b36SApple OSS DistributionsMIG_KSHDRS = 96*27b03b36SApple OSS Distributions 97*27b03b36SApple OSS DistributionsMIG_KSSRC = 98*27b03b36SApple OSS Distributions 99*27b03b36SApple OSS DistributionsCOMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC} 100*27b03b36SApple OSS Distributions 101*27b03b36SApple OSS Distributionsdo_build_all:: $(COMP_FILES) 102*27b03b36SApple OSS Distributions 103*27b03b36SApple OSS Distributions${COMP_FILES} : ${MIG_TYPES} 104*27b03b36SApple OSS Distributions 105*27b03b36SApple OSS Distributions${MIG_KUSRC} : \ 106*27b03b36SApple OSS Distributions %_user.c : %.defs 107*27b03b36SApple OSS Distributions @$(LOG_MIG) $@ 108*27b03b36SApple OSS Distributions $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \ 109*27b03b36SApple OSS Distributions -user $*_user.c \ 110*27b03b36SApple OSS Distributions -header $*.h \ 111*27b03b36SApple OSS Distributions -server /dev/null \ 112*27b03b36SApple OSS Distributions -sheader /dev/null \ 113*27b03b36SApple OSS Distributions $< 114*27b03b36SApple OSS Distributions 115*27b03b36SApple OSS Distributions${MIG_KSSRC}: \ 116*27b03b36SApple OSS Distributions %_server.c : %.defs 117*27b03b36SApple OSS Distributions @$(LOG_MIG) $@ 118*27b03b36SApple OSS Distributions $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \ 119*27b03b36SApple OSS Distributions -user /dev/null \ 120*27b03b36SApple OSS Distributions -header /dev/null \ 121*27b03b36SApple OSS Distributions -server $*_server.c \ 122*27b03b36SApple OSS Distributions -sheader $*_server.h \ 123*27b03b36SApple OSS Distributions $< 124*27b03b36SApple OSS Distributions 125*27b03b36SApple OSS Distributionsinclude $(MakeInc_rule) 126*27b03b36SApple OSS Distributionsinclude $(MakeInc_dir) 127