187003932SJohn Birrell# from @(#)Makefile.inc 8.3 (Berkeley) 2/4/95 27f3dea24SPeter Wemm# $FreeBSD$ 358f0484fSRodney W. Grimes 458f0484fSRodney W. Grimes# machine-independent stdlib sources 56af88557SJohn Birrell.PATH: ${.CURDIR}/../libc/${MACHINE_ARCH}/stdlib ${.CURDIR}/../libc/stdlib 658f0484fSRodney W. Grimes 7eca67d51SGarrett WollmanMISRCS+=_Exit.c abort.c abs.c atexit.c atof.c atoi.c atol.c atoll.c \ 89c5cbc30SBill Fenner bsearch.c calloc.c div.c exit.c getenv.c getopt.c \ 99c5cbc30SBill Fenner getsubopt.c hcreate.c heapsort.c imaxabs.c imaxdiv.c \ 109c5cbc30SBill Fenner labs.c ldiv.c llabs.c lldiv.c malloc.c merge.c putenv.c \ 11eca67d51SGarrett Wollman qsort.c qsort_r.c radixsort.c rand.c random.c reallocf.c realpath.c \ 126464bbfaSPeter Wemm setenv.c strfmon.c strhash.c strtod.c strtoimax.c strtol.c strtoll.c \ 139c5cbc30SBill Fenner strtoq.c strtoul.c strtoull.c strtoumax.c strtouq.c system.c \ 149d430a59SAlexey Zelkin tdelete.c tfind.c tsearch.c twalk.c 1558f0484fSRodney W. Grimes 1658f0484fSRodney W. Grimes# machine-dependent stdlib sources 17545d3208SMark Peek.if exists(${.CURDIR}/../libc/${MACHINE_ARCH}/stdlib/Makefile.inc) 186af88557SJohn Birrell.include "${.CURDIR}/../libc/${MACHINE_ARCH}/stdlib/Makefile.inc" 19545d3208SMark Peek.endif 2058f0484fSRodney W. Grimes 2187003932SJohn Birrell.if ${LIB} == "c" 224a558355SRuslan ErmilovMAN+= abort.3 abs.3 alloca.3 atexit.3 atof.3 atoi.3 atol.3 bsearch.3 \ 237a4a6327SMike Barcroft div.3 exit.3 getenv.3 getopt.3 getsubopt.3 hcreate.3 \ 247a4a6327SMike Barcroft imaxabs.3 imaxdiv.3 labs.3 ldiv.3 llabs.3 lldiv.3 \ 257a4a6327SMike Barcroft malloc.3 memory.3 qsort.3 radixsort.3 rand.3 random.3 \ 268c9893a3SJeroen Ruigrok van der Werven realpath.3 strfmon.3 strtod.3 strtol.3 strtoul.3 system.3 tsearch.3 2758f0484fSRodney W. Grimes 2859d01330SAndrey A. ChernovMLINKS+=atol.3 atoll.3 29eca67d51SGarrett WollmanMLINKS+=exit.3 _Exit.3 30b966cc23SBruce EvansMLINKS+=getenv.3 putenv.3 getenv.3 setenv.3 getenv.3 unsetenv.3 31ec7d1254SRuslan ErmilovMLINKS+=hcreate.3 hdestroy.3 hcreate.3 hsearch.3 32eca67d51SGarrett WollmanMLINKS+=qsort.3 heapsort.3 qsort.3 mergesort.3 qsort.3 qsort_r.3 3374825256SAndrey A. ChernovMLINKS+=rand.3 rand_r.3 rand.3 srand.3 rand.3 sranddev.3 3492936d82SAndrey A. ChernovMLINKS+=random.3 initstate.3 random.3 setstate.3 random.3 srandom.3 \ 3592936d82SAndrey A. Chernov random.3 srandomdev.3 369c5cbc30SBill FennerMLINKS+=strtol.3 strtoll.3 strtol.3 strtoq.3 strtol.3 strtoimax.3 379c5cbc30SBill FennerMLINKS+=strtoul.3 strtoull.3 strtoul.3 strtouq.3 strtoul.3 strtoumax.3 3894ad719cSWarner LoshMLINKS+=malloc.3 calloc.3 malloc.3 free.3 malloc.3 realloc.3 malloc.3 reallocf.3 39681b009bSDima DorfmanMLINKS+=tsearch.3 tdelete.3 tsearch.3 tfind.3 tsearch.3 twalk.3 4087003932SJohn Birrell.endif 41