1 2.include <bsd.init.mk> 3 4LIB= i386 5 6SRCS+= amd64_tramp.S 7SRCS+= bio.c 8SRCS+= biosacpi.c 9SRCS+= biosdisk.c 10SRCS+= biosmem.c 11SRCS+= biospci.c 12SRCS+= biospnp.c 13SRCS+= biossmap.c 14SRCS+= bootinfo.c 15SRCS+= bootinfo32.c 16SRCS+= bootinfo64.c 17SRCS+= comconsole.c 18SRCS+= devicename.c 19SRCS+= elf32_freebsd.c 20SRCS+= elf64_freebsd.c 21SRCS+= i386_copy.c 22SRCS+= i386_module.c 23SRCS+= multiboot.c 24SRCS+= multiboot_tramp.S 25SRCS+= nullconsole.c 26SRCS+= pxe.c 27SRCS+= pxetramp.S 28SRCS+= relocater_tramp.S 29SRCS+= spinconsole.c 30SRCS+= time.c 31SRCS+= textvidc.c 32SRCS+= vbe.c 33SRCS+= vidconsole.c 34 35.PATH: ${SYSDIR}/teken 36SRCS+= teken.c 37 38.include "${BOOTSRC}/veriexec.mk" 39 40BOOT_COMCONSOLE_PORT?= 0x3f8 41CFLAGS+= -DCOMPORT=${BOOT_COMCONSOLE_PORT} 42 43BOOT_COMCONSOLE_SPEED?= 115200 44CFLAGS+= -DCOMSPEED=${BOOT_COMCONSOLE_SPEED} 45 46.ifdef(BOOT_BIOSDISK_DEBUG) 47# Make the disk code more talkative 48CFLAGS.biosdisk.c+= -DDISK_DEBUG 49.endif 50 51# terminal emulation 52.if ${BOOT_FRAMEBUFFER_MODE:Uno} == "yes" 53CFLAGS.vidconsole.c+= -DFRAMEBUFFER_MODE 54.endif 55CFLAGS.vidconsole.c+= -I${SRCTOP}/sys/teken -I${SRCTOP}/contrib/pnglite 56CFLAGS.teken.c+= -I${SRCTOP}/sys/teken 57CFLAGS.bootinfo.c+= -I${SRCTOP}/sys/teken -I${SRCTOP}/contrib/pnglite 58CFLAGS.vbe.c+= -I${SRCTOP}/sys/teken -I${SRCTOP}/contrib/pnglite 59 60CFLAGS.textvidc.c+= -DTERM_EMU 61 62CFLAGS+= -I${LDRSRC} -I${BOOTSRC}/i386/common \ 63 -I${SYSDIR}/contrib/dev/acpica/include 64 65# Handle FreeBSD specific %b and %D printf format specifiers 66CFLAGS+= ${FORMAT_EXTENSIONS} 67 68.include <bsd.lib.mk> 69