Makefile.inc revision 62321
140006Sphk# from @(#)Makefile.inc 8.3 (Berkeley) 2/4/95 240006Sphk# $FreeBSD: head/lib/libc/stdlib/Makefile.inc 62321 2000-07-01 06:55:11Z alfred $ 340006Sphk 440006Sphk# machine-independent stdlib sources 540006Sphk.PATH: ${.CURDIR}/../libc/${MACHINE_ARCH}/stdlib ${.CURDIR}/../libc/stdlib 650472Speter 740006SphkMISRCS+=abort.c abs.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c \ 840006Sphk exit.c getenv.c getopt.c getsubopt.c heapsort.c labs.c ldiv.c \ 940006Sphk malloc.c merge.c putenv.c qsort.c radixsort.c rand.c random.c \ 1040006Sphk reallocf.c realpath.c setenv.c strhash.c strtol.c strtoq.c strtoul.c \ 1140006Sphk strtouq.c system.c tdelete.c tfind.c tsearch.c twalk.c 1240006Sphk 1351231Ssheldonh.if ${MACHINE_ARCH} == "alpha" 1451231Ssheldonh# XXX Temporary until the assumption that a long is 32-bits is resolved 1551231Ssheldonh# XXX FreeBSD's code. NetBSD kludged this with Long = int32_t and 1651231Ssheldonh# XXX ULong = u_int32_t 1751231SsheldonhSRCS+= netbsd_strtod.c 1851231Ssheldonh.else 1951231SsheldonhSRCS+= strtod.c 2051231Ssheldonh.endif 2151231Ssheldonh 2251231Ssheldonh# machine-dependent stdlib sources 2351231Ssheldonh.include "${.CURDIR}/../libc/${MACHINE_ARCH}/stdlib/Makefile.inc" 2451231Ssheldonh 2551231Ssheldonh.if ${LIB} == "c" 2651231SsheldonhMAN3+= abort.3 abs.3 alloca.3 atexit.3 atof.3 atoi.3 atol.3 bsearch.3 \ 2740006Sphk div.3 exit.3 getenv.3 getopt.3 getsubopt.3 labs.3 \ 2851231Ssheldonh ldiv.3 malloc.3 memory.3 qsort.3 radixsort.3 rand.3 random.3 \ 2951231Ssheldonh realpath.3 strtod.3 strtol.3 strtoul.3 system.3 tsearch.3 3051231Ssheldonh 3140006SphkMLINKS+=getenv.3 putenv.3 getenv.3 setenv.3 getenv.3 unsetenv.3 3240006SphkMLINKS+=qsort.3 heapsort.3 qsort.3 mergesort.3 3351231SsheldonhMLINKS+=rand.3 rand_r.3 rand.3 srand.3 3451231SsheldonhMLINKS+=random.3 initstate.3 random.3 setstate.3 random.3 srandom.3 \ 3551231Ssheldonh random.3 srandomdev.3 3640006SphkMLINKS+=strtol.3 strtoq.3 3740006SphkMLINKS+=strtoul.3 strtouq.3 3851231SsheldonhMLINKS+=malloc.3 calloc.3 malloc.3 free.3 malloc.3 realloc.3 malloc.3 reallocf.3 3951231Ssheldonh.endif 4051231Ssheldonh