Makefile.inc revision 1.19
11.4Smycroft#	from: @(#)Makefile.inc	5.6 (Berkeley) 6/4/91
21.19Smycroft#	$Id: Makefile.inc,v 1.19 1994/05/17 12:44:06 mycroft Exp $
31.1Scgd
41.1Scgd# stdlib sources
51.14Scgd.PATH: ${.CURDIR}/arch/${MACHINE_ARCH}/stdlib ${.CURDIR}/stdlib
61.1Scgd
71.18SjtcSRCS+=	a64l.c abort.c atexit.c atoi.c atof.c atol.c bsearch.c calloc.c \
81.18Sjtc	cfree.c exit.c getenv.c getopt.c heapsort.c l64a.c malloc.c \
91.19Smycroft	multibyte.c putenv.c qsort.c radixsort.c rand.c random.c realpath.c \
101.19Smycroft	setenv.c strtod.c strtol.c strtoq.c strtoul.c strtouq.c system.c \
111.7Sbrezak	_rand48.c drand48.c erand48.c jrand48.c lcong48.c lrand48.c \
121.7Sbrezak	mrand48.c nrand48.c seed48.c srand48.c
131.1Scgd
141.16Sbriggs.if   (${MACHINE_ARCH} == "m68k")
151.18SjtcSRCS+=	abs.S div.c labs.c ldiv.c
161.14Scgd.elif (${MACHINE_ARCH} == "i386")
171.18SjtcSRCS+=	abs.S div.S labs.S ldiv.S
181.15Scgd.elif (${MACHINE_ARCH} == "ns32k")
191.18SjtcSRCS+=	abs.S div.c labs.c ldiv.c
201.14Scgd.elif (${MACHINE_ARCH} == "tahoe")
211.18SjtcSRCS+=	abs.S div.c labs.c ldiv.c
221.14Scgd.elif (${MACHINE_ARCH} == "vax")
231.18SjtcSRCS+=	abs.S div.c labs.c ldiv.c
241.8Sjtc.else
251.18SjtcSRCS+=	abs.c div.c labs.c ldiv.c
261.1Scgd.endif
271.1Scgd
281.1ScgdMAN3+=	abort.0 abs.0 alloca.0 atexit.0 atof.0 atoi.0 atol.0 bsearch.0 \
291.1Scgd	calloc.0 div.0 exit.0 free.0 getenv.0 getopt.0 labs.0 ldiv.0 \
301.12Scgd	malloc.0 memory.0 qsort.0 radixsort.0 rand48.0 rand.0 random.0 \
311.19Smycroft	realloc.0 realpath.0 strtod.0 strtol.0 strtoul.0 system.0
321.1Scgd
331.1ScgdMLINKS+=getenv.3 setenv.3 getenv.3 unsetenv.3 getenv.3 putenv.3
341.1ScgdMLINKS+=qsort.3 heapsort.3
351.1ScgdMLINKS+=rand.3 srand.3
361.17SjtcMLINKS+=strtol.3 strtoq.3
371.17SjtcMLINKS+=strtoul.3 strtouq.3
381.1ScgdMLINKS+=random.3 initstate.3 random.3 setstate.3 random.3 srandom.3
391.10SjtcMLINKS+=rand48.3 drand48.3 rand48.3 erand48.3 rand48.3 lrand48.3
401.10SjtcMLINKS+=rand48.3 mrand48.3 rand48.3 nrand48.3 rand48.3 jrand48.3
411.10SjtcMLINKS+=rand48.3 srand48.3 rand48.3 seed48.3 rand48.3 lcong48.3
42