]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/mach/i386/Makefile
xnu-4903.241.1.tar.gz
[apple/xnu.git] / osfmk / mach / i386 / Makefile
index c31a0f3917d47205570b97c84ce7327fe970fdc4..6d9affad14e78c7cbe0c93c38168bf1c39357732 100644 (file)
@@ -6,52 +6,33 @@ export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
 include $(MakeInc_cmd)
 include $(MakeInc_def)
 
-VPATH+=$(SOURCE)/../../i386:
-
-MIG_DEFS = mach_i386.defs
-
-MIGINCLUDES = mach_i386_server.h
+VPATH := $(VPATH):$(SOURCE)/../../i386
 
 DATAFILES = \
-       boolean.h exception.h fp_reg.h flipc_dep.h \
-       processor_info.h kern_return.h mach_i386_types.h ndr_def.h syscall_sw.h \
+       boolean.h exception.h fp_reg.h \
+       processor_info.h kern_return.h ndr_def.h syscall_sw.h \
        thread_status.h thread_state.h vm_param.h \
        vm_types.h rpc.h \
-       machine_types.defs ${MIG_DEFS} 
+       _structs.h sdt_isa.h
+
+PRIVATE_DATAFILES = \
+       syscall_sw.h
 
 INSTALL_MD_LIST = ${DATAFILES}
 
+INSTALL_MD_LCL_LIST = ${PRIVATE_DATAFILES}
+
 INSTALL_MD_GEN_LIST = \
-       asm.h \
-       ${MIGINCLUDES}
+       asm.h
 
 INSTALL_MD_DIR = mach/i386
 
-EXPORT_MD_LIST = ${DATAFILES} 
+EXPORT_MD_LIST = ${DATAFILES}
 
 EXPORT_MD_GEN_LIST = \
-       asm.h \
-       ${MIGINCLUDES}
+       asm.h
 
 EXPORT_MD_DIR = mach/i386
 
-.ORDER: ${MIG_HDRS} ${MIGINCLUDES}
-
-COMP_FILES = mach_i386_server.h mach_i386_server.c
-
-.ORDER: mach_i386_server.h mach_i386_server.c
-
-MIGKSFLAGS = -DKERNEL_SERVER
-
-mach_i386_server.h mach_i386_server.c: mach_i386.defs
-       ${MIG} ${MIGFLAGS} ${MIGKSFLAGS}        \
-               -header /dev/null               \
-               -user /dev/null                 \
-               -sheader mach_i386_server.h     \
-               -server mach_i386_server.c      \
-               $<
-
 include $(MakeInc_rule)
 include $(MakeInc_dir)
-
-