187003932SJohn Birrell# from @(#)Makefile.inc 8.3 (Berkeley) 2/4/95 27f3dea24SPeter Wemm# $FreeBSD$ 358f0484fSRodney W. Grimes 458f0484fSRodney W. Grimes# machine-independent stdlib sources 58876613dSMarcel Moolenaar.PATH: ${LIBC_SRCTOP}/${LIBC_ARCH}/stdlib ${LIBC_SRCTOP}/stdlib 658f0484fSRodney W. Grimes 7cb1cb6a2SMarcel MoolenaarMISRCS+=C99_Exit.c a64l.c abort.c abs.c atexit.c atof.c atoi.c atol.c atoll.c \ 8b7c7684aSKonstantin Belousov bsearch.c \ 9b7c7684aSKonstantin Belousov cxa_thread_atexit.c cxa_thread_atexit_impl.c \ 10b7c7684aSKonstantin Belousov div.c exit.c getenv.c getopt.c getopt_long.c \ 112747eff1SEd Schouten getsubopt.c hcreate.c hcreate_r.c hdestroy_r.c heapsort.c heapsort_b.c \ 122747eff1SEd Schouten hsearch_r.c imaxabs.c imaxdiv.c \ 13a4bd5210SJason Evans insque.c l64a.c labs.c ldiv.c llabs.c lldiv.c lsearch.c \ 14*0d2fabfcSEdward Tomasz Napierala merge.c mergesort_b.c ptsname.c qsort.c qsort_r.c qsort_s.c \ 15*0d2fabfcSEdward Tomasz Napierala quick_exit.c radixsort.c rand.c \ 169851b340SKonstantin Belousov random.c reallocarray.c reallocf.c realpath.c remque.c \ 179851b340SKonstantin Belousov set_constraint_handler_s.c strfmon.c strtoimax.c \ 185fe6063dSWarner Losh strtol.c strtold.c strtoll.c strtoq.c strtoul.c strtonum.c strtoull.c \ 192966d28cSSean Farley strtoumax.c strtouq.c system.c tdelete.c tfind.c tsearch.c twalk.c 2058f0484fSRodney W. Grimes 21cb1cb6a2SMarcel Moolenaar# Work around an issue on case-insensitive file systems. 22cb1cb6a2SMarcel Moolenaar# libc has both _Exit.c and _exit.s and they both yield 23cb1cb6a2SMarcel Moolenaar# _exit.o (case insensitively speaking). 24cb1cb6a2SMarcel MoolenaarCLEANFILES+=C99_Exit.c 25cb1cb6a2SMarcel MoolenaarC99_Exit.c: ${LIBC_SRCTOP}/stdlib/_Exit.c .NOMETA 26cb1cb6a2SMarcel Moolenaar ln -sf ${.ALLSRC} ${.TARGET} 27cb1cb6a2SMarcel Moolenaar 288876613dSMarcel MoolenaarSYM_MAPS+= ${LIBC_SRCTOP}/stdlib/Symbol.map 296fad3aafSDaniel Eischen 3058f0484fSRodney W. Grimes# machine-dependent stdlib sources 318876613dSMarcel Moolenaar.sinclude "${LIBC_SRCTOP}/${LIBC_ARCH}/stdlib/Makefile.inc" 3258f0484fSRodney W. Grimes 33a4bd5210SJason EvansMAN+= a64l.3 abort.3 abs.3 alloca.3 atexit.3 atof.3 \ 349e16bab4SEd Schouten atoi.3 atol.3 at_quick_exit.3 bsearch.3 \ 35bc093719SEd Schouten div.3 exit.3 getenv.3 getopt.3 getopt_long.3 getsubopt.3 \ 36d3951ad1SJuli Mallett hcreate.3 imaxabs.3 imaxdiv.3 insque.3 labs.3 ldiv.3 llabs.3 lldiv.3 \ 37a4bd5210SJason Evans lsearch.3 memory.3 ptsname.3 qsort.3 \ 380a31efe0SDavid Chisnall quick_exit.3 \ 39540cc17fSKonstantin Belousov radixsort.3 rand.3 random.3 reallocarray.3 reallocf.3 realpath.3 \ 40540cc17fSKonstantin Belousov set_constraint_handler_s.3 \ 41540cc17fSKonstantin Belousov strfmon.3 strtod.3 strtol.3 strtonum.3 strtoul.3 system.3 \ 42c74dfa2fSAndre Oppermann tsearch.3 4358f0484fSRodney W. Grimes 44257551c6STom RhodesMLINKS+=a64l.3 l64a.3 a64l.3 l64a_r.3 4559d01330SAndrey A. ChernovMLINKS+=atol.3 atoll.3 46eca67d51SGarrett WollmanMLINKS+=exit.3 _Exit.3 47b966cc23SBruce EvansMLINKS+=getenv.3 putenv.3 getenv.3 setenv.3 getenv.3 unsetenv.3 48829a229dSAndrey A. ChernovMLINKS+=getopt_long.3 getopt_long_only.3 49ec7d1254SRuslan ErmilovMLINKS+=hcreate.3 hdestroy.3 hcreate.3 hsearch.3 509823a90cSPedro F. GiffuniMLINKS+=hcreate.3 hcreate_r.3 hcreate.3 hdestroy_r.3 hcreate.3 hsearch_r.3 51e768c1beSRobert DrehmelMLINKS+=insque.3 remque.3 526c84d0b1SRobert DrehmelMLINKS+=lsearch.3 lfind.3 53bc093719SEd SchoutenMLINKS+=ptsname.3 grantpt.3 ptsname.3 unlockpt.3 54*0d2fabfcSEdward Tomasz NapieralaMLINKS+=qsort.3 heapsort.3 qsort.3 mergesort.3 qsort.3 qsort_r.3 \ 55*0d2fabfcSEdward Tomasz Napierala qsort.3 qsort_s.3 56c62ff280SConrad MeyerMLINKS+=rand.3 rand_r.3 rand.3 srand.3 5792936d82SAndrey A. ChernovMLINKS+=random.3 initstate.3 random.3 setstate.3 random.3 srandom.3 \ 5892936d82SAndrey A. Chernov random.3 srandomdev.3 59cb30b9c5SRuslan ErmilovMLINKS+=radixsort.3 sradixsort.3 60540cc17fSKonstantin BelousovMLINKS+=set_constraint_handler_s.3 abort_handler_s.3 61540cc17fSKonstantin BelousovMLINKS+=set_constraint_handler_s.3 ignore_handler_s.3 623f19323aSIsabell LongMLINKS+=strfmon.3 strfmon_l.3 6363e6ca58STim J. RobbinsMLINKS+=strtod.3 strtof.3 strtod.3 strtold.3 649c5cbc30SBill FennerMLINKS+=strtol.3 strtoll.3 strtol.3 strtoq.3 strtol.3 strtoimax.3 659c5cbc30SBill FennerMLINKS+=strtoul.3 strtoull.3 strtoul.3 strtouq.3 strtoul.3 strtoumax.3 66681b009bSDima DorfmanMLINKS+=tsearch.3 tdelete.3 tsearch.3 tfind.3 tsearch.3 twalk.3 67