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*af3c7888SEd Schouten merge.c mergesort_b.c ptsname.c qsort.c qsort_r.c qsort_r_compat.c \ 15*af3c7888SEd Schouten qsort_s.c 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 217f8f79a5SConrad MeyerCFLAGS.qsort.c+= -Wsign-compare 227f8f79a5SConrad Meyer 23cb1cb6a2SMarcel Moolenaar# Work around an issue on case-insensitive file systems. 24cb1cb6a2SMarcel Moolenaar# libc has both _Exit.c and _exit.s and they both yield 25cb1cb6a2SMarcel Moolenaar# _exit.o (case insensitively speaking). 26cb1cb6a2SMarcel MoolenaarCLEANFILES+=C99_Exit.c 27cb1cb6a2SMarcel MoolenaarC99_Exit.c: ${LIBC_SRCTOP}/stdlib/_Exit.c .NOMETA 28cb1cb6a2SMarcel Moolenaar ln -sf ${.ALLSRC} ${.TARGET} 29cb1cb6a2SMarcel Moolenaar 308876613dSMarcel MoolenaarSYM_MAPS+= ${LIBC_SRCTOP}/stdlib/Symbol.map 316fad3aafSDaniel Eischen 3258f0484fSRodney W. Grimes# machine-dependent stdlib sources 338876613dSMarcel Moolenaar.sinclude "${LIBC_SRCTOP}/${LIBC_ARCH}/stdlib/Makefile.inc" 3458f0484fSRodney W. Grimes 35a4bd5210SJason EvansMAN+= a64l.3 abort.3 abs.3 alloca.3 atexit.3 atof.3 \ 369e16bab4SEd Schouten atoi.3 atol.3 at_quick_exit.3 bsearch.3 \ 37bc093719SEd Schouten div.3 exit.3 getenv.3 getopt.3 getopt_long.3 getsubopt.3 \ 38d3951ad1SJuli Mallett hcreate.3 imaxabs.3 imaxdiv.3 insque.3 labs.3 ldiv.3 llabs.3 lldiv.3 \ 39a4bd5210SJason Evans lsearch.3 memory.3 ptsname.3 qsort.3 \ 400a31efe0SDavid Chisnall quick_exit.3 \ 41540cc17fSKonstantin Belousov radixsort.3 rand.3 random.3 reallocarray.3 reallocf.3 realpath.3 \ 42540cc17fSKonstantin Belousov set_constraint_handler_s.3 \ 43540cc17fSKonstantin Belousov strfmon.3 strtod.3 strtol.3 strtonum.3 strtoul.3 system.3 \ 44c74dfa2fSAndre Oppermann tsearch.3 4558f0484fSRodney W. Grimes 46257551c6STom RhodesMLINKS+=a64l.3 l64a.3 a64l.3 l64a_r.3 4759d01330SAndrey A. ChernovMLINKS+=atol.3 atoll.3 48eca67d51SGarrett WollmanMLINKS+=exit.3 _Exit.3 49597b0267SMariusz ZaborskiMLINKS+=getenv.3 clearenv.3 getenv.3 putenv.3 getenv.3 setenv.3 \ 50597b0267SMariusz Zaborski getenv.3 unsetenv.3 51829a229dSAndrey A. ChernovMLINKS+=getopt_long.3 getopt_long_only.3 52ec7d1254SRuslan ErmilovMLINKS+=hcreate.3 hdestroy.3 hcreate.3 hsearch.3 539823a90cSPedro F. GiffuniMLINKS+=hcreate.3 hcreate_r.3 hcreate.3 hdestroy_r.3 hcreate.3 hsearch_r.3 54e768c1beSRobert DrehmelMLINKS+=insque.3 remque.3 556c84d0b1SRobert DrehmelMLINKS+=lsearch.3 lfind.3 563e7224dfSXin LIMLINKS+=ptsname.3 grantpt.3 ptsname.3 ptsname_r.3 ptsname.3 unlockpt.3 570d2fabfcSEdward Tomasz NapieralaMLINKS+=qsort.3 heapsort.3 qsort.3 mergesort.3 qsort.3 qsort_r.3 \ 580d2fabfcSEdward Tomasz Napierala qsort.3 qsort_s.3 59c62ff280SConrad MeyerMLINKS+=rand.3 rand_r.3 rand.3 srand.3 6092936d82SAndrey A. ChernovMLINKS+=random.3 initstate.3 random.3 setstate.3 random.3 srandom.3 \ 6192936d82SAndrey A. Chernov random.3 srandomdev.3 62cb30b9c5SRuslan ErmilovMLINKS+=radixsort.3 sradixsort.3 63540cc17fSKonstantin BelousovMLINKS+=set_constraint_handler_s.3 abort_handler_s.3 64540cc17fSKonstantin BelousovMLINKS+=set_constraint_handler_s.3 ignore_handler_s.3 653f19323aSIsabell LongMLINKS+=strfmon.3 strfmon_l.3 6663e6ca58STim J. RobbinsMLINKS+=strtod.3 strtof.3 strtod.3 strtold.3 679c5cbc30SBill FennerMLINKS+=strtol.3 strtoll.3 strtol.3 strtoq.3 strtol.3 strtoimax.3 689c5cbc30SBill FennerMLINKS+=strtoul.3 strtoull.3 strtoul.3 strtouq.3 strtoul.3 strtoumax.3 69681b009bSDima DorfmanMLINKS+=tsearch.3 tdelete.3 tsearch.3 tfind.3 tsearch.3 twalk.3 70