summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/Makefile.inc
diff options
context:
space:
mode:
authorderaadt <>2014-05-08 21:43:49 +0000
committerderaadt <>2014-05-08 21:43:49 +0000
commit83d3c0e95b4ce510dc22db2810b8fc5d0519c62a (patch)
tree1d9743371c4b33d13148b360c6d2c060b9fde4f3 /src/lib/libc/stdlib/Makefile.inc
parenta49a66e5a8cd320f37c7d1125ca667a27f5e1ad6 (diff)
downloadopenbsd-83d3c0e95b4ce510dc22db2810b8fc5d0519c62a.tar.gz
openbsd-83d3c0e95b4ce510dc22db2810b8fc5d0519c62a.tar.bz2
openbsd-83d3c0e95b4ce510dc22db2810b8fc5d0519c62a.zip
move reallocarray() to a seperate file so that -portable applications
can avoid reinventing the wheel ok guenther schwarze
Diffstat (limited to 'src/lib/libc/stdlib/Makefile.inc')
-rw-r--r--src/lib/libc/stdlib/Makefile.inc13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/lib/libc/stdlib/Makefile.inc b/src/lib/libc/stdlib/Makefile.inc
index 83b42c34e3..80c3e5f5a1 100644
--- a/src/lib/libc/stdlib/Makefile.inc
+++ b/src/lib/libc/stdlib/Makefile.inc
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile.inc,v 1.52 2014/04/22 14:26:26 tedu Exp $ 1# $OpenBSD: Makefile.inc,v 1.53 2014/05/08 21:43:49 deraadt Exp $
2 2
3# stdlib sources 3# stdlib sources
4.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/stdlib ${LIBCSRCDIR}/stdlib 4.PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/stdlib ${LIBCSRCDIR}/stdlib
@@ -6,11 +6,12 @@
6SRCS+= a64l.c abort.c atexit.c atoi.c atof.c atol.c atoll.c bsearch.c \ 6SRCS+= a64l.c abort.c atexit.c atoi.c atof.c atol.c atoll.c bsearch.c \
7 cfree.c exit.c ecvt.c gcvt.c getenv.c getopt_long.c \ 7 cfree.c exit.c ecvt.c gcvt.c getenv.c getopt_long.c \
8 getsubopt.c hcreate.c heapsort.c imaxabs.c imaxdiv.c l64a.c llabs.c \ 8 getsubopt.c hcreate.c heapsort.c imaxabs.c imaxdiv.c l64a.c llabs.c \
9 lldiv.c lsearch.c malloc.c merge.c posix_pty.c qsort.c radixsort.c \ 9 lldiv.c lsearch.c malloc.c reallocarray.c merge.c posix_pty.c \
10 rand.c random.c realpath.c setenv.c strtoimax.c strtol.c \ 10 qsort.c radixsort.c rand.c random.c realpath.c setenv.c strtoimax.c \
11 strtoll.c strtonum.c strtoul.c strtoull.c strtoumax.c system.c \ 11 strtol.c strtoll.c strtonum.c strtoul.c strtoull.c strtoumax.c \
12 tfind.c tsearch.c _rand48.c drand48.c erand48.c jrand48.c lcong48.c \ 12 system.c tfind.c tsearch.c _rand48.c drand48.c erand48.c jrand48.c \
13 lrand48.c mrand48.c nrand48.c seed48.c srand48.c qabs.c qdiv.c _Exit.c 13 lcong48.c lrand48.c mrand48.c nrand48.c seed48.c srand48.c qabs.c \
14 qdiv.c _Exit.c
14 15
15.if (${MACHINE_CPU} == "i386") 16.if (${MACHINE_CPU} == "i386")
16SRCS+= abs.S div.S labs.S ldiv.S 17SRCS+= abs.S div.S labs.S ldiv.S