summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-11-30 18:31:35 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:56 +0200
commite09ce520d774d78b2deb9d384f33bae3edb20459 (patch)
tree919fb074eac4653395fdac1520c48b3d8c1f0587 /i386
parenta0a6854e422832867a89456af30c87f77832f677 (diff)
2006-11-30 Barry deFreese <bddebian@comcast.net>
Thomas Schwinge <tschwinge@gnu.org> [bug #18015 --- ``GNU Mach: `make dist' and friends''] * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable. (EXTRA_DIST): Enhance with the patches and documentation files. (dist-hook): New target to remove the `CVS' directories. * Makefrag.am (libkernel_a_SOURCES, EXTRA_DIST): Add header and `mig' input files. (DISTCHECK_CONFIGURE_FLAGS): Enable the kernel debugger. * i386/Makefrag.am: Likewise. Also add `i386/i386/i386asm.sym', `i386/ldscript' and `i386/README-Drivers'. * i386/linux/Makefrag.am (liblinux_a_SOURCES): Add the header files from `i386/linux/'. * linux/Makefrag.am (liblinux_a_SOURCES, EXTRA_DIST) (liblinux_pcmcia_cs_modules_a_SOURCES) (liblinux_pcmcia_cs_clients_a_SOURCES) (liblinux_pcmcia_cs_wireless_a_SOURCES): Add header and other included files. (dist-hook): Depend on `dist-hook-linux'. (dist-hook-linux): New phony target to remove the `asm' symbolic links. * Makerules.am (EXTRA_DIST): Add `gensym.awk'. * doc/Makefrag.am (EXTRA_DIST): Add `$(mach_TEXINFOS)'. * configure.ac (AC_CONFIG_LINKS): Move instantiation to... * configfrag.ac: ... here and change quotation. * linux/configfrag.ac (AC_CONFIG_LINKS): Change quotation.
Diffstat (limited to 'i386')
-rw-r--r--i386/Makefrag.am115
-rw-r--r--i386/linux/Makefrag.am2
2 files changed, 108 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
diff --git a/i386/linux/Makefrag.am b/i386/linux/Makefrag.am
index 533c6c3..41606c9 100644
--- a/i386/linux/Makefrag.am
+++ b/i386/linux/Makefrag.am
@@ -21,4 +21,6 @@
#
liblinux_a_SOURCES += \
+ i386/linux/dev/include/linux/autoconf.h \
+ i386/linux/dev/include/linux_emul.h \
linux/src/arch/i386/lib/semaphore.S