Makefile.inc revision 1.8
11.4Smycroft#	from: @(#)Makefile.inc	5.6 (Berkeley) 6/4/91
21.8Sjtc#	$Id: Makefile.inc,v 1.8 1993/10/08 00:08:12 jtc Exp $
31.1Scgd
41.1Scgd# stdlib sources
51.6Scgd.PATH: ${.CURDIR}/arch/${MACHINE}/stdlib ${.CURDIR}/stdlib
61.1Scgd
71.8SjtcSRCS+=	abort.c atexit.c atoi.c atol.c bsearch.c calloc.c div.c exit.c \
81.8Sjtc	getenv.c getopt.c heapsort.c ldiv.c malloc.c multibyte.c \
91.2Scgd	putenv.c qsort.c radixsort.c rand.c random.c setenv.c strtod.c \
101.7Sbrezak	strtol.c strtoul.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.1Scgd.if   (${MACHINE} == "hp300")
151.8SjtcSRCS+=	abs.s labs.c atof.c
161.1Scgd.elif (${MACHINE} == "i386")
171.8SjtcSRCS+=	abs.s labs.s atof.c
181.5Sphil.elif (${MACHINE} == "pc532")
191.8SjtcSRCS+=	abs.s labs.c atof.c
201.1Scgd.elif (${MACHINE} == "tahoe")
211.8SjtcSRCS+=	abs.s labs.c atof.s
221.1Scgd.elif (${MACHINE} == "vax")
231.8SjtcSRCS+=	abs.s labs.c atof.s
241.8Sjtc.else
251.8SjtcSRCS+=	abs.c labs.c atof.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.1Scgd	malloc.0 memory.0 qsort.0 radixsort.0 rand.0 random.0 realloc.0 \
311.1Scgd	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.1ScgdMLINKS+=random.3 initstate.3 random.3 setstate.3 random.3 srandom.3
37