Makefile (161526) | Makefile (164053) |
---|---|
1# $FreeBSD: head/lib/libstand/Makefile 161526 2006-08-22 08:03:01Z ru $ | 1# $FreeBSD: head/lib/libstand/Makefile 164053 2006-11-06 22:07:47Z cognet $ |
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 9LIB= stand --- 22 unchanged lines hidden (view full) --- 32# standalone components and stuff we have modified locally 33SRCS+= zutil.h __main.c assert.c bcd.c bswap.c environment.c getopt.c gets.c \ 34 globals.c pager.c printf.c strdup.c strerror.c strtol.c random.c \ 35 sbrk.c twiddle.c zalloc.c zalloc_malloc.c 36 37# private (pruned) versions of libc string functions 38SRCS+= strcasecmp.c 39 | 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 9LIB= stand --- 22 unchanged lines hidden (view full) --- 32# standalone components and stuff we have modified locally 33SRCS+= zutil.h __main.c assert.c bcd.c bswap.c environment.c getopt.c gets.c \ 34 globals.c pager.c printf.c strdup.c strerror.c strtol.c random.c \ 35 sbrk.c twiddle.c zalloc.c zalloc_malloc.c 36 37# private (pruned) versions of libc string functions 38SRCS+= strcasecmp.c 39 |
40# byte order functions from libc 41.if ${MACHINE_ARCH} != "amd64" 42.PATH: ${.CURDIR}/../libc/${MACHINE_ARCH}/net 43.else 44.PATH: ${.CURDIR}/../libc/i386/net 45.endif 46SRCS+= htons.S ntohs.S htonl.S ntohl.S | 40.PATH: ${.CURDIR}/../libc/net |
47 | 41 |
42SRCS+= ntoh.c 43 |
|
48# string functions from libc 49.PATH: ${.CURDIR}/../libc/string 50.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc" || \ 51 ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "amd64" 52SRCS+= bcmp.c bcopy.c bzero.c ffs.c index.c memccpy.c memchr.c memcmp.c \ 53 memcpy.c memmove.c memset.c qdivrem.c rindex.c strcat.c strchr.c \ 54 strcmp.c strcpy.c strcspn.c strlen.c strncat.c strncmp.c strncpy.c \ 55 strpbrk.c strrchr.c strsep.c strspn.c strstr.c strtok.c swab.c --- 94 unchanged lines hidden --- | 44# string functions from libc 45.PATH: ${.CURDIR}/../libc/string 46.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc" || \ 47 ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "amd64" 48SRCS+= bcmp.c bcopy.c bzero.c ffs.c index.c memccpy.c memchr.c memcmp.c \ 49 memcpy.c memmove.c memset.c qdivrem.c rindex.c strcat.c strchr.c \ 50 strcmp.c strcpy.c strcspn.c strlen.c strncat.c strncmp.c strncpy.c \ 51 strpbrk.c strrchr.c strsep.c strspn.c strstr.c strtok.c swab.c --- 94 unchanged lines hidden --- |