]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/mach/Makefile
xnu-2422.1.72.tar.gz
[apple/xnu.git] / osfmk / mach / Makefile
index 89a374c113d36becd66b40867fa928acca30136a..99a57a3587d2c518bab6df7775d6eeaf2d596c39 100644 (file)
@@ -3,27 +3,16 @@ 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)
 
-INSTINC_SUBDIRS = \
-       machine
-
-INSTINC_SUBDIRS_PPC = \
-       ppc
-
-INSTINC_SUBDIRS_I386 = \
-       i386
-
-EXPINC_SUBDIRS = \
-       machine
-
-EXPINC_SUBDIRS_PPC = \
-       ppc
+INSTINC_SUBDIRS = machine
+INSTINC_SUBDIRS_ARM = arm
+INSTINC_SUBDIRS_X86_64 = i386
 
-EXPINC_SUBDIRS_I386 = \
-       i386
+EXPINC_SUBDIRS = machine
+EXPINC_SUBDIRS_X86_64 = i386
+EXPINC_SUBDIRS_ARM = arm
 
 MIG_TYPES = \
        clock_types.defs \
@@ -39,25 +28,30 @@ MIG_DEFS =  \
        host_notify_reply.defs \
        host_priv.defs \
        host_security.defs \
-       ledger.defs \
        lock_set.defs \
+       mach_exc.defs \
        mach_host.defs \
        mach_port.defs \
        mach_vm.defs \
        notify.defs \
        processor.defs \
        processor_set.defs \
+       security.defs \
        task.defs \
+       task_access.defs \
+       telemetry_notification.defs \
        thread_act.defs \
        vm_map.defs
 
+
 MACH_PRIVATE_DEFS = \
        mach_notify.defs \
        memory_object.defs \
        memory_object_control.defs \
        memory_object_default.defs \
        memory_object_name.defs \
-       upl.defs
+       upl.defs \
+       vm32_map.defs
 
 #
 # MIG-generated headers that are traditionally used by user
@@ -67,16 +61,18 @@ MIG_USHDRS = \
        audit_triggers_server.h \
        clock_reply_server.h \
        exc_server.h \
+       mach_exc_server.h \
        memory_object_server.h \
        memory_object_default_server.h \
-       notify_server.h
+       notify_server.h \
+       task_access_server.h \
+       telemetry_notification_server.h
 
 MIG_UUHDRS = \
        clock.h \
        clock_priv.h \
        host_priv.h \
        host_security.h \
-       ledger.h \
        lock_set.h \
        mach_host.h \
        mach_port.h \
@@ -85,7 +81,9 @@ MIG_UUHDRS = \
        memory_object_name.h \
        processor.h \
        processor_set.h \
+       security.h \
        task.h \
+       task_access.h \
        thread_act.h \
        upl.h \
        vm_map.h
@@ -120,13 +118,14 @@ DATAFILES = \
        port.h \
         processor_info.h \
        rpc.h \
+       sdt.h \
         semaphore.h \
        shared_memory_server.h \
+       shared_region.h \
        std_types.h \
        sync_policy.h \
         syscall_sw.h \
        task_info.h \
-       task_ledger.h \
        task_policy.h \
        task_special_ports.h \
         thread_info.h \
@@ -165,6 +164,7 @@ INSTALL_MI_GEN_LIST =
 INSTALL_MI_DIR = mach
 
 EXPORT_MI_LIST = \
+       branch_predicates.h \
        mach_interface.h \
        ${DATAFILES}
 
@@ -173,25 +173,21 @@ EXPORT_MI_GEN_LIST = \
 
 EXPORT_MI_DIR = mach
 
-.ORDER: ${MIGINCLUDES}
-
 ${MIGINCLUDES} : ${MIG_TYPES}
 
-.ORDER: ${MIG_UUHDRS}
-
 ${MIG_UUHDRS} : \
        %.h : %.defs
-       $(MIG) $(MIGFLAGS)              \
+       @echo MIG $@
+       $(_v)$(MIG) $(MIGFLAGS)         \
                -server /dev/null       \
                -user /dev/null         \
                -header $@              \
                $<
 
-.ORDER: ${MIG_USHDRS}
-
 ${MIG_USHDRS} : \
        %_server.h : %.defs
-       $(MIG) $(MIGFLAGS)              \
+       @echo MIG $@
+       $(_v)$(MIG) $(MIGFLAGS)         \
                -server /dev/null       \
                -user /dev/null         \
                -header /dev/null       \
@@ -201,8 +197,6 @@ ${MIG_USHDRS} : \
 #
 # Build path
 #
-COMP_SUBDIRS_I386 = \
-       i386
 
 INCFLAGS_MAKEFILE= -I..
 
@@ -217,10 +211,12 @@ MIG_KUHDRS = \
        clock_reply.h \
        exc.h \
        host_notify_reply.h \
+       mach_exc.h \
        mach_notify.h \
        memory_object.h \
        memory_object_control.h \
        memory_object_default.h \
+       task_access.h \
        upl.h \
        vm_map.h
 
@@ -229,10 +225,13 @@ MIG_KUSRC = \
        clock_reply_user.c \
        exc_user.c \
        host_notify_reply_user.c \
+       mach_exc_user.c \
        mach_notify_user.c \
        memory_object_user.c \
        memory_object_control_user.c \
        memory_object_default_user.c \
+       task_access_user.c \
+       telemetry_notification_user.c \
        upl_user.c \
        vm_map_user.c
 
@@ -242,8 +241,8 @@ MIG_KSHDRS = \
        exc_server.h \
        host_priv_server.h \
        host_security_server.h \
-       ledger_server.h \
        lock_set_server.h \
+       mach_exc_server.h \
        mach_host_server.h \
        mach_notify_server.h \
        mach_port_server.h \
@@ -254,11 +253,12 @@ MIG_KSHDRS = \
        memory_object_name_server.h \
        processor_server.h \
        processor_set_server.h \
-       semaphore_server.h \
+       security_server.h \
        task_server.h \
        thread_act_server.h \
        upl_server.h \
-       vm_map_server.h
+       vm_map_server.h \
+       vm32_map_server.h
 
 MIG_KSSRC = \
        clock_server.c \
@@ -266,8 +266,8 @@ MIG_KSSRC = \
        exc_server.c \
        host_priv_server.c \
        host_security_server.c \
-       ledger_server.c \
        lock_set_server.c \
+       mach_exc_server.c \
        mach_host_server.c \
        mach_notify_server.c \
        mach_port_server.c \
@@ -278,11 +278,12 @@ MIG_KSSRC = \
        memory_object_name_server.c \
        processor_server.c \
        processor_set_server.c \
-       semaphore_server.c \
+       security_server.c \
        task_server.c \
        thread_act_server.c \
        upl_server.c \
-       vm_map_server.c
+       vm_map_server.c \
+       vm32_map_server.c
 
 #
 # JMM -
@@ -302,24 +303,24 @@ 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}        \
+       @echo 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}        \
+       @echo MIG $@
+       $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS}        \
                -user    /dev/null              \
                -header  /dev/null              \
                -server  $*_server.c            \