summaryrefslogtreecommitdiff
path: root/i386/Makefrag.am
diff options
context:
space:
mode:
Diffstat (limited to 'i386/Makefrag.am')
-rw-r--r--i386/Makefrag.am115
1 files changed, 106 insertions, 9 deletions
diff --git a/i386/Makefrag.am b/i386/Makefrag.am
index 1ba5eb8..f34c7cc 100644
--- a/i386/Makefrag.am
+++ b/i386/Makefrag.am
@@ -13,79 +13,161 @@
# LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE
# USE OF THIS SOFTWARE.
+#
# Source files for any i386 kernel.
+#
+
libkernel_a_SOURCES += \
i386/i386at/autoconf.c \
i386/i386at/boothdr.S \
i386/i386at/com.c \
+ i386/i386at/comreg.h \
i386/i386at/conf.c \
i386/i386at/cons_conf.c \
+ i386/i386at/cram.h \
+ i386/i386at/dev_hdr.h \
+ i386/i386at/device_emul.h \
+ i386/i386at/disk.h \
i386/i386at/rtc.c \
i386/i386at/i386at_ds_routines.c \
+ i386/i386at/i8250.h \
+ i386/i386at/idt.h \
i386/i386at/immc.c \
i386/i386at/int_init.c \
i386/i386at/interrupt.S \
i386/i386at/iopl.c \
i386/i386at/kd.c \
- i386/i386at/kdasm.S \
+ i386/i386at/kd.h \
i386/i386at/kd_event.c \
+ i386/i386at/kd_event.h \
i386/i386at/kd_mouse.c \
+ i386/i386at/kd_mouse.h \
i386/i386at/kd_queue.c \
+ i386/i386at/kd_queue.h \
+ i386/i386at/kdasm.S \
+ i386/i386at/kdsoft.h \
i386/i386at/model_dep.c \
- i386/i386at/pic_isa.c
+ i386/i386at/pic_isa.c \
+ i386/i386at/rtc.h \
+ i386/include/mach/sa/stdarg.h
+
+#
+# `lpr' device support.
+#
-# lpr device support.
if enable_lpr
libkernel_a_SOURCES += \
- i386/i386at/lpr.c
+ i386/i386at/lpr.c \
+ i386/i386at/lprreg.h
endif
+
+#
+# Further source files for any i386 kernel.
+#
+
libkernel_a_SOURCES += \
+ i386/i386/ast.h \
i386/i386/ast_check.c \
+ i386/i386/ast_types.h \
+ i386/i386/cpu_number.h \
i386/i386/cswitch.S \
i386/i386/db_disasm.c \
i386/i386/db_interface.c \
+ i386/i386/db_machdep.h \
i386/i386/db_trace.c \
+ i386/i386/debug.h \
i386/i386/debug_i386.c \
i386/i386/debug_trace.S \
+ i386/i386/eflags.h \
i386/i386/fpe_linkage.c \
i386/i386/fpu.c \
+ i386/i386/fpu.h \
i386/i386/gdt.c \
+ i386/i386/gdt.h \
i386/i386/hardclock.c \
+ i386/i386/idt-gen.h \
i386/i386/idt.c \
i386/i386/idt_inittab.S \
i386/i386/io_emulate.c \
+ i386/i386/io_emulate.h \
i386/i386/io_map.c \
+ i386/i386/io_port.h \
i386/i386/iopb.c \
+ i386/i386/iopb.h \
+ i386/i386/ipl.h \
i386/i386/ktss.c \
+ i386/i386/ktss.h \
i386/i386/kttd_interface.c \
+ i386/i386/kttd_machdep.h \
i386/i386/ldt.c \
+ i386/i386/ldt.h \
+ i386/i386/lock.h \
i386/i386/locore.S \
+ i386/i386/locore.h \
i386/i386/loose_ends.c \
+ i386/i386/mach_param.h \
+ i386/i386/machine_routines.h \
+ i386/i386/machspl.h \
i386/i386/mp_desc.c \
+ i386/i386/mp_desc.h \
i386/i386/pcb.c \
+ i386/i386/pcb.h \
i386/i386/phys.c \
i386/i386/pic.c \
+ i386/i386/pic.h \
+ i386/i386/pio.h \
i386/i386/pit.c \
+ i386/i386/pit.h \
+ i386/i386/pmap.h \
+ i386/i386/proc_reg.h \
+ i386/i386/sched_param.h \
i386/i386/seg.c \
+ i386/i386/seg.h \
+ i386/i386/setjmp.h \
i386/i386/spl.S \
+ i386/i386/spl.h \
+ i386/i386/thread.h \
+ i386/i386/time_stamp.h \
+ i386/i386/timer.h \
i386/i386/trap.c \
- i386/i386/user_ldt.c
+ i386/i386/trap.h \
+ i386/i386/tss.h \
+ i386/i386/user_ldt.c \
+ i386/i386/user_ldt.h \
+ i386/i386/vm_param.h \
+ i386/i386/vm_tuning.h \
+ i386/i386/xpr.h \
+ i386/i386/zalloc.h \
+ i386/intel/pmap.c \
+ i386/intel/pmap.h \
+ i386/intel/read_fault.c
+EXTRA_DIST += \
+ i386/i386/mach_i386.srv
+
+
+#
+# KDB support.
+#
-# This file is only needed for KDB support.
if enable_kdb
libkernel_a_SOURCES += \
i386/i386/_setjmp.S
endif
-libkernel_a_SOURCES += \
- i386/intel/pmap.c \
- i386/intel/read_fault.c
+#
# Files from the generic sources that we want.
+#
+
libkernel_a_SOURCES += \
chips/busses.c \
+ chips/busses.h \
device/cirbuf.c
+
+#
+# Automatically generated source files.
+#
# See Makefrag.am about lib_dep_tr_for_defs.a.
nodist_lib_dep_tr_for_defs_a_SOURCES += \
@@ -102,6 +184,8 @@ nodist_libkernel_a_SOURCES += \
# TODO. Hm.
i386/i386at/boothdr.o: i386/i386/i386asm.h
+EXTRA_DIST += \
+ i386/i386/i386asm.sym
nodist_libkernel_a_SOURCES += \
i386/i386/i386asm.h
@@ -109,6 +193,8 @@ nodist_libkernel_a_SOURCES += \
# Architecture specialities.
#
+EXTRA_DIST += \
+ i386/ldscript
LINKFLAGS_gnumach = \
-T '$(srcdir)/$(systype)'/ldscript
@@ -136,3 +222,14 @@ include_mach_i386_HEADERS = \
i386/include/mach/i386/trap.h \
i386/include/mach/i386/vm_param.h \
i386/include/mach/i386/vm_types.h
+
+#
+# Building a distribution.
+#
+
+EXTRA_DIST += \
+ i386/README-Drivers
+
+# Instead of listing each file individually...
+EXTRA_DIST += \
+ i386/include