xref: /freebsd/lib/libc/stdlib/Makefile.inc (revision 92936d823feb01eb18f993a4377ca8597769403b)
14381233dSPeter Wemm#	@(#)Makefile.inc	8.3 (Berkeley) 2/4/95
258f0484fSRodney W. Grimes
358f0484fSRodney W. Grimes# machine-independent stdlib sources
458f0484fSRodney W. Grimes.PATH: ${.CURDIR}/${MACHINE}/stdlib ${.CURDIR}/stdlib
558f0484fSRodney W. Grimes
658f0484fSRodney W. GrimesSRCS+=	abort.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c \
747968671SJordan K. Hubbard	exit.c getenv.c getopt.c getsubopt.c strhash.c heapsort.c labs.c \
847968671SJordan K. Hubbard	ldiv.c malloc.c merge.c putenv.c qsort.c radixsort.c rand.c random.c \
9098f04f5SPeter Wemm	realpath.c setenv.c strtod.c strtol.c strtoq.c strtoul.c \
1058f0484fSRodney W. Grimes	strtouq.c system.c
1158f0484fSRodney W. Grimes
1258f0484fSRodney W. Grimes# machine-dependent stdlib sources
1358f0484fSRodney W. Grimes.include "${.CURDIR}/${MACHINE}/stdlib/Makefile.inc"
1458f0484fSRodney W. Grimes
152ceb2ce9SGarrett WollmanMAN3+=	stdlib/abort.3 stdlib/abs.3 stdlib/alloca.3 stdlib/atexit.3 \
162ceb2ce9SGarrett Wollman	stdlib/atof.3 stdlib/atoi.3 stdlib/atol.3 stdlib/bsearch.3 \
1781df7b69SPoul-Henning Kamp	stdlib/calloc.3 stdlib/div.3 stdlib/exit.3 \
182ceb2ce9SGarrett Wollman	stdlib/getenv.3 stdlib/getopt.3 stdlib/getsubopt.3 stdlib/labs.3 \
192ceb2ce9SGarrett Wollman	stdlib/ldiv.3 stdlib/malloc.3 stdlib/memory.3 stdlib/qsort.3 \
2081df7b69SPoul-Henning Kamp	stdlib/radixsort.3 stdlib/rand.3 stdlib/random.3 \
21098f04f5SPeter Wemm	stdlib/realpath.3 stdlib/strtod.3 stdlib/strtol.3 stdlib/strtoul.3 \
222ceb2ce9SGarrett Wollman	stdlib/system.3
2358f0484fSRodney W. Grimes
2458f0484fSRodney W. GrimesMLINKS+=getenv.3 setenv.3 getenv.3 unsetenv.3 getenv.3 putenv.3
2558f0484fSRodney W. GrimesMLINKS+=qsort.3 heapsort.3 qsort.3 mergesort.3
2658f0484fSRodney W. GrimesMLINKS+=rand.3 srand.3
2792936d82SAndrey A. ChernovMLINKS+=random.3 initstate.3 random.3 setstate.3 random.3 srandom.3 \
2892936d82SAndrey A. Chernov	random.3 srandomdev.3
2958f0484fSRodney W. GrimesMLINKS+=strtol.3 strtoq.3
3058f0484fSRodney W. GrimesMLINKS+=strtoul.3 strtouq.3
3181df7b69SPoul-Henning KampMLINKS+=malloc.3 free.3 malloc.3 realloc.3
32