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 getenv.c getopt.c getopt_long.c \
13 getsubopt.c hcreate.c heapsort.c imaxabs.c imaxdiv.c \
14 insque.c l64a.c labs.c ldiv.c llabs.c lldiv.c lsearch.c \
15 merge.c ptsname.c qsort.c qsort_r.c quick_exit.c \
16 radixsort.c rand.c random.c \
17 reallocarray.c reallocf.c realpath.c remque.c \
18 strfmon.c strsuftoll.c strtoimax.c \
19 strtol.c strtoll.c strtonum.c strtoq.c strtoul.c strtoull.c \
20 strtoumax.c strtouq.c system.c tdelete.c tfind.c tsearch.c twalk.c
22 # dmalloc has a leak somewhere and is eating up too much
23 # memory in long-running programs, and also doesn't do cache
24 # coloring for large allocations. Use nmalloc for now.
26 #.if ${MACHINE_ARCH} == "x86_64"
32 # machine-dependent stdlib sources
33 .if exists(${.CURDIR}/../libc/${MACHINE_ARCH}/stdlib/Makefile.inc)
34 .include "${.CURDIR}/../libc/${MACHINE_ARCH}/stdlib/Makefile.inc"
38 MAN+= a64l.3 abort.3 abs.3 alloca.3 atexit.3 atof.3 atoi.3 atol.3 \
41 div.3 exit.3 getenv.3 getopt.3 getopt_long.3 getsubopt.3 \
42 hcreate.3 imaxabs.3 imaxdiv.3 insque.3 labs.3 ldiv.3 llabs.3 lldiv.3 \
43 lsearch.3 malloc.3 memory.3 posix_memalign.3 posix_openpt.3 \
44 ptsname.3 qsort.3 quick_exit.3 \
45 radixsort.3 rand.3 random.3 realpath.3 reallocarray.3 \
46 strfmon.3 strsuftoll.3 strtod.3 strtol.3 strtonum.3 strtoul.3 system.3 \
49 MLINKS+=a64l.3 l64a.3 \
51 MLINKS+=atof.3 atof_l.3
52 MLINKS+=atoi.3 atoi_l.3
53 MLINKS+=atol.3 atol_l.3 \
56 MLINKS+=exit.3 _Exit.3
57 MLINKS+=getenv.3 putenv.3 \
60 MLINKS+=getopt_long.3 getopt_long_only.3
61 MLINKS+=hcreate.3 hdestroy.3 \
63 MLINKS+=insque.3 remque.3
64 MLINKS+=lsearch.3 lfind.3
65 MLINKS+=malloc.3 calloc.3 \
69 MLINKS+=posix_memalign.3 aligned_alloc.3
70 MLINKS+=ptsname.3 grantpt.3 \
72 MLINKS+=qsort.3 heapsort.3 \
75 MLINKS+=radixsort.3 sradixsort.3
76 MLINKS+=rand.3 rand_r.3 \
79 MLINKS+=random.3 initstate.3 \
83 MLINKS+=strfmon.3 strfmon_l.3
84 MLINKS+=strsuftoll.3 strsuftollx.3
85 MLINKS+=strtod.3 strtod_l.3 \
90 MLINKS+=strtol.3 strtoimax.3 \
91 strtol.3 strtoimax_l.3 \
94 strtol.3 strtoll_l.3 \
96 MLINKS+=strtoul.3 strtoul_l.3 \
97 strtoul.3 strtoull.3 \
98 strtoul.3 strtoull_l.3 \
99 strtoul.3 strtoumax.3 \
100 strtoul.3 strtoumax_l.3 \
102 MLINKS+=tsearch.3 tdelete.3 \