]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kextd/Makefile
xnu-3247.1.106.tar.gz
[apple/xnu.git] / osfmk / kextd / Makefile
index 771b0cd262e14785898db392312d1824f905e74d..74e1d806760f1d37dd561450af3c3c14158ea507 100644 (file)
@@ -3,31 +3,24 @@ 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 =
-
-INSTINC_SUBDIRS_I386 =
-
-EXPINC_SUBDIRS =
-
-EXPINC_SUBDIRS_I386 =
-
 MIG_DEFS = kextd_mach.defs
 
-DATAFILES = ${MIG_DEFS}
+PRIVATE_DATAFILES = ${MIG_DEFS}
 
-INSTALL_MI_LIST =
+KERNELFILES = ${MIG_DEFS}
 
-INSTALL_MI_LCL_LIST    = ${DATAFILES}
+INSTALL_MI_LIST =
+INSTALL_MI_LCL_LIST = ${PRIVATE_DATAFILES}
 
 INSTALL_MI_GEN_LIST = 
 
 INSTALL_MI_DIR = kextd
 
-EXPORT_MI_LIST = \
-       ${DATAFILES}
+EXPORT_MI_LIST = ${KERNELFILES}
 
 EXPORT_MI_GEN_LIST = kextd_mach.h
 
@@ -46,13 +39,13 @@ MIG_KUSRC = kextd_mach.c kextd_mach.h
 
 COMP_FILES = ${MIG_KUSRC}
 
-${COMP_FILES} : kextd_mach.defs
+do_build_all:: $(COMP_FILES)
 
 ${MIG_KUSRC} : kextd_mach.defs
        @echo MIG $@
        $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS}   \
-               -user    $*.c                   \
-               -header  $*.h                   \
+               -user    kextd_mach.c           \
+               -header  kextd_mach.h           \
                -server  /dev/null              \
                -sheader /dev/null              \
                $<