]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/device/Makefile
xnu-3789.1.32.tar.gz
[apple/xnu.git] / osfmk / device / Makefile
index 817a680d8a5522d662061714b5b8b930ad5ac5ca..c6e070a05ba6d6af06b9e402225791433b17ee47 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,10 +42,10 @@ DEVICE_FILES    = device_server.h device_server.c
 
 COMP_FILES     = ${DEVICE_FILES}
 
-.ORDER: ${DEVICE_FILES}
+do_build_all:: $(COMP_FILES)
 
 ${DEVICE_FILES}: device.defs
-       @echo MIG $@
+       @echo "$(ColorM)MIG$(Color0) $(ColorF)$@$(Color0)"
        $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS}   \
        -header /dev/null                       \
        -user /dev/null                         \
@@ -51,7 +53,5 @@ ${DEVICE_FILES}: device.defs
        -server device_server.c                 \
        $<
 
-
-
 include $(MakeInc_rule)
 include $(MakeInc_dir)