Makefile revision 1.1
1# $NetBSD: Makefile,v 1.1 1997/03/14 02:40:33 perry Exp $ 2 3S?= ../../../../ 4 5LIB= i386 6NOPIC= 7NOPROFILE= 8 9I386_INCLUDE_DISK?= yes 10I386_INCLUDE_DOS?= no 11I386_INCLUDE_BUS?= no 12 13CPPFLAGS= -I$S/lib/libsa ${I386CPPFLAGS} ${I386MISCCPPFLAGS} 14#CPPFLAGS+= -DDISK_DEBUG 15#CPPFLAGS+= -DNO_DISKLABEL 16#CPPFLAGS+= -DSAVE_MEMORY 17 18SRCS= pcio.c conio.S comio.S 19SRCS+= getsecs.c biosgetrtc.S biosdelay.S biosmem.S gatea20.c 20SRCS+= pread.c 21SRCS+= exec.c startprog.S netbsd_opts.c panic.c 22.if (${I386_INCLUDE_DISK} == "yes") 23SRCS+= biosdisk.c biosdisk_ll.c bios_disk.S 24.endif 25.if (${I386_INCLUDE_DOS} == "yes") 26SRCS+= dosfile.c dos_file.S 27.endif 28.if (${I386_INCLUDE_DISK} == "yes") || (${I386_INCLUDE_DOS} == "yes") 29SRCS+= diskbuf.c 30.endif 31.if (${I386_INCLUDE_BUS} == "yes") 32SRCS+= biospci.c bios_pci.S isapnp.c isadma.c 33.endif 34 35.include <bsd.lib.mk> 36 37lib${LIB}.o:: ${OBJS} 38 @echo building standard ${LIB} library 39 @rm -f lib${LIB}.o 40 @${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort` 41