Makefile (281886) | Makefile (287227) |
---|---|
1# $FreeBSD: head/sys/boot/libstand32/Makefile 281886 2015-04-23 14:04:33Z emaste $ | 1# $FreeBSD: head/sys/boot/libstand32/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 26CFLAGS+= -I${LIBSTAND_SRC} 27 28.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 29CFLAGS.gcc+= -mpreferred-stack-boundary=2 30CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float 31.endif 32.if ${MACHINE} == "pc98" 33CFLAGS+= -Os 34.endif 35.if ${MACHINE_CPUARCH} == "powerpc" 36CFLAGS+= -msoft-float -D_STANDALONE -DNETIF_DEBUG 37.endif 38.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "powerpc64" 39CFLAGS+= -m32 -I. 40.endif 41.if ${MACHINE_CPUARCH} == "arm" 42CFLAGS+= -msoft-float -D_STANDALONE 43.endif 44.if ${MACHINE_CPUARCH} == "mips" 45CFLAGS+= -G0 -fno-pic -mno-abicalls 46.endif 47 | |
48# standalone components and stuff we have modified locally 49SRCS+= gzguts.h zutil.h __main.c assert.c bcd.c bswap.c environment.c getopt.c gets.c \ 50 globals.c pager.c printf.c strdup.c strerror.c strtol.c strtoul.c random.c \ 51 sbrk.c twiddle.c zalloc.c zalloc_malloc.c 52 53# private (pruned) versions of libc string functions 54SRCS+= strcasecmp.c 55 --- 103 unchanged lines hidden (view full) --- 159SRCS+= ufs.c nfs.c cd9660.c tftp.c gzipfs.c bzipfs.c 160SRCS+= dosfs.c ext2fs.c 161SRCS+= splitfs.c 162SRCS+= pkgfs.c 163.if ${MK_NAND} != "no" 164SRCS+= nandfs.c 165.endif 166 | 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 --- 103 unchanged lines hidden (view full) --- 136SRCS+= ufs.c nfs.c cd9660.c tftp.c gzipfs.c bzipfs.c 137SRCS+= dosfs.c ext2fs.c 138SRCS+= splitfs.c 139SRCS+= pkgfs.c 140.if ${MK_NAND} != "no" 141SRCS+= nandfs.c 142.endif 143 |
144.include <bsd.stand.mk> |
|
167.include <bsd.lib.mk> 168 169.if ${MACHINE_CPUARCH} == "amd64" 170CLEANFILES+= machine 171beforedepend ${OBJS}: machine 172machine: 173 ln -fs ${.CURDIR}/../../i386/include machine 174.endif | 145.include <bsd.lib.mk> 146 147.if ${MACHINE_CPUARCH} == "amd64" 148CLEANFILES+= machine 149beforedepend ${OBJS}: machine 150machine: 151 ln -fs ${.CURDIR}/../../i386/include machine 152.endif |