|
|
1.1 ! root 1: export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd ! 2: export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def ! 3: export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule ! 4: export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir ! 5: ! 6: ! 7: include $(MakeInc_cmd) ! 8: include $(MakeInc_def) ! 9: ! 10: INSTINC_SUBDIRS = \ ! 11: machine ! 12: ! 13: INSTINC_SUBDIRS_PPC = \ ! 14: ppc ! 15: ! 16: INSTINC_SUBDIRS_I386 = \ ! 17: i386 ! 18: ! 19: EXPINC_SUBDIRS = \ ! 20: machine ! 21: ! 22: EXPINC_SUBDIRS_PPC = \ ! 23: ppc ! 24: ! 25: EXPINC_SUBDIRS_I386 = \ ! 26: i386 ! 27: ! 28: MIG_TYPES = \ ! 29: clock_types.defs \ ! 30: mach_types.defs \ ! 31: std_types.defs ! 32: ! 33: MIG_DEFS = \ ! 34: bootstrap.defs \ ! 35: clock.defs \ ! 36: clock_priv.defs \ ! 37: clock_reply.defs \ ! 38: exc.defs \ ! 39: host_priv.defs \ ! 40: host_security.defs \ ! 41: ledger.defs \ ! 42: lock_set.defs \ ! 43: mach_host.defs \ ! 44: mach_port.defs \ ! 45: memory_object.defs \ ! 46: memory_object_control.defs \ ! 47: memory_object_default.defs \ ! 48: memory_object_name.defs \ ! 49: notify.defs \ ! 50: processor.defs \ ! 51: processor_set.defs \ ! 52: prof.defs \ ! 53: semaphore.defs \ ! 54: task.defs \ ! 55: thread_act.defs \ ! 56: vm_task.defs \ ! 57: upl.defs ! 58: ! 59: # ! 60: # MIG-generated headers that are traditionally used by user ! 61: # level code. ! 62: # ! 63: MIG_USHDRS = \ ! 64: clock_reply_server.h \ ! 65: exc_server.h \ ! 66: memory_object_server.h \ ! 67: memory_object_default_server.h \ ! 68: notify_server.h \ ! 69: prof_server.h ! 70: ! 71: MIG_UUHDRS = \ ! 72: bootstrap.h \ ! 73: clock.h \ ! 74: clock_priv.h \ ! 75: host_priv.h \ ! 76: host_security.h \ ! 77: ledger.h \ ! 78: lock_set.h \ ! 79: mach_host.h \ ! 80: mach_port.h \ ! 81: memory_object_control.h \ ! 82: memory_object_name.h \ ! 83: processor.h \ ! 84: processor_set.h \ ! 85: semaphore.h \ ! 86: task.h \ ! 87: thread_act.h \ ! 88: vm_task.h \ ! 89: upl.h ! 90: ! 91: MIGINCLUDES = ${MIG_UUHDRS} ${MIG_USHDRS} ! 92: ! 93: DATAFILES = \ ! 94: boolean.h boot_info.h \ ! 95: clock_types.h \ ! 96: etap.h etap_events.h \ ! 97: error.h exception.h exception_types.h flipc_cb.h \ ! 98: flipc_device.h flipc_locks.h flipc_types.h\ ! 99: host_info.h host_reboot.h kern_return.h \ ! 100: kmod.h mach_ioctl.h \ ! 101: mach_param.h mach_traps.h \ ! 102: mach_types.h machine.h \ ! 103: mach_syscalls.h \ ! 104: memory_object_types.h \ ! 105: message.h mig_errors.h mig_log.h msg_type.h \ ! 106: ndr.h norma_special_ports.h \ ! 107: notify.h policy.h port.h \ ! 108: processor_info.h prof_types.h rpc.h \ ! 109: std_types.h vm_types.h sync_policy.h \ ! 110: syscall_sw.h task_info.h task_special_ports.h \ ! 111: thread_info.h thread_special_ports.h \ ! 112: thread_status.h thread_switch.h time_value.h \ ! 113: vm_attributes.h vm_inherit.h vm_param.h \ ! 114: vm_prot.h vm_statistics.h vm_sync.h \ ! 115: events_info.h task_ledger.h vm_behavior.h \ ! 116: vm_region.h shared_memory_server.h \ ! 117: ${MIG_TYPES} ${MIG_DEFS} ! 118: ! 119: INSTALL_MI_LIST = ${DATAFILES} ! 120: ! 121: INSTALL_MI_GEN_LIST = ! 122: ! 123: INSTALL_MI_DIR = mach ! 124: ! 125: EXPORT_MI_LIST = mach_interface.h ${DATAFILES} ! 126: ! 127: EXPORT_MI_GEN_LIST = ${MIGINCLUDES} ! 128: ! 129: EXPORT_MI_DIR = mach ! 130: ! 131: .ORDER: ${MIGINCLUDES} ! 132: ! 133: ${MIGINCLUDES} : ${MIG_TYPES} ! 134: ! 135: .ORDER: ${MIG_UUHDRS} ! 136: ! 137: ${MIG_UUHDRS} : \ ! 138: %.h : %.defs ! 139: $(MIG) $(MIGFLAGS) \ ! 140: -server /dev/null \ ! 141: -user /dev/null \ ! 142: -header $@ \ ! 143: $< ! 144: ! 145: .ORDER: ${MIG_USHDRS} ! 146: ! 147: ${MIG_USHDRS} : \ ! 148: %_server.h : %.defs ! 149: $(MIG) $(MIGFLAGS) \ ! 150: -server /dev/null \ ! 151: -user /dev/null \ ! 152: -header /dev/null \ ! 153: -sheader $@ \ ! 154: $< ! 155: ! 156: # ! 157: # Build path ! 158: # ! 159: COMP_SUBDIRS_I386 = \ ! 160: i386 ! 161: ! 162: INCFLAGS_MAKEFILE= -I.. ! 163: ! 164: MIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1 ! 165: MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024 ! 166: # ! 167: # MIG-generated headers that are traditionally used by kernel ! 168: # level code. ! 169: # ! 170: MIG_KUHDRS = \ ! 171: clock_reply.h \ ! 172: exc.h \ ! 173: memory_object.h \ ! 174: memory_object_default.h \ ! 175: prof.h \ ! 176: upl.h ! 177: ! 178: MIG_KUSRC = \ ! 179: clock_reply_user.c \ ! 180: exc_user.c \ ! 181: memory_object_user.c \ ! 182: memory_object_default_user.c \ ! 183: prof_user.c \ ! 184: upl_user.c ! 185: ! 186: MIG_KSHDRS = \ ! 187: bootstrap_server.h \ ! 188: clock_server.h \ ! 189: clock_priv_server.h \ ! 190: exc_server.h \ ! 191: host_priv_server.h \ ! 192: host_security_server.h \ ! 193: ledger_server.h \ ! 194: lock_set_server.h \ ! 195: mach_host_server.h \ ! 196: mach_port_server.h \ ! 197: memory_object_server.h \ ! 198: memory_object_control_server.h \ ! 199: memory_object_default_server.h \ ! 200: memory_object_name_server.h \ ! 201: notify_server.h \ ! 202: processor_server.h \ ! 203: processor_set_server.h \ ! 204: semaphore_server.h \ ! 205: task_server.h \ ! 206: thread_act_server.h \ ! 207: vm_task_server.h \ ! 208: upl_server.h ! 209: ! 210: MIG_KSSRC = \ ! 211: bootstrap_server.c \ ! 212: clock_server.c \ ! 213: clock_priv_server.c \ ! 214: exc_server.c \ ! 215: host_priv_server.c \ ! 216: host_security_server.c \ ! 217: ledger_server.c \ ! 218: lock_set_server.c \ ! 219: mach_host_server.c \ ! 220: mach_port_server.c \ ! 221: memory_object_server.c \ ! 222: memory_object_control_server.c \ ! 223: memory_object_default_server.c \ ! 224: memory_object_name_server.c \ ! 225: notify_server.c \ ! 226: processor_server.c \ ! 227: processor_set_server.c \ ! 228: semaphore_server.c \ ! 229: task_server.c \ ! 230: thread_act_server.c \ ! 231: vm_task_server.c \ ! 232: upl_server.c ! 233: ! 234: # ! 235: # JMM - ! 236: # Since there are two generated header files with the same name, one for ! 237: # install and export, the other for internal use (and they are different) ! 238: # we can't explicitly list two rules for the same target. So rules for ! 239: # generating internal headers will be handled implicitly by creating rules ! 240: # to generate the internal C sources, and the headers get created as a ! 241: # side-effect. ! 242: # ! 243: # This is all temporary scaffolding, as we are moving to a model where ! 244: # the MIG-generated code is identical in all environments. At first, it ! 245: # will contain some environment-specific ifdefs, but over time should not ! 246: # even require that as we move towards making all the environments look ! 247: # the same. ! 248: # ! 249: COMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC} ! 250: ! 251: ${COMP_FILES} : ${MIG_TYPES} ! 252: ! 253: .ORDER: ${MIG_KUSRC} ! 254: ! 255: ${MIG_KUSRC} : \ ! 256: %_user.c : %.defs ! 257: ${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \ ! 258: -user $*_user.c \ ! 259: -header $*.h \ ! 260: -server /dev/null \ ! 261: -sheader /dev/null \ ! 262: $< ! 263: ! 264: .ORDER: ${MIG_KSSRC} ! 265: ! 266: ${MIG_KSSRC}: \ ! 267: %_server.c : %.defs ! 268: ${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \ ! 269: -user /dev/null \ ! 270: -header /dev/null \ ! 271: -server $*_server.c \ ! 272: -sheader $*_server.h \ ! 273: $< ! 274: ! 275: ! 276: include $(MakeInc_rule) ! 277: include $(MakeInc_dir)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.