Deleted Added
full compact
Makefile (39203) Makefile (39665)
1# $Id: Makefile,v 1.2 1998/08/20 08:23:12 msmith Exp $
1# $Id: Makefile,v 1.3 1998/09/15 02:30:22 msmith Exp $
2#
3# Originally from $NetBSD: Makefile,v 1.21 1997/10/26 22:08:38 lukem Exp $
4#
5# Notes:
6# - We don't use the libc strerror/sys_errlist because the string table is
7# quite large.
8#
9
10LIB= stand
11NOPROFILE= YES
12NOPIC= YES
13MAN3= libstand.3
14
15# Mostly OK, some of the libc imports are a bit noisy
2#
3# Originally from $NetBSD: Makefile,v 1.21 1997/10/26 22:08:38 lukem Exp $
4#
5# Notes:
6# - We don't use the libc strerror/sys_errlist because the string table is
7# quite large.
8#
9
10LIB= stand
11NOPROFILE= YES
12NOPIC= YES
13MAN3= libstand.3
14
15# Mostly OK, some of the libc imports are a bit noisy
16CFLAGS+= -Wall
16CFLAGS+= -Wall -g
17
18.if ${MACHINE_ARCH} == "alpha"
19CFLAGS+= -mno-fp-regs
20.endif
21
22# standalone components and stuff we have modified locally
17
18.if ${MACHINE_ARCH} == "alpha"
19CFLAGS+= -mno-fp-regs
20.endif
21
22# standalone components and stuff we have modified locally
23SRCS+= __main.c alloc.c bcd.c bswap.c environment.c getopt.c gets.c \
24 globals.c pager.c printf.c strdup.c strerror.c strtol.c random.c \
25 twiddle.c
23SRCS+= __main.c bcd.c bswap.c environment.c getopt.c gets.c globals.c \
24 pager.c printf.c strdup.c strerror.c strtol.c random.c sbrk.c \
25 twiddle.c zalloc.c zalloc_malloc.c
26
26
27
27# string functions from libc
28.PATH: ${.CURDIR}/../libc/string
29.if ${MACHINE_ARCH} == "i386"
30SRCS+= bcmp.c bcopy.c bzero.c ffs.c index.c memccpy.c memchr.c memcmp.c \
31 memcpy.c memmove.c memset.c rindex.c strcasecmp.c strcat.c strchr.c \
32 strcmp.c strcpy.c strcspn.c strlen.c strncat.c strncmp.c strncpy.c \
33 strpbrk.c strrchr.c strsep.c strspn.c strstr.c strtok.c swab.c
34.endif

--- 82 unchanged lines hidden ---
28# string functions from libc
29.PATH: ${.CURDIR}/../libc/string
30.if ${MACHINE_ARCH} == "i386"
31SRCS+= bcmp.c bcopy.c bzero.c ffs.c index.c memccpy.c memchr.c memcmp.c \
32 memcpy.c memmove.c memset.c rindex.c strcasecmp.c strcat.c strchr.c \
33 strcmp.c strcpy.c strcspn.c strlen.c strncat.c strncmp.c strncpy.c \
34 strpbrk.c strrchr.c strsep.c strspn.c strstr.c strtok.c swab.c
35.endif

--- 82 unchanged lines hidden ---