Makefile revision 1.4
1# $NetBSD: Makefile,v 1.4 1997/08/14 15:40:28 drochner Exp $ 2 3S?= ${.CURDIR}/../../../../ 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 biosreboot.S gatea20.c 20SRCS+= biosmem.S getextmemx.c biosmemx.S 21SRCS+= pread.c 22SRCS+= exec.c startprog.S netbsd_opts.c panic.c 23.if (${I386_INCLUDE_DISK} == "yes") 24SRCS+= biosdisk.c biosdisk_ll.c bios_disk.S 25.endif 26.if (${I386_INCLUDE_DOS} == "yes") 27SRCS+= dosfile.c dos_file.S 28.endif 29.if (${I386_INCLUDE_DISK} == "yes") || (${I386_INCLUDE_DOS} == "yes") 30SRCS+= diskbuf.c 31.endif 32.if (${I386_INCLUDE_BUS} == "yes") 33SRCS+= biospci.c bios_pci.S isapnp.c isadma.c 34.endif 35 36.include <bsd.lib.mk> 37 38lib${LIB}.o:: ${OBJS} 39 @echo building standard ${LIB} library 40 @rm -f lib${LIB}.o 41 @${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort` 42