]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/device/Makefile
xnu-7195.50.7.100.1.tar.gz
[apple/xnu.git] / osfmk / device / Makefile
index f856daeedfdcefbdc63eeed8ba9b2f78134ee957..aa7b6c4487851e9fcc083fca3f9a10d616c5d827 100644 (file)
@@ -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)
 
@@ -16,21 +15,24 @@ DATAFILES = \
        device_types.h device_port.h device_types.defs \
        ${MIG_DEFS}
 
+PRIVATE_DATAFILES = \
+       device_types.h
+
 MIGINCLUDES = \
 
 INSTALL_MI_LIST        = ${DATAFILES} ${_MIG_HDRS_} ${MIGINCLUDES}
 
+INSTALL_MI_LCL_LIST = ${PRIVATE_DATAFILES}
+
 INSTALL_MI_DIR = device
 
 EXPORT_MI_LIST = ${DATAFILES} ${_MIG_HDRS_} ${MIGINCLUDES}
 
 EXPORT_MI_DIR = device
 
-.ORDER: ${MIG_HDRS} ${MIGINCLUDES}
-
 #
 # Build path
-#       
+#
 INCFLAGS_MAKEFILE= -I..
 
 MIGKSFLAGS     = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1
@@ -40,18 +42,16 @@ DEVICE_FILES    = device_server.h device_server.c
 
 COMP_FILES     = ${DEVICE_FILES}
 
-.ORDER: ${DEVICE_FILES}
+do_build_all:: $(COMP_FILES)
 
 ${DEVICE_FILES}: device.defs
-       ${MIG} ${MIGFLAGS} ${MIGKSFLAGS}        \
+       @$(LOG_MIG) "$@"
+       $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS}   \
        -header /dev/null                       \
        -user /dev/null                         \
        -sheader device_server.h                \
        -server device_server.c                 \
        $<
 
-
 include $(MakeInc_rule)
 include $(MakeInc_dir)
-
-