X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/1c79356b52d46aa6b508fb032f5ae709b1f2897b..f427ee49d309d8fc33ebf3042c3a775f2f530ded:/osfmk/default_pager/Makefile diff --git a/osfmk/default_pager/Makefile b/osfmk/default_pager/Makefile index d0adb5c24..c5b78d110 100644 --- a/osfmk/default_pager/Makefile +++ b/osfmk/default_pager/Makefile @@ -3,7 +3,6 @@ export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir - include $(MakeInc_cmd) include $(MakeInc_def) @@ -11,20 +10,18 @@ MIG_TYPES = \ default_pager_types.defs MIG_DEFS = \ - default_pager_alerts.defs MIG_USHDRS = \ MIG_UUHDRS = \ - MIGINCLUDES = ${MIG_UUHDRS} ${MIG_USHDRS} DATAFILES = \ default_pager_types.h \ - ${MIG_DEFS} + ${MIG_DEFS} -INSTALL_MI_LIST = ${DATAFILES} +INSTALL_MI_LIST = ${DATAFILES} INSTALL_MI_GEN_LIST = ${MIGINCLUDES} @@ -38,34 +35,30 @@ EXPORT_MI_GEN_LIST = \ EXPORT_MI_DIR = default_pager -.ORDER: ${MIG_HDRS} ${MIGINCLUDES} - ${MIGINCLUDES} : ${MIG_TYPES} -.ORDER: ${MIG_UUHDRS} - ${MIG_UUHDRS} : \ %.h : %.defs - $(MIG) $(MIGFLAGS) \ + @$(LOG_MIG) $@ + $(_v)$(MIG) $(MIGFLAGS) \ -server /dev/null \ -user /dev/null \ - -header $@ \ + -header $@ \ $< -.ORDER: ${MIG_USHDRS} - ${MIG_USHDRS} : \ %_server.h : %.defs - $(MIG) $(MIGFLAGS) \ + @$(LOG_MIG) $@ + $(_v)$(MIG) $(MIGFLAGS) \ -server /dev/null \ -user /dev/null \ -header /dev/null \ - -sheader $@ \ + -sheader $@ \ $< # # Build path -# +# INCFLAGS_MAKEFILE= -I.. MIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1 @@ -76,16 +69,12 @@ MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024 # level code. # MIG_KUHDRS = \ - default_pager_alerts.h MIG_KUSRC = \ - default_pager_alerts_user.c MIG_KSHDRS = \ - default_pager_object.h MIG_KSSRC = \ - default_pager_object_server.c # # JMM - @@ -102,37 +91,31 @@ MIG_KSSRC = \ # even require that as we move towards making all the environments look # the same. # -COMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC} +COMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC} + +do_build_all:: $(COMP_FILES) ${COMP_FILES} : ${MIG_TYPES} - -.ORDER: ${MIG_KUSRC} - + ${MIG_KUSRC} : \ %_user.c : %.defs - ${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \ + @$(LOG_MIG) $@ + $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \ -user $*_user.c \ -header $*.h \ -server /dev/null \ -sheader /dev/null \ $< -.ORDER: ${MIG_KSSRC} - ${MIG_KSSRC}: \ %_server.c : %.defs - ${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \ + @$(LOG_MIG) $@ + $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \ -user /dev/null \ -header /dev/null \ -server $*_server.c \ -sheader $*_server.h \ $< - - -include $(MakeInc_rule) -include $(MakeInc_dir) include $(MakeInc_rule) include $(MakeInc_dir) - -