1*1b191cb5SApple OSS Distributionsexport MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd 2*1b191cb5SApple OSS Distributionsexport MakeInc_def=${SRCROOT}/makedefs/MakeInc.def 3*1b191cb5SApple OSS Distributionsexport MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule 4*1b191cb5SApple OSS Distributionsexport MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir 5*1b191cb5SApple OSS Distributions 6*1b191cb5SApple OSS Distributionsinclude $(MakeInc_cmd) 7*1b191cb5SApple OSS Distributionsinclude $(MakeInc_def) 8*1b191cb5SApple OSS Distributions 9*1b191cb5SApple OSS DistributionsMIG_TYPES = \ 10*1b191cb5SApple OSS Distributions UNDTypes.defs 11*1b191cb5SApple OSS Distributions 12*1b191cb5SApple OSS DistributionsMIG_DEFS = \ 13*1b191cb5SApple OSS Distributions UNDRequest.defs \ 14*1b191cb5SApple OSS Distributions UNDReply.defs 15*1b191cb5SApple OSS Distributions 16*1b191cb5SApple OSS DistributionsPRIVATE_DATAFILES = \ 17*1b191cb5SApple OSS Distributions UNDTypes.h \ 18*1b191cb5SApple OSS Distributions ${MIG_TYPES} \ 19*1b191cb5SApple OSS Distributions ${MIG_DEFS} 20*1b191cb5SApple OSS Distributions 21*1b191cb5SApple OSS DistributionsKERNELFILES = \ 22*1b191cb5SApple OSS Distributions KUNCUserNotifications.h \ 23*1b191cb5SApple OSS Distributions ${PRIVATE_DATAFILES} 24*1b191cb5SApple OSS Distributions 25*1b191cb5SApple OSS DistributionsINSTALL_MI_LIST = 26*1b191cb5SApple OSS DistributionsINSTALL_SF_MI_LCL_LIST = ${PRIVATE_DATAFILES} 27*1b191cb5SApple OSS Distributions 28*1b191cb5SApple OSS DistributionsINSTALL_MI_GEN_LIST = 29*1b191cb5SApple OSS Distributions 30*1b191cb5SApple OSS DistributionsINSTALL_MI_DIR = UserNotification 31*1b191cb5SApple OSS Distributions 32*1b191cb5SApple OSS DistributionsEXPORT_MI_LIST = ${KERNELFILES} 33*1b191cb5SApple OSS Distributions 34*1b191cb5SApple OSS DistributionsEXPORT_MI_GEN_LIST = 35*1b191cb5SApple OSS Distributions 36*1b191cb5SApple OSS DistributionsEXPORT_MI_DIR = UserNotification 37*1b191cb5SApple OSS Distributions 38*1b191cb5SApple OSS Distributions# 39*1b191cb5SApple OSS Distributions# Build path 40*1b191cb5SApple OSS Distributions# 41*1b191cb5SApple OSS DistributionsINCFLAGS_MAKEFILE= -I.. 42*1b191cb5SApple OSS Distributions 43*1b191cb5SApple OSS DistributionsMIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1 44*1b191cb5SApple OSS DistributionsMIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024 45*1b191cb5SApple OSS Distributions 46*1b191cb5SApple OSS DistributionsMIG_KUHDRS = \ 47*1b191cb5SApple OSS Distributions UNDRequest.h 48*1b191cb5SApple OSS Distributions 49*1b191cb5SApple OSS DistributionsMIG_KUSRC = \ 50*1b191cb5SApple OSS Distributions UNDRequest.c 51*1b191cb5SApple OSS Distributions 52*1b191cb5SApple OSS DistributionsMIG_KSHDRS = \ 53*1b191cb5SApple OSS Distributions UNDReplyServer.h 54*1b191cb5SApple OSS Distributions 55*1b191cb5SApple OSS DistributionsMIG_KSSRC = \ 56*1b191cb5SApple OSS Distributions UNDReplyServer.c 57*1b191cb5SApple OSS Distributions 58*1b191cb5SApple OSS DistributionsCOMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC} 59*1b191cb5SApple OSS Distributions 60*1b191cb5SApple OSS Distributionsdo_build_all:: $(COMP_FILES) 61*1b191cb5SApple OSS Distributions 62*1b191cb5SApple OSS Distributions${COMP_FILES} : ${MIG_TYPES} 63*1b191cb5SApple OSS Distributions 64*1b191cb5SApple OSS Distributions${MIG_KUSRC} : \ 65*1b191cb5SApple OSS Distributions %.c : %.defs 66*1b191cb5SApple OSS Distributions @$(LOG_MIG) "$@" 67*1b191cb5SApple OSS Distributions $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \ 68*1b191cb5SApple OSS Distributions -user $*.c \ 69*1b191cb5SApple OSS Distributions -header $*.h \ 70*1b191cb5SApple OSS Distributions -server /dev/null \ 71*1b191cb5SApple OSS Distributions -sheader /dev/null \ 72*1b191cb5SApple OSS Distributions $< 73*1b191cb5SApple OSS Distributions 74*1b191cb5SApple OSS Distributions${MIG_KSSRC}: \ 75*1b191cb5SApple OSS Distributions %Server.c : %.defs 76*1b191cb5SApple OSS Distributions @$(LOG_MIG) "$@" 77*1b191cb5SApple OSS Distributions $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \ 78*1b191cb5SApple OSS Distributions -user /dev/null \ 79*1b191cb5SApple OSS Distributions -header /dev/null \ 80*1b191cb5SApple OSS Distributions -server $*Server.c \ 81*1b191cb5SApple OSS Distributions -sheader $*Server.h \ 82*1b191cb5SApple OSS Distributions $< 83*1b191cb5SApple OSS Distributions 84*1b191cb5SApple OSS Distributionsinclude $(MakeInc_rule) 85*1b191cb5SApple OSS Distributionsinclude $(MakeInc_dir) 86