X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/1c79356b52d46aa6b508fb032f5ae709b1f2897b..cb3231590a3c94ab4375e2228bd5e86b0cf1ad7e:/osfmk/UserNotification/Makefile diff --git a/osfmk/UserNotification/Makefile b/osfmk/UserNotification/Makefile index 240221383..be0723a8b 100644 --- a/osfmk/UserNotification/Makefile +++ b/osfmk/UserNotification/Makefile @@ -6,18 +6,6 @@ export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir include $(MakeInc_cmd) include $(MakeInc_def) -INSTINC_SUBDIRS = - -INSTINC_SUBDIRS_PPC = - -INSTINC_SUBDIRS_I386 = - -EXPINC_SUBDIRS = - -EXPINC_SUBDIRS_PPC = - -EXPINC_SUBDIRS_I386 = - MIG_TYPES = \ UNDTypes.defs @@ -25,20 +13,23 @@ MIG_DEFS = \ UNDRequest.defs \ UNDReply.defs -DATAFILES = \ +PRIVATE_DATAFILES = \ UNDTypes.h \ ${MIG_TYPES} \ ${MIG_DEFS} -INSTALL_MI_LIST = ${DATAFILES} +KERNELFILES = \ + KUNCUserNotifications.h \ + ${PRIVATE_DATAFILES} + +INSTALL_MI_LIST = +INSTALL_MI_LCL_LIST = ${PRIVATE_DATAFILES} INSTALL_MI_GEN_LIST = INSTALL_MI_DIR = UserNotification -EXPORT_MI_LIST = \ - KUNCUserNotifications.h \ - ${DATAFILES} +EXPORT_MI_LIST = ${KERNELFILES} EXPORT_MI_GEN_LIST = @@ -46,7 +37,7 @@ EXPORT_MI_DIR = UserNotification # # Build path -# +# INCFLAGS_MAKEFILE= -I.. MIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1 @@ -64,13 +55,16 @@ MIG_KSHDRS = \ MIG_KSSRC = \ UNDReplyServer.c -COMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC} +COMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC} + +do_build_all:: $(COMP_FILES) ${COMP_FILES} : ${MIG_TYPES} - + ${MIG_KUSRC} : \ %.c : %.defs - ${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \ + $(call makelog,$(ColorM)MIG$(Color0) $(ColorF)$@$(Color0)) + $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \ -user $*.c \ -header $*.h \ -server /dev/null \ @@ -79,13 +73,13 @@ ${MIG_KUSRC} : \ ${MIG_KSSRC}: \ %Server.c : %.defs - ${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \ + $(call makelog,$(ColorM)MIG$(Color0) $(ColorF)$@$(Color0)) + $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \ -user /dev/null \ -header /dev/null \ -server $*Server.c \ -sheader $*Server.h \ $< - include $(MakeInc_rule) include $(MakeInc_dir)