summaryrefslogtreecommitdiff
path: root/Makefrag.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefrag.am')
-rw-r--r--Makefrag.am59
1 files changed, 47 insertions, 12 deletions
diff --git a/Makefrag.am b/Makefrag.am
index 42026f33..5393513f 100644
--- a/Makefrag.am
+++ b/Makefrag.am
@@ -24,6 +24,9 @@ libkernel_a_SOURCES += \
ddb/db_access.c \
ddb/db_access.h \
ddb/db_aout.c \
+ ddb/db_aout.h \
+ ddb/db_elf.c \
+ ddb/db_elf.h \
ddb/db_break.c \
ddb/db_break.h \
ddb/db_command.c \
@@ -42,6 +45,7 @@ libkernel_a_SOURCES += \
ddb/db_macro.c \
ddb/db_macro.h \
ddb/db_mp.c \
+ ddb/db_mp.h \
ddb/db_output.c \
ddb/db_output.h \
ddb/db_print.c \
@@ -59,12 +63,13 @@ libkernel_a_SOURCES += \
ddb/db_watch.c \
ddb/db_watch.h \
ddb/db_write_cmd.c \
+ ddb/db_write_cmd.h \
ddb/nlist.h \
ddb/stab.h \
ddb/tr.h
# We need frame pointers for trace to work properly.
-AM_CFLAGS += -fno-omit-frame-pointer
+AM_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls
endif
#
@@ -83,8 +88,6 @@ endif
libkernel_a_SOURCES += \
ipc/ipc_entry.c \
ipc/ipc_entry.h \
- ipc/ipc_hash.c \
- ipc/ipc_hash.h \
ipc/ipc_init.c \
ipc/ipc_init.h \
ipc/ipc_kmsg.c \
@@ -101,14 +104,13 @@ libkernel_a_SOURCES += \
ipc/ipc_object.h \
ipc/ipc_port.c \
ipc/ipc_port.h \
+ ipc/ipc_print.h \
ipc/ipc_pset.c \
ipc/ipc_pset.h \
ipc/ipc_right.c \
ipc/ipc_right.h \
ipc/ipc_space.c \
ipc/ipc_space.h \
- ipc/ipc_splay.c \
- ipc/ipc_splay.h \
ipc/ipc_table.c \
ipc/ipc_table.h \
ipc/ipc_target.c \
@@ -124,7 +126,8 @@ libkernel_a_SOURCES += \
ipc/mach_debug.c \
ipc/port.h
EXTRA_DIST += \
- ipc/mach_port.srv
+ ipc/mach_port.srv \
+ ipc/notify.defs
#
@@ -139,6 +142,7 @@ libkernel_a_SOURCES += \
kern/ast.h \
kern/boot_script.h \
kern/bootstrap.c \
+ kern/bootstrap.h \
kern/counters.c \
kern/counters.h \
kern/cpu_number.h \
@@ -147,6 +151,7 @@ libkernel_a_SOURCES += \
kern/eventcount.c \
kern/eventcount.h \
kern/exception.c \
+ kern/exception.h \
kern/host.c \
kern/host.h \
kern/ipc_host.c \
@@ -171,12 +176,13 @@ libkernel_a_SOURCES += \
kern/mach_factor.h \
kern/machine.c \
kern/machine.h \
- kern/macro_help.h \
+ kern/macros.h \
kern/pc_sample.c \
kern/pc_sample.h \
kern/printf.c \
kern/printf.h \
kern/priority.c \
+ kern/priority.h \
kern/processor.c \
kern/processor.h \
kern/profile.c \
@@ -185,6 +191,9 @@ libkernel_a_SOURCES += \
kern/rbtree.c \
kern/rbtree.h \
kern/rbtree_i.h \
+ kern/rdxtree.c \
+ kern/rdxtree.h \
+ kern/rdxtree_i.h \
kern/refcount.h \
kern/slab.c \
kern/slab.h \
@@ -193,6 +202,7 @@ libkernel_a_SOURCES += \
kern/sched_prim.h \
kern/shuttle.h \
kern/startup.c \
+ kern/startup.h \
kern/strings.c \
kern/syscall_emulation.c \
kern/syscall_emulation.h \
@@ -219,7 +229,8 @@ EXTRA_DIST += \
kern/mach4.srv \
kern/gnumach.srv \
kern/mach_debug.srv \
- kern/mach_host.srv
+ kern/mach_host.srv \
+ kern/task_notify.cli
#
@@ -249,6 +260,7 @@ libkernel_a_SOURCES += \
vm/vm_fault.c \
vm/vm_fault.h \
vm/vm_init.c \
+ vm/vm_init.h \
vm/vm_kern.c \
vm/vm_kern.h \
vm/vm_map.c \
@@ -258,6 +270,7 @@ libkernel_a_SOURCES += \
vm/vm_page.h \
vm/vm_pageout.c \
vm/vm_pageout.h \
+ vm/vm_print.h \
vm/vm_resident.c \
vm/vm_resident.h \
vm/vm_types.h \
@@ -277,8 +290,10 @@ EXTRA_DIST += \
# TODO. Functions in device/subrs.c should each be moved elsewhere.
libkernel_a_SOURCES += \
device/blkio.c \
+ device/blkio.h \
device/buf.h \
device/chario.c \
+ device/chario.h \
device/cirbuf.h \
device/conf.h \
device/cons.c \
@@ -289,7 +304,9 @@ libkernel_a_SOURCES += \
device/dev_master.h \
device/dev_name.c \
device/dev_pager.c \
+ device/dev_pager.h \
device/device_init.c \
+ device/device_init.h \
device/device_port.h \
device/device_types_kernel.h \
device/ds_routines.c \
@@ -355,6 +372,7 @@ include_mach_HEADERS = \
include/mach/mach.defs \
include/mach/mach4.defs \
include/mach/gnumach.defs \
+ include/mach/task_notify.defs \
include/mach/mach_host.defs \
include/mach/mach_port.defs \
include/mach/mach_types.defs \
@@ -412,9 +430,18 @@ include_mach_eXec_HEADERS = \
include/mach/exec/elf.h \
include/mach/exec/exec.h
-# mach-debug-headers:= $(addprefix mach_debug/, hash_info.h ipc_info.h \
-# mach_debug.defs mach_debug_types.defs mach_debug_types.h \
-# pc_info.h vm_info.h slab_info.h)
+include_mach_debugdir = $(includedir)/mach_debug
+include_mach_debug_HEADERS = \
+ $(addprefix include/mach_debug/, \
+ hash_info.h \
+ ipc_info.h \
+ mach_debug.defs \
+ mach_debug_types.defs \
+ mach_debug_types.h \
+ pc_info.h \
+ vm_info.h \
+ slab_info.h \
+ )
# Other headers for the distribution. We don't install these, because the
# GNU C library has correct versions for users to use.
@@ -470,6 +497,13 @@ nodist_libkernel_a_SOURCES += \
# device/device_reply.user.defs
# device/memory_object_reply.user.defs
+nodist_lib_dep_tr_for_defs_a_SOURCES += \
+ kern/task_notify.user.defs.c
+nodist_libkernel_a_SOURCES += \
+ kern/task_notify.user.h \
+ kern/task_notify.user.c \
+ kern/task_notify.user.msgids
+
# Server stubs.
nodist_lib_dep_tr_for_defs_a_SOURCES += \
device/device.server.defs.c \
@@ -521,7 +555,8 @@ nodist_libkernel_a_SOURCES += \
# rpctrace can make use of that.
MOSTLYCLEANFILES += \
gnumach.msgids
-gnumach.msgids: $(filter %.msgids,$(nodist_libkernel_a_SOURCES))
+gnumach.msgids: $(filter %.msgids,$(nodist_libkernel_a_SOURCES)) \
+ ipc/notify.msgids
$(AM_V_at) cat $^ > $@.new
$(AM_V_GEN) mv $@.new $@
# `exec_' prefix, so that we don't try to build that file during when running