Cross Reference: Makefile
xref: /src/sys/arch/i386/stand/lib/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/sys/arch/i386/stand/lib/
Makefile revision 1.15
1#	$NetBSD: Makefile,v 1.15 2000/05/11 16:05:51 jdolecek Exp $
2
3S?=	${.CURDIR}/../../../../
4
5LIB= i386
6MKPIC=no
7MKPROFILE=no
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
18# For PS/2 hardware
19# CPPFLAGS+= -DIBM_L40
20
21SRCS= pcio.c conio.S comio.S comio_direct.c biosvideomode.S
22SRCS+= getsecs.c biosgetrtc.S biosdelay.S biosreboot.S gatea20.c
23SRCS+= biosmem.S getextmemx.c biosmemx.S printmemlist.c
24SRCS+= pread.c menuutils.c parseutils.c
25SRCS+= bootinfo.c bootinfo_biosgeom.c bootinfo_memmap.c
26SRCS+= startprog.S netbsd_opts.c panic.c
27.if (${I386_INCLUDE_DISK} == "yes")
28SRCS+= biosdisk.c biosdisk_ll.c bios_disk.S
29.endif
30.if (${I386_INCLUDE_DOS} == "yes")
31SRCS+= dosfile.c dos_file.S
32.endif
33.if (${I386_INCLUDE_DISK} == "yes") || (${I386_INCLUDE_DOS} == "yes")
34SRCS+= diskbuf.c
35.endif
36.if (${I386_INCLUDE_BUS} == "yes")
37SRCS+= biospci.c bios_pci.S isapnp.c isadma.c
38.endif
39
40.include <bsd.lib.mk>
41
42lib${LIB}.o:: ${OBJS}
43	@echo building standard ${LIB} library
44	@rm -f lib${LIB}.o
45	@${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort`
46

Indexes created Wed Dec 17 08:09:36 GMT 2025