Makefile.inc revision 30624
11590Srgrimes#	from @(#)Makefile.inc	8.3 (Berkeley) 2/4/95
21590Srgrimes#	$Id: Makefile.inc,v 1.12 1997/10/16 14:58:18 bde Exp $
31590Srgrimes
41590Srgrimes# machine-independent stdlib sources
51590Srgrimes.PATH: ${.CURDIR}/../libc/${MACHINE}/stdlib ${.CURDIR}/../libc/stdlib
61590Srgrimes
71590SrgrimesMISRCS+=abort.c abs.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c \
81590Srgrimes	exit.c getenv.c getopt.c getsubopt.c heapsort.c labs.c ldiv.c \
91590Srgrimes	malloc.c merge.c putenv.c qsort.c radixsort.c rand.c random.c \
101590Srgrimes	realpath.c setenv.c strhash.c strtod.c strtol.c strtoq.c strtoul.c \
111590Srgrimes	strtouq.c system.c
121590Srgrimes
131590Srgrimes# machine-dependent stdlib sources
141590Srgrimes.include "${.CURDIR}/../libc/${MACHINE}/stdlib/Makefile.inc"
151590Srgrimes
161590Srgrimes.if ${LIB} == "c"
171590SrgrimesMAN3+=	abort.3 abs.3 alloca.3 atexit.3 atof.3 atoi.3 atol.3 bsearch.3 \
181590Srgrimes	div.3 exit.3 getenv.3 getopt.3 getsubopt.3 labs.3 \
191590Srgrimes	ldiv.3 malloc.3 memory.3 qsort.3 radixsort.3 rand.3 random.3 \
201590Srgrimes	realpath.3 strtod.3 strtol.3 strtoul.3 system.3
211590Srgrimes
221590SrgrimesMLINKS+=getenv.3 putenv.3 getenv.3 setenv.3 getenv.3 unsetenv.3
231590SrgrimesMLINKS+=qsort.3 heapsort.3 qsort.3 mergesort.3
241590SrgrimesMLINKS+=rand.3 srand.3
251590SrgrimesMLINKS+=random.3 initstate.3 random.3 setstate.3 random.3 srandom.3 \
261590Srgrimes	random.3 srandomdev.3
271590SrgrimesMLINKS+=strtol.3 strtoq.3
281590SrgrimesMLINKS+=strtoul.3 strtouq.3
291590SrgrimesMLINKS+=malloc.3 calloc.3 malloc.3 free.3 malloc.3 realloc.3
301590Srgrimes.endif
311590Srgrimes