Deleted Added
full compact
Makefile (86091) Makefile (96306)
1# $FreeBSD: head/sys/boot/i386/libi386/Makefile 86091 2001-11-05 18:58:33Z jhb $
1# $FreeBSD: head/sys/boot/i386/libi386/Makefile 96306 2002-05-10 00:53:45Z obrien $
2#
3LIB= i386
4NOPIC=
5NOPROFILE=
6INTERNALLIB= true
7INTERNALSTATICLIB= true
8
9SRCS= aout_freebsd.c biosacpi.c bioscd.c biosdisk.c biosmem.c biospnp.c \
10 biospci.c bootinfo.c comconsole.c devicename.c elf_freebsd.c gatea20.c \
11 i386_copy.c i386_module.c nullconsole.c pxe.c pxetramp.s \
12 time.c vidconsole.c
13
2#
3LIB= i386
4NOPIC=
5NOPROFILE=
6INTERNALLIB= true
7INTERNALSTATICLIB= true
8
9SRCS= aout_freebsd.c biosacpi.c bioscd.c biosdisk.c biosmem.c biospnp.c \
10 biospci.c bootinfo.c comconsole.c devicename.c elf_freebsd.c gatea20.c \
11 i386_copy.c i386_module.c nullconsole.c pxe.c pxetramp.s \
12 time.c vidconsole.c
13
14CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \
15 -I${.CURDIR}/../../../contrib/dev/acpica \
16 -I${.CURDIR}/../../.. -I.
17
14CFLAGS+= -ffreestanding
18BOOT_COMCONSOLE_PORT?= 0x3f8
19CFLAGS+= -DCOMPORT=${BOOT_COMCONSOLE_PORT}
20
21BOOT_COMCONSOLE_SPEED?= 9600
22CFLAGS+= -DCOMSPEED=${BOOT_COMCONSOLE_SPEED}
23
15BOOT_COMCONSOLE_PORT?= 0x3f8
16CFLAGS+= -DCOMPORT=${BOOT_COMCONSOLE_PORT}
17
18BOOT_COMCONSOLE_SPEED?= 9600
19CFLAGS+= -DCOMSPEED=${BOOT_COMCONSOLE_SPEED}
20
24# the location of libstand
25CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
26
27.ifdef(BOOT_BIOSDISK_DEBUG)
28# Make the disk code more talkative
29CFLAGS+= -DDISK_DEBUG
30.endif
31
32# Include simple terminal emulation (cons25-compatible)
33CFLAGS+= -DTERM_EMU
34
21.ifdef(BOOT_BIOSDISK_DEBUG)
22# Make the disk code more talkative
23CFLAGS+= -DDISK_DEBUG
24.endif
25
26# Include simple terminal emulation (cons25-compatible)
27CFLAGS+= -DTERM_EMU
28
29CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../btx/lib \
30 -I${.CURDIR}/../../../contrib/dev/acpica \
31 -I${.CURDIR}/../../.. -I.
32# the location of libstand
33CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
34
35# Make "machine" required for all objects
36# (based on the more complete case in sys/i386/boot/Makefile.inc)
37${SRCS:M*.c:R:S/$/.o/g}: machine
38
39# If it's not there, don't consider it a target
40.if exists(${.CURDIR}/../../../i386/include)
41beforedepend ${OBJS}: machine
42
43machine:
44 ln -sf ${.CURDIR}/../../../i386/include machine
45
46.endif
47
48CLEANFILES+= machine
49
50.include <bsd.lib.mk>
35# Make "machine" required for all objects
36# (based on the more complete case in sys/i386/boot/Makefile.inc)
37${SRCS:M*.c:R:S/$/.o/g}: machine
38
39# If it's not there, don't consider it a target
40.if exists(${.CURDIR}/../../../i386/include)
41beforedepend ${OBJS}: machine
42
43machine:
44 ln -sf ${.CURDIR}/../../../i386/include machine
45
46.endif
47
48CLEANFILES+= machine
49
50.include <bsd.lib.mk>