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.19
1#	$NetBSD: Makefile,v 1.19 2001/11/14 23:01:14 tv Exp $
2
3S?=	${.CURDIR}/../../../../
4
5LIB= i386
6MKPIC=no
7MKPROFILE=no
8
9I386_INCLUDE_DISK?= yes
10I386_INCLUDE_DOS?= no
11I386_INCLUDE_BUS?= no
12I386_INCLUDE_PS2?= yes
13
14CPPFLAGS= -I$S/lib/libsa ${I386CPPFLAGS} ${I386MISCCPPFLAGS}
15#CPPFLAGS+= -DDISK_DEBUG
16#CPPFLAGS+= -DNO_DISKLABEL
17#CPPFLAGS+= -DSAVE_MEMORY
18
19SRCS= pcio.c conio.S comio.S comio_direct.c biosvideomode.S
20SRCS+= getsecs.c biosgetrtc.S biosdelay.S biosreboot.S gatea20.c
21SRCS+= biosmem.S getextmemx.c biosmemx.S printmemlist.c
22SRCS+= pread.c menuutils.c parseutils.c
23SRCS+= bootinfo.c bootinfo_biosgeom.c bootinfo_memmap.c
24SRCS+= startprog.S panic.c
25.if (${I386_INCLUDE_DISK} == "yes")
26SRCS+= biosdisk.c biosdisk_ll.c bios_disk.S
27.endif
28.if (${I386_INCLUDE_DOS} == "yes")
29SRCS+= dosfile.c dos_file.S
30.endif
31.if (${I386_INCLUDE_DISK} == "yes") || (${I386_INCLUDE_DOS} == "yes")
32SRCS+= diskbuf.c
33.endif
34.if (${I386_INCLUDE_BUS} == "yes")
35SRCS+= biospci.c bios_pci.S isapnp.c isadma.c
36.endif
37.if (${I386_INCLUDE_PS2} == "yes")
38SRCS+= biosmca.S
39.endif
40
41.include <bsd.own.mk>
42.undef DESTDIR
43.include <bsd.lib.mk>
44
45lib${LIB}.o:: ${OBJS}
46	@echo building standard ${LIB} library
47	@rm -f lib${LIB}.o
48	@${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort`
49

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