Makefile (260096) | Makefile (271135) |
---|---|
1# $FreeBSD: stable/10/lib/libstand/Makefile 260096 2013-12-30 20:15:46Z dim $ | 1# $FreeBSD: stable/10/lib/libstand/Makefile 271135 2014-09-04 21:01:10Z emaste $ |
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 9.include <bsd.own.mk> --- 6 unchanged lines hidden (view full) --- 16MAN= libstand.3 17 18WARNS?= 0 19 20CFLAGS+= -ffreestanding -Wformat 21CFLAGS+= -I${.CURDIR} 22 23.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" | 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 9.include <bsd.own.mk> --- 6 unchanged lines hidden (view full) --- 16MAN= libstand.3 17 18WARNS?= 0 19 20CFLAGS+= -ffreestanding -Wformat 21CFLAGS+= -I${.CURDIR} 22 23.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" |
24CFLAGS.gcc+= -mpreferred-stack-boundary=2 | |
25CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float 26.endif | 24CFLAGS+= -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float 25.endif |
26.if ${MACHINE_CPUARCH} == "i386" 27CFLAGS.gcc+= -mpreferred-stack-boundary=2 28.endif 29.if ${MACHINE_CPUARCH} == "amd64" 30CFLAGS+= -fPIC 31.endif |
|
27.if ${MACHINE} == "pc98" 28CFLAGS+= -Os 29.endif 30.if ${MACHINE_CPUARCH} == "powerpc" 31CFLAGS+= -msoft-float -D_STANDALONE -DNETIF_DEBUG 32.endif | 32.if ${MACHINE} == "pc98" 33CFLAGS+= -Os 34.endif 35.if ${MACHINE_CPUARCH} == "powerpc" 36CFLAGS+= -msoft-float -D_STANDALONE -DNETIF_DEBUG 37.endif |
33.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "powerpc64" 34CFLAGS+= -m32 -I. 35.endif | |
36.if ${MACHINE_CPUARCH} == "arm" 37CFLAGS+= -msoft-float -D_STANDALONE 38.endif 39.if ${MACHINE_CPUARCH} == "mips" 40CFLAGS+= -G0 -fno-pic -mno-abicalls 41.endif 42 43# standalone components and stuff we have modified locally --- 54 unchanged lines hidden (view full) --- 98SRCS+= syncicache.c 99.endif 100 101# uuid functions from libc 102.PATH: ${.CURDIR}/../libc/uuid 103SRCS+= uuid_equal.c uuid_is_nil.c 104 105# _setjmp/_longjmp | 38.if ${MACHINE_CPUARCH} == "arm" 39CFLAGS+= -msoft-float -D_STANDALONE 40.endif 41.if ${MACHINE_CPUARCH} == "mips" 42CFLAGS+= -G0 -fno-pic -mno-abicalls 43.endif 44 45# standalone components and stuff we have modified locally --- 54 unchanged lines hidden (view full) --- 100SRCS+= syncicache.c 101.endif 102 103# uuid functions from libc 104.PATH: ${.CURDIR}/../libc/uuid 105SRCS+= uuid_equal.c uuid_is_nil.c 106 107# _setjmp/_longjmp |
106.if ${MACHINE_CPUARCH} == "amd64" 107.PATH: ${.CURDIR}/i386 108.elif ${MACHINE_ARCH} == "powerpc64" | 108.if ${MACHINE_ARCH} == "powerpc64" |
109.PATH: ${.CURDIR}/powerpc 110.else 111.PATH: ${.CURDIR}/${MACHINE_CPUARCH} 112.endif 113SRCS+= _setjmp.S 114 115# decompression functionality from libbz2 116# NOTE: to actually test this functionality after libbz2 upgrade compile --- 57 unchanged lines hidden (view full) --- 174SRCS+= dosfs.c ext2fs.c 175SRCS+= splitfs.c 176.if ${MK_NAND} != "no" 177SRCS+= nandfs.c 178.endif 179 180.include <bsd.lib.mk> 181 | 109.PATH: ${.CURDIR}/powerpc 110.else 111.PATH: ${.CURDIR}/${MACHINE_CPUARCH} 112.endif 113SRCS+= _setjmp.S 114 115# decompression functionality from libbz2 116# NOTE: to actually test this functionality after libbz2 upgrade compile --- 57 unchanged lines hidden (view full) --- 174SRCS+= dosfs.c ext2fs.c 175SRCS+= splitfs.c 176.if ${MK_NAND} != "no" 177SRCS+= nandfs.c 178.endif 179 180.include <bsd.lib.mk> 181 |
182.if ${MACHINE_CPUARCH} == "amd64" 183beforedepend ${OBJS}: machine 184cleandepend: cleanmachine 185cleanmachine: 186 rm -f machine 187 188machine: 189 ln -s ${.CURDIR}/../../sys/i386/include machine 190.endif | |