summaryrefslogtreecommitdiff
path: root/i386/Makefrag
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-04-26 05:19:32 +0000
committerThomas Bushnell <thomas@gnu.org>1999-04-26 05:19:32 +0000
commit028180c5658c07107930b0d3e82de82c856e7524 (patch)
tree36b802233ad759a481b9904060a6ef1951085c4f /i386/Makefrag
parent3efcc3770a79988affebf6bed5beefbaf2072527 (diff)
1999-02-28 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* Makefile.in (clean): Don't move device-drivers.h, because it is not in the top directory any longer. (distclean): Remove config.cache and config.log. * i386/Makefile.in (distclean): Remove config.status, config.log and Makefile. * i386/linux/Makefile.in (distclean): Remove config.status, config.log, Makefile and device-drivers.h. 1999-02-27 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * Makefile.in: Omit to detect if com or lpr is used, and don't use linux.o. (objfiles): Add $(systype)/sysdep.o. (clean): Chain the target to $(systype). (distclean): Likewise. (mostlyclean): Likewise. (maintainer-clean): Likewise. (install-headers): Likewise. (install-kernel): Likewise. * configure.in: AC_CONFIG_SUBDIRS ${systype} instead of linux. (--disable-linuxdev): Deleted. (--disable-com): Likewise. (--enable-lpr): Likewise. * i386/Makefile.in: New file. * i386/configure.in: Likewise. * i386/Makefrag (DEFINES): Add -DLINUX_DEV. (objfiles): Always add com.o. If MACH_LPR is defined, then add lpr.o. * linux/Drivers.in: Moved to ... * i386/linux/Drivers.in: ... here. Include ../../aclocal.m4. (mkdir_p): New function to create the linux include dirs. * linux/Makefile.in: Moved to ... * i386/linux/Makefile.in: ... here, and modify so that paths are valid. (clean): New target. (distclean): Likewise. (mostlyclean): Likewise. (maintainer-clean): Likewise. * linux/src/include/linux/autoconf.h: Removed. * linux/dev/include/linux/autoconf.h: Moved to ... * i386/linux/dev/include/linux/autoconf.h: ... here. * linux/dev/arch/i386/linux_emul.h: Moved to ... * i386/linux/dev/include/linux_emul.h: ... here. * linux/device-drivers.h.in: Moved to ... * i386/linux/device-drivers.h.in: ... here. * linux/aclocal.m4: Removed. * linux/configure: Likewise. 1999-02-01 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * linux/dev/glue/block.c (dev_getstat): Fix a missing `struct'. * device/cons.c (cninit): Don't call kmsginit. * kmsg.c (kmsg_buffer): Defined as static. (kmsg_write_offset): Likewise. (kmsg_read_offset): Likewise. (kmsg_read_queue): Likewise. (kmsg_in_use): Likewise. (kmsg_lock): Likewise. (kmsginit): Likewise, and call queue_init instead of setting PREV and NEXT manually. (kmsg_done_init): New variable. (kmsg_putchar): Call kmsginit if not initialized yet. (kmsggetstat): New function. * kmsg.h (kmsggetstat): Add the prototype. * i386/i386at/kd_event.c (kbdgetstat): Handle DEV_GET_SIZE. (kbdread): Check if the amount a user specify is a multiple of sizeof(kd_event). * i386/i386at/kd_mouse.c (mousegetstat): New function. (mouseread): Check if the amount a user specify is a multiple of sizeof(kd_event). * i386/i386at/conf.c (dev_name_list): Set the mouse getstat entry to mousegetstat and the kmsg getstat entry to kmsggetstat. Use MACH_COM instead of NCOM to determine if com is used. Use MACH_LPR instead of NLPR to determine if lpr is used. * configure.in (--enable-com): New option. (--enable-lpr): Likewise. * Makefile.in (enable_com): New variable. (enable_lpr): Likewise. * i386/Makefrag (i386at-files): Remove com.c. (objfiles): Add com.o if enable_com is yes, and lpr.o if enable_lpr is yes. 1998-12-01 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * i386/i386at/i386at_ds_routines.c: Include <linux/device-drivers.h> only if LINUX_DEV is defined. Reported by UCHIYAMA Yasushi <uch@nop.or.jp>. * device/ds_routines.c: Likewise. * configure.in: AC_CONFIG_SUBDIRS(linux) instead of linuxdev. (--disable-linuxdev): New option. * linux/Makefile.in (CPPFLAGS): Remove -DLINUX_DEV, and add @DEFS@. (objfiles): Add linux.o only if LINUX_DEV is defined. * linux/Drivers.in (--disable-linuxdev): New option. * i386/Makefrag (DEFINES): Remove -DLINUX_DEV. 1998-11-17 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * i386/README-Drivers: Update to Linux 2.0.36 device drivers. * linuxdev/Drivers.in: Likewise. * linuxdev/Makefrag: Likewise. * linuxdev/arch/i386/linux_lib.S: Likewise. * linuxdev/device-drivers.h.in: Likewise. * linuxdev/drivers/block/floppy.c: Likewise. * linuxdev/drivers/block/ide.c: Likewise. * linuxdev/drivers/block/ide.h: Likewise. * linuxdev/drivers/net/3c505.h: Likewise. * linuxdev/drivers/net/3c509.c: Likewise. * linuxdev/drivers/net/3c515.c: Likewise. * linuxdev/drivers/net/3c59x.c: Likewise. * linuxdev/drivers/net/Space.c: Likewise. * linuxdev/drivers/net/apricot.c: Likewise. * linuxdev/drivers/net/de4x5.c: Likewise. * linuxdev/drivers/net/eepro.c: Likewise. * linuxdev/drivers/net/eepro100.c: Likewise. * linuxdev/drivers/net/eexpress.c: Likewise. * linuxdev/drivers/net/epic100.c: Likewise. * linuxdev/drivers/net/eth16i.c: Likewise. * linuxdev/drivers/net/hp100.c: Likewise. * linuxdev/drivers/net/lance.c: Likewise. * linuxdev/drivers/net/ne2k-pci.c: Likewise. * linuxdev/drivers/net/pcnet32.c: Likewise. * linuxdev/drivers/net/rtl8139.c: Likewise. * linuxdev/drivers/net/tlan.c: Likewise. * linuxdev/drivers/net/tulip.c: Likewise. * linuxdev/drivers/net/wavelan.c: Likewise. * linuxdev/drivers/pci/pci.c: Likewise. * linuxdev/drivers/scsi/BusLogic.c: Likewise. * linuxdev/drivers/scsi/FlashPoint.c: Likewise. * linuxdev/drivers/scsi/aha152x.c: Likewise. * linuxdev/drivers/scsi/aha1542.c: Likewise. * linuxdev/drivers/scsi/aic7xxx/sequencer.h: Likewise. * linuxdev/drivers/scsi/aic7xxx.c: Likewise. * linuxdev/drivers/scsi/aic7xxx_proc.c: Likewise. * linuxdev/drivers/scsi/aic7xxx_reg.h: Likewise. * linuxdev/drivers/scsi/dtc.c: Likewise. * linuxdev/drivers/scsi/eata.c: Likewise. * linuxdev/drivers/scsi/eata.h: Likewise. * linuxdev/drivers/scsi/eata_dma.c: Likewise. * linuxdev/drivers/scsi/gdth.c: Likewise. * linuxdev/drivers/scsi/gdth.h: Likewise. * linuxdev/drivers/scsi/gdth_proc.c: Likewise. * linuxdev/drivers/scsi/gdth_proc.h: Likewise. * linuxdev/drivers/scsi/hosts.c: Likewise. * linuxdev/drivers/scsi/in2000.c: Likewise. * linuxdev/drivers/scsi/in2000.h: Likewise. * linuxdev/drivers/scsi/ncr53c8xx.c: Likewise. * linuxdev/drivers/scsi/ppa.h: Likewise. * linuxdev/drivers/scsi/scsi.c: Likewise. * linuxdev/drivers/scsi/scsicam.c: Likewise. * linuxdev/drivers/scsi/sd.c: Likewise. * linuxdev/drivers/scsi/seagate.c: Likewise. * linuxdev/drivers/scsi/u14-34f.c: Likewise. * linuxdev/drivers/scsi/u14-34f.h: Likewise. * linuxdev/drivers/scsi/wd7000.c: Likewise. * linuxdev/drivers/scsi/wd7000.h: Likewise. * linuxdev/include/asm-i386/irq.h: Likewise. * linuxdev/include/asm-i386/processor.h: Likewise. * linuxdev/include/asm-i386/ptrace.h: Likewise. * linuxdev/include/asm-i386/system.h: Likewise. * linuxdev/include/asm-i386/unistd.h: Likewise. * linuxdev/include/linux/fs.h: Likewise. * linuxdev/include/linux/genhd.h: Likewise. * linuxdev/include/linux/interrupt.h: Likewise. * linuxdev/include/linux/ip.h: Likewise. * linuxdev/include/linux/pci.h: Likewise. * linuxdev/include/linux/version.h: Likewise. * linuxdev/include/linux/wireless.h: Likewise. 1998-11-14 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * i386/README-Drivers: Update to Linux 2.0.35 device drivers. * linuxdev/Drivers.in: Likewise. * linuxdev/configure: Likewise. * linuxdev/device-drivers.h.in: Likewise. * linuxdev/Makefrag: Likewise. * linuxdev/arch/i386/linux_autoirq.c: Likewise. * linuxdev/arch/i386/linux_block.c: Likewise. * linuxdev/arch/i386/linux_dma.c: Likewise. * linuxdev/arch/i386/linux_init.c: Likewise. * linuxdev/arch/i386/linux_irq.c: Likewise. * linuxdev/arch/i386/linux_kmem.c: Likewise. * linuxdev/arch/i386/linux_misc.c: Likewise. * linuxdev/arch/i386/linux_net.c: Likewise. * linuxdev/arch/i386/linux_port.c: Likewise. * linuxdev/arch/i386/linux_printk.c: Likewise. * linuxdev/arch/i386/linux_sched.c: Likewise. * linuxdev/arch/i386/linux_timer.c: Likewise. * linuxdev/arch/i386/linux_version.c: Likewise. * linuxdev/arch/i386/linux_vsprintf.c: Likewise. * linuxdev/drivers/block/cmd640.c: Likewise. * linuxdev/drivers/block/floppy.c: Likewise. * linuxdev/drivers/block/genhd.c: Likewise. * linuxdev/drivers/block/ide-cd.c: Likewise. * linuxdev/drivers/block/ide.c: Likewise. * linuxdev/drivers/block/ide.h: Likewise. * linuxdev/drivers/block/ide_modes.h: Likewise. * linuxdev/drivers/block/rz1000.c: Likewise. * linuxdev/drivers/block/triton.c: Likewise. * linuxdev/drivers/net/3c501.c: Likewise. * linuxdev/drivers/net/3c503.c: Likewise. * linuxdev/drivers/net/3c505.c: Likewise. * linuxdev/drivers/net/3c507.c: Likewise. * linuxdev/drivers/net/3c509.c: Likewise. * linuxdev/drivers/net/3c59x.c: Likewise. * linuxdev/drivers/net/8390.c: Likewise. * linuxdev/drivers/net/8390.h: Likewise. * linuxdev/drivers/net/Space.c: Likewise. * linuxdev/drivers/net/ac3200.c: Likewise. * linuxdev/drivers/net/apricot.c: Likewise. * linuxdev/drivers/net/at1700.c: Likewise. * linuxdev/drivers/net/atp.c: Likewise. * linuxdev/drivers/net/atp.h: Likewise. * linuxdev/drivers/net/de4x5.c: Likewise. * linuxdev/drivers/net/de4x5.h: Likewise. * linuxdev/drivers/net/de600.c: Likewise. * linuxdev/drivers/net/de620.c: Likewise. * linuxdev/drivers/net/depca.c: Likewise. * linuxdev/drivers/net/dev.c: Likewise. * linuxdev/drivers/net/e2100.c: Likewise. * linuxdev/drivers/net/eepro.c: Likewise. * linuxdev/drivers/net/eepro100.c: Likewise. * linuxdev/drivers/net/eexpress.c: Likewise. * linuxdev/drivers/net/eth16i.c: Likewise. * linuxdev/drivers/net/ewrk3.c: Likewise. * linuxdev/drivers/net/ewrk3.h: Likewise. * linuxdev/drivers/net/hp-plus.c: Likewise. * linuxdev/drivers/net/hp.c: Likewise. * linuxdev/drivers/net/hp100.c: Likewise. * linuxdev/drivers/net/hp100.h: Likewise. * linuxdev/drivers/net/i82586.h: Likewise. * linuxdev/drivers/net/lance.c: Likewise. * linuxdev/drivers/net/ne.c: Likewise. * linuxdev/drivers/net/net_init.c: Likewise. * linuxdev/drivers/net/ni52.c: Likewise. * linuxdev/drivers/net/ni52.h: Likewise. * linuxdev/drivers/net/ni65.c: Likewise. * linuxdev/drivers/net/ni65.h: Likewise. * linuxdev/drivers/net/seeq8005.c: Likewise. * linuxdev/drivers/net/seeq8005.h: Likewise. * linuxdev/drivers/net/sk_g16.c: Likewise. * linuxdev/drivers/net/sk_g16.h: Likewise. * linuxdev/drivers/net/smc-ultra.c: Likewise. * linuxdev/drivers/net/tulip.c: Likewise. * linuxdev/drivers/net/wavelan.c: Likewise. * linuxdev/drivers/net/wavelan.h: Likewise. * linuxdev/drivers/net/wd.c: Likewise. * linuxdev/drivers/net/znet.c: Likewise. * linuxdev/drivers/pci/pci.c: Likewise. * linuxdev/drivers/scsi/53c7,8xx.h: Likewise. * linuxdev/drivers/scsi/53c78xx.c: Likewise. * linuxdev/drivers/scsi/53c8xx_d.h: Likewise. * linuxdev/drivers/scsi/AM53C974.c: Likewise. * linuxdev/drivers/scsi/AM53C974.h: Likewise. * linuxdev/drivers/scsi/BusLogic.c: Likewise. * linuxdev/drivers/scsi/BusLogic.h: Likewise. * linuxdev/drivers/scsi/NCR53c406a.c: Likewise. * linuxdev/drivers/scsi/NCR53c406a.h: Likewise. * linuxdev/drivers/scsi/advansys.c: Likewise. * linuxdev/drivers/scsi/advansys.h: Likewise. * linuxdev/drivers/scsi/aha152x.c: Likewise. * linuxdev/drivers/scsi/aha152x.h: Likewise. * linuxdev/drivers/scsi/aha1542.c: Likewise. * linuxdev/drivers/scsi/aha1542.h: Likewise. * linuxdev/drivers/scsi/aha1740.c: Likewise. * linuxdev/drivers/scsi/aha1740.h: Likewise. * linuxdev/drivers/scsi/aic7xxx.c: Likewise. * linuxdev/drivers/scsi/aic7xxx.h: Likewise. * linuxdev/drivers/scsi/aic7xxx_seq.h: Likewise. * linuxdev/drivers/scsi/constants.h: Likewise. * linuxdev/drivers/scsi/eata.c: Likewise. * linuxdev/drivers/scsi/eata.h: Likewise. * linuxdev/drivers/scsi/eata_dma.c: Likewise. * linuxdev/drivers/scsi/eata_dma.h: Likewise. * linuxdev/drivers/scsi/eata_generic.h: Likewise. * linuxdev/drivers/scsi/eata_pio.c: Likewise. * linuxdev/drivers/scsi/eata_pio.h: Likewise. * linuxdev/drivers/scsi/fdomain.c: Likewise. * linuxdev/drivers/scsi/fdomain.h: Likewise. * linuxdev/drivers/scsi/g_NCR5380.c: Likewise. * linuxdev/drivers/scsi/g_NCR5380.h: Likewise. * linuxdev/drivers/scsi/hosts.c: Likewise. * linuxdev/drivers/scsi/hosts.h: Likewise. * linuxdev/drivers/scsi/in2000.c: Likewise. * linuxdev/drivers/scsi/in2000.h: Likewise. * linuxdev/drivers/scsi/pas16.c: Likewise. * linuxdev/drivers/scsi/pas16.h: Likewise. * linuxdev/drivers/scsi/scsi.c: Likewise. * linuxdev/drivers/scsi/scsi.h: Likewise. * linuxdev/drivers/scsi/scsi_ioctl.c: Likewise. * linuxdev/drivers/scsi/scsi_proc.c: Likewise. * linuxdev/drivers/scsi/scsicam.c: Likewise. * linuxdev/drivers/scsi/sd.c: Likewise. * linuxdev/drivers/scsi/sd.h: Likewise. * linuxdev/drivers/scsi/sd_ioctl.c: Likewise. * linuxdev/drivers/scsi/seagate.c: Likewise. * linuxdev/drivers/scsi/seagate.h: Likewise. * linuxdev/drivers/scsi/sr.c: Likewise. * linuxdev/drivers/scsi/sr_ioctl.c: Likewise. * linuxdev/drivers/scsi/t128.c: Likewise. * linuxdev/drivers/scsi/t128.h: Likewise. * linuxdev/drivers/scsi/u14-34f.c: Likewise. * linuxdev/drivers/scsi/u14-34f.h: Likewise. * linuxdev/drivers/scsi/ultrastor.c: Likewise. * linuxdev/drivers/scsi/ultrastor.h: Likewise. * linuxdev/drivers/scsi/wd7000.c: Likewise. * linuxdev/drivers/scsi/wd7000.h: Likewise. * linuxdev/include/asm-i386/bitops.h: Likewise. * linuxdev/include/asm-i386/delay.h: Likewise. * linuxdev/include/asm-i386/dma.h: Likewise. * linuxdev/include/asm-i386/errno.h: Likewise. * linuxdev/include/asm-i386/fcntl.h: Likewise. * linuxdev/include/asm-i386/floppy.h: Likewise. * linuxdev/include/asm-i386/ioctl.h: Likewise. * linuxdev/include/asm-i386/floppy.h: Likewise. * linuxdev/include/asm-i386/irq.h: Likewise. * linuxdev/include/asm-i386/processor.h: Likewise. * linuxdev/include/asm-i386/ptrace.h: Likewise. * linuxdev/include/asm-i386/resource.h: Likewise. * linuxdev/include/asm-i386/segment.h: Likewise. * linuxdev/include/asm-i386/sigcontext.h: Likewise. * linuxdev/include/asm-i386/signal.h: Likewise. * linuxdev/include/asm-i386/socket.h: Likewise. * linuxdev/include/asm-i386/statfs.h: Likewise. * linuxdev/include/asm-i386/string.h: Likewise. * linuxdev/include/asm-i386/system.h: Likewise. * linuxdev/include/asm-i386/termios.h: Likewise. * linuxdev/include/asm-i386/types.h: Likewise. * linuxdev/include/asm-i386/unistd.h: Likewise. * linuxdev/include/linux/autoconf.h: Likewise. * linuxdev/include/linux/binfmts.h: Likewise. * linuxdev/include/linux/bios32.h: Likewise. * linuxdev/include/linux/blk.h: Likewise. * linuxdev/include/linux/blkdev.h: Likewise. * linuxdev/include/linux/cdrom.h: Likewise. * linuxdev/include/linux/config.h: Likewise. * linuxdev/include/linux/etherdevice.h: Likewise. * linuxdev/include/linux/fd.h: Likewise. * linuxdev/include/linux/fdreg.h: Likewise. * linuxdev/include/linux/fs.h: Likewise. * linuxdev/include/linux/genhd.h: Likewise. * linuxdev/include/linux/hdreg.h: Likewise. * linuxdev/include/linux/if.h: Likewise. * linuxdev/include/linux/if_arp.h: Likewise. * linuxdev/include/linux/if_ether.h: Likewise. * linuxdev/include/linux/if_tr.h: Likewise. * linuxdev/include/linux/igmp.h: Likewise. * linuxdev/include/linux/in.h: Likewise. * linuxdev/include/linux/inet.h: Likewise. * linuxdev/include/linux/interrupt.h: Likewise. * linuxdev/include/linux/ioport.h: Likewise. * linuxdev/include/linux/ip.h: Likewise. * linuxdev/include/linux/kernel.h: Likewise. * linuxdev/include/linux/locks.h: Likewise. * linuxdev/include/linux/major.h: Likewise. * linuxdev/include/linux/malloc.h: Likewise. * linuxdev/include/linux/mc146818rtc.h: Likewise. * linuxdev/include/linux/mm.h: Likewise. * linuxdev/include/linux/module.h: Likewise. * linuxdev/include/linux/mount.h: Likewise. * linuxdev/include/linux/net.h: Likewise. * linuxdev/include/linux/netdevice.h: Likewise. * linuxdev/include/linux/nfs.h: Likewise. * linuxdev/include/linux/notifier.h: Likewise. * linuxdev/include/linux/pagemap.h: Likewise. * linuxdev/include/linux/pci.h: Likewise. * linuxdev/include/linux/personality.h: Likewise. * linuxdev/include/linux/proc_fs.h: Likewise. * linuxdev/include/linux/quota.h: Likewise. * linuxdev/include/linux/route.h: Likewise. * linuxdev/include/linux/sched.h: Likewise. * linuxdev/include/linux/skbuff.h: Likewise. * linuxdev/include/linux/socket.h: Likewise. * linuxdev/include/linux/sockios.h: Likewise. * linuxdev/include/linux/string.h: Likewise. * linuxdev/include/linux/time.h: Likewise. * linuxdev/include/linux/timer.h: Likewise. * linuxdev/include/linux/tqueue.h: Likewise. * linuxdev/include/linux/tty.h: Likewise. * linuxdev/include/linux/types.h: Likewise. * linuxdev/include/linux/uio.h: Likewise. * linuxdev/include/linux/version.h: Likewise. * linuxdev/include/linux/wait.h: Likewise. * linuxdev/include/net/af_unix.h: Likewise. * linuxdev/include/net/ax25.h: Likewise. * linuxdev/include/net/ax25call.h: Likewise. * linuxdev/include/net/icmp.h: Likewise. * linuxdev/include/net/ip.h: Likewise. * linuxdev/include/net/ip_alias.h: Likewise. * linuxdev/include/net/ip_forward.h: Likewise. * linuxdev/include/net/ipx.h: Likewise. * linuxdev/include/net/netlink.h: Likewise. * linuxdev/include/net/netrom.h: Likewise. * linuxdev/include/net/nrcall.h: Likewise. * linuxdev/include/net/p8022.h: Likewise. * linuxdev/include/net/protocol.h: Likewise. * linuxdev/include/net/psnap.h: Likewise. * linuxdev/include/net/raw.h: Likewise. * linuxdev/include/net/route.h: Likewise. * linuxdev/include/net/sock.h: Likewise. * linuxdev/include/net/tcp.h: Likewise. * linuxdev/include/net/udp.h: Likewise. 1998-11-06 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp> * i386/i386at/gpl/linux: Moved to ... * linuxdev: ... here. * i386/Makefrag: Linux drivers specific code moved to ... * linuxdev/Makefrag: ... here. * i386/Files: Recreated. * i386/Subdirs: Likewise. * linuxdev/drivers: New directory. * linuxdev/arch: Likewise. * linuxdev/arch/i386: Likewise. * linuxdev/{block,scsi,net,pci}: Moved to ... * linuxdev/drivers/{block,scsi,net,pci}: ... here. * i386/{Drivers.in,device-drivers.h.in,driverlist.in}: Moved to ... * linuxdev/{Drivers.in,device-drivers.h.in,driverlist.in}: ... here. * linuxdev/{linux_emul.h,linux_*.c}: Moved to ... * linuxdev/arch/i386/{linux_emul.h,linux_*.c}: ... here. * linuxdev/arch/i386/linux_block.c: Include <linux_emul.h>, instead of <i386at/gpl/linux/linux_emul.h>. * linuxdev/arch/i386/linux_init.c: Likewise. * linuxdev/arch/i386/linux_kmem.c: Likewise. * linuxdev/arch/i386/linux_misc.c: Likewise. * linuxdev/arch/i386/linux_net.c: Likewise. * linuxdev/arch/i386/linux_sched.c: Likewise. * device/ds_routines.c: Include <linuxdev/device-drivers.h>, instead of <i386/device-drivers.h>. * linuxdev/arch/i386/linux_init.c: Likewise. * linuxdev/include/linux/autoconf.h: Likewise. * Makefile.in: Include $(srcdir)/linuxdev/Makefrag. * linuxdev/Drivers.in (AC_INIT): Use include/linux/autoconf.h, instead of i386/i386asm.sym.
Diffstat (limited to 'i386/Makefrag')
-rw-r--r--i386/Makefrag99
1 files changed, 9 insertions, 90 deletions
diff --git a/i386/Makefrag b/i386/Makefrag
index 4e28e09..8336b01 100644
--- a/i386/Makefrag
+++ b/i386/Makefrag
@@ -1,5 +1,5 @@
# i386 Mach makefile fragment
-# Copyright 1997 Free Software Foundation, Inc.
+# Copyright 1997, 1999 Free Software Foundation, Inc.
#
# Permission to use, copy, modify and distribute this software and its
# documentation is hereby granted, provided that both the copyright
@@ -14,10 +14,10 @@
# Some of the i386-specific code checks for these.
-DEFINES += -DCONTINUATIONS -DLINUX_DEV -D__ELF__ -Di386
+DEFINES += -DCONTINUATIONS -D__ELF__ -Di386 -DLINUX_DEV
# Source files for any i386 kernel
-i386at-files = autoconf.c blit.c com.c conf.c cons_conf.c fd.c rtc.c \
+i386at-files = autoconf.c blit.c conf.c cons_conf.c fd.c rtc.c \
i386at_ds_routines.c immc.c int_init.c iopl.c kd.c kd_event.c \
kd_mouse.c kd_queue.c model_dep.c phys_mem_grab_page.c pic_isa.c
i386-files = ast_check.c db_disasm.c db_interface.c db_trace.c debug_i386.c \
@@ -51,77 +51,13 @@ ifeq ($(enable_kdb),yes)
objfiles += _setjmp.o
endif
-### Linux device drivers (make this Better, Please)
-
-linux-gen-files = $(addprefix linux_,$(linux-gen-names))
-linux-gen-names = autoirq.c block.c dma.c init.c irq.c kmem.c misc.c net.c \
- port.c printk.c sched.c soft.c timer.c version.c vsprintf.c
-
-linux-block-files = cmd640.c floppy.c genhd.c ide-cd.c ide.c rz1000.c triton.c
-
-linux-net-files = 3c501.c 3c503.c 3c505.c 3c507.c 3c509.c 3c59x.c \
- 8390.c Space.c ac3200.c apricot.c at1700.c atp.c \
- de4x5.c de600.c de620.c depca.c dev.c e2100.c eepro.c eexpress.c \
- eth16i.c ewrk3.c hp-plus.c hp.c hp100.c lance.c ne.c net_init.c \
- ni52.c ni65.c seeq8005.c sk_g16.c smc-ultra.c tulip.c \
- wavelan.c wd.c znet.c
-
-linux-pci-files = bios32.c pci.c
-
-linux-scsi-files = 53c78xx.c AM53C974.c BusLogic.c NCR53c406a.c advansys.c \
- aha152x.c aha1542.c aha1740.c aic7xxx.c constants.c eata.c eata_dma.c \
- eata_pio.c fdomain.c g_NCR5380.c hosts.c in2000.c pas16.c qlogic.c \
- scsi.c scsi_debug.c scsi_ioctl.c scsi_proc.c scsicam.c sd.c \
- sd_ioctl.c seagate.c sr.c sr_ioctl.c t128.c u14-34f.c \
- ultrastor.c wd7000.c
-
-all-linux-files = $(linux-gen-files) $(linux-block-files) \
- $(linux-net-files) $(linux-pci-files) $(linux-scsi-files)
-
-# These are always used.
-objfiles += $(subst .c,.o,$(filter-out linux_net.c,$(linux-gen-files)))
-objfiles += $(subst .c,.o,$(linux-pci-files)) genhd.o
-
-vpath %.c $(sysdep)/i386at/gpl/linux $(sysdep)/i386at/gpl/linux/block
-vpath %.c $(sysdep)/i386at/gpl/linux/net $(sysdep)/i386at/gpl/linux/pci
-vpath %.c $(sysdep)/i386at/gpl/linux/scsi
-
-# These files need special flags for compilation; each one will
-# have a variable like wd7000.c-linux-flags with those flags.
-CFLAGS += $($(<F)-linux-flags)
-
-# These flags are:
-# Instead of Mach's KERNEL, Linux uses __KERNEL__. Whee.
-# Arrange for special include directories too.
-# Because of the use of `extern inline' in some Linux header files without
-# corresponding text-segment definitions, we must always optimize.
-linux-spec-flags= -D__KERNEL__ -I$(sysdep)/i386at/gpl/linux \
- -I$(sysdep)/i386at/gpl/linux/include -O2
-
-# Here is where those specs are found.
--include linux-flags
-
-# How to make this file:
-
-linux-flags: $(sysdep)/Makefrag
- rm -f $@
- for i in $(all-linux-files); do \
- echo $$i-linux-flags '= $$(linux-spec-flags)' >> $@; \
- done
- echo 'linux-flags-done='$(all-linux-files) >> $@
-
-# If we haven't included `linux-flags' properly, then don't try and build
-# .d files.
-ifneq ($(linux-flags-done),$(all-linux-files))
-no_deps=t
-endif
-
-### End Linux device drivers grot
-
-
+# XXX: In i386, com is always enabled.
+objfiles += com.o
-include i386/driverlist
-objfiles += $(sort $(device_drivers))
+# This file is only needed for LPR support.
+ifeq ($(findstring -DMACH_LPR,@DEFS@),-DMACH_LPR)
+objfiles += lpr.o
+endif
@@ -162,23 +98,6 @@ i386-installed-headers= mach/proc_ops.h \
vm_types.h)
-# Autoconf support
-
-$(sysdep)/configure: $(sysdep)/Drivers.in $(srcdir)/Drivers.macros
- cd $(sysdep) && rm -f configure && autoconf Drivers.in > configure
-
-# Running config.status always creates driverlist, but
-# only touches device-drivers.h if it changed.
-$(systype)/device-drivers.h: $(systype)/driverlist
-$(systype)/driverlist: $(sysdep)/driverlist.in $(systype)/config.status
- cd $(systype) && ./config.status
-
-$(systype)/config.status: $(sysdep)/configure
- cd $(systype) && ./config.status --recheck
-
-
-
-
# Cheat, cheat, cheat.
fpe.o: fpe.b_elf
uudecode $<