Makefile (281886) | Makefile (287227) |
---|---|
1# $FreeBSD: head/sys/boot/userboot/libstand/Makefile 281886 2015-04-23 14:04:33Z emaste $ | 1# $FreeBSD: head/sys/boot/userboot/libstand/Makefile 287227 2015-08-27 23:46:42Z imp $ |
2# Originally from $NetBSD: Makefile,v 1.21 1997/10/26 22:08:38 lukem Exp $ 3# 4# Notes: 5# - We don't use the libc strerror/sys_errlist because the string table is 6# quite large. 7# 8 9MAN= --- 7 unchanged lines hidden (view full) --- 17.PATH: ${LIBSTAND_SRC} 18LIB= stand 19INTERNALLIB= 20MK_PROFILE= no 21NO_PIC= 22 23WARNS?= 0 24 | 2# Originally from $NetBSD: Makefile,v 1.21 1997/10/26 22:08:38 lukem Exp $ 3# 4# Notes: 5# - We don't use the libc strerror/sys_errlist because the string table is 6# quite large. 7# 8 9MAN= --- 7 unchanged lines hidden (view full) --- 17.PATH: ${LIBSTAND_SRC} 18LIB= stand 19INTERNALLIB= 20MK_PROFILE= no 21NO_PIC= 22 23WARNS?= 0 24 |
25CFLAGS+= -ffreestanding -Wformat -fPIC 26CFLAGS+= -I${LIBSTAND_SRC} 27 28.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 29CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 30.endif 31.if ${MACHINE_CPUARCH} == "i386" 32CFLAGS.gcc+= -mpreferred-stack-boundary=2 33CFLAGS+= -mno-sse3 34.endif 35.if ${MACHINE} == "pc98" 36CFLAGS+= -Os 37.endif 38.if ${MACHINE_CPUARCH} == "powerpc" 39CFLAGS+= -msoft-float -D_STANDALONE -DNETIF_DEBUG 40.endif 41.if ${MACHINE_CPUARCH} == "arm" 42CFLAGS+= -msoft-float -D_STANDALONE 43.endif 44 | |
45# standalone components and stuff we have modified locally 46SRCS+= gzguts.h zutil.h __main.c assert.c bcd.c bswap.c environment.c getopt.c gets.c \ 47 globals.c pager.c printf.c strdup.c strerror.c strtol.c strtoul.c random.c \ 48 sbrk.c twiddle.c zalloc.c zalloc_malloc.c 49 50# private (pruned) versions of libc string functions 51SRCS+= strcasecmp.c 52 --- 94 unchanged lines hidden (view full) --- 147# network info services: 148SRCS+= bootp.c rarp.c bootparam.c 149 150# boot filesystems 151SRCS+= ufs.c nfs.c cd9660.c tftp.c gzipfs.c bzipfs.c 152SRCS+= dosfs.c ext2fs.c 153SRCS+= splitfs.c 154 | 25# standalone components and stuff we have modified locally 26SRCS+= gzguts.h zutil.h __main.c assert.c bcd.c bswap.c environment.c getopt.c gets.c \ 27 globals.c pager.c printf.c strdup.c strerror.c strtol.c strtoul.c random.c \ 28 sbrk.c twiddle.c zalloc.c zalloc_malloc.c 29 30# private (pruned) versions of libc string functions 31SRCS+= strcasecmp.c 32 --- 94 unchanged lines hidden (view full) --- 127# network info services: 128SRCS+= bootp.c rarp.c bootparam.c 129 130# boot filesystems 131SRCS+= ufs.c nfs.c cd9660.c tftp.c gzipfs.c bzipfs.c 132SRCS+= dosfs.c ext2fs.c 133SRCS+= splitfs.c 134 |
135.include <bsd.stand.mk> |
|
155.include <bsd.lib.mk> | 136.include <bsd.lib.mk> |