1 # from @(#)Makefile.inc 8.3 (Berkeley) 2/4/95
2 # $FreeBSD: src/lib/libc/stdlib/Makefile.inc,v 1.56 2008/10/17 08:30:20 netchild Exp $
4 # machine-independent stdlib sources
5 .PATH: ${.CURDIR}/../libc/${MACHINE_ARCH}/stdlib ${.CURDIR}/../libc/stdlib
7 CMAPS+= ${.CURDIR}/stdlib/Symbol.map
9 MISRCS+=a64l.c abort.c abs.c atexit.c \
10 atof.c atoi.c atol.c atoll.c \
11 bsearch.c cxa_thread_atexit_impl.c \
12 div.c exit.c freezero.c \
13 getenv.c getopt.c getopt_long.c \
14 getsubopt.c hcreate.c heapsort.c imaxabs.c imaxdiv.c \
15 insque.c l64a.c labs.c ldiv.c llabs.c lldiv.c lsearch.c \
16 merge.c ptsname.c qsort.c qsort_r.c quick_exit.c \
17 radixsort.c rand.c random.c \
18 reallocarray.c reallocf.c realpath.c recallocarray.c remque.c \
19 strfmon.c strsuftoll.c strtoimax.c \
20 strtol.c strtoll.c strtonum.c strtoq.c strtoul.c strtoull.c \
21 strtoumax.c strtouq.c system.c tdelete.c tfind.c tsearch.c twalk.c
23 # dmalloc has a leak somewhere and is eating up too much
24 # memory in long-running programs, and also doesn't do cache
25 # coloring for large allocations. Use nmalloc for now.
27 #.if ${MACHINE_ARCH} == "x86_64"
33 # machine-dependent stdlib sources
34 .if exists(${.CURDIR}/../libc/${MACHINE_ARCH}/stdlib/Makefile.inc)
35 .include "${.CURDIR}/../libc/${MACHINE_ARCH}/stdlib/Makefile.inc"
39 MAN+= a64l.3 abort.3 abs.3 alloca.3 atexit.3 atof.3 atoi.3 atol.3 \
42 div.3 exit.3 getenv.3 getopt.3 getopt_long.3 getsubopt.3 \
43 hcreate.3 imaxabs.3 imaxdiv.3 insque.3 labs.3 ldiv.3 llabs.3 lldiv.3 \
44 lsearch.3 malloc.3 memory.3 posix_memalign.3 posix_openpt.3 \
45 ptsname.3 qsort.3 quick_exit.3 \
46 radixsort.3 rand.3 random.3 realpath.3 reallocarray.3 \
47 strfmon.3 strsuftoll.3 strtod.3 strtol.3 strtonum.3 strtoul.3 system.3 \
50 MLINKS+=a64l.3 l64a.3 \
52 MLINKS+=atof.3 atof_l.3
53 MLINKS+=atoi.3 atoi_l.3
54 MLINKS+=atol.3 atol_l.3 \
57 MLINKS+=exit.3 _Exit.3
58 MLINKS+=getenv.3 putenv.3 \
61 MLINKS+=getopt_long.3 getopt_long_only.3
62 MLINKS+=hcreate.3 hdestroy.3 \
64 MLINKS+=insque.3 remque.3
65 MLINKS+=lsearch.3 lfind.3
66 MLINKS+=malloc.3 calloc.3 \
71 MLINKS+=posix_memalign.3 aligned_alloc.3
72 MLINKS+=ptsname.3 grantpt.3 \
74 MLINKS+=qsort.3 heapsort.3 \
77 MLINKS+=radixsort.3 sradixsort.3
78 MLINKS+=reallocarray.3 recallocarray.3
79 MLINKS+=rand.3 rand_r.3 \
82 MLINKS+=random.3 initstate.3 \
86 MLINKS+=strfmon.3 strfmon_l.3
87 MLINKS+=strsuftoll.3 strsuftollx.3
88 MLINKS+=strtod.3 strtod_l.3 \
93 MLINKS+=strtol.3 strtoimax.3 \
94 strtol.3 strtoimax_l.3 \
97 strtol.3 strtoll_l.3 \
99 MLINKS+=strtoul.3 strtoul_l.3 \
100 strtoul.3 strtoull.3 \
101 strtoul.3 strtoull_l.3 \
102 strtoul.3 strtoumax.3 \
103 strtoul.3 strtoumax_l.3 \
105 MLINKS+=tsearch.3 tdelete.3 \