xref: /freebsd/lib/libc/stdlib/Makefile.inc (revision e768c1be41aefcb7cf8fb19b12cf21d523dc4cdf)
187003932SJohn Birrell#	from @(#)Makefile.inc	8.3 (Berkeley) 2/4/95
27f3dea24SPeter Wemm# $FreeBSD$
358f0484fSRodney W. Grimes
458f0484fSRodney W. Grimes# machine-independent stdlib sources
56af88557SJohn Birrell.PATH: ${.CURDIR}/../libc/${MACHINE_ARCH}/stdlib ${.CURDIR}/../libc/stdlib
658f0484fSRodney W. Grimes
7eca67d51SGarrett WollmanMISRCS+=_Exit.c abort.c abs.c atexit.c atof.c atoi.c atol.c atoll.c \
8a35a7e76SEric Melville	bsearch.c calloc.c div.c exit.c getenv.c getopt.c getopt_long.c \
9e768c1beSRobert Drehmel	getsubopt.c hcreate.c heapsort.c imaxabs.c imaxdiv.c insque.c \
109c5cbc30SBill Fenner	labs.c ldiv.c llabs.c lldiv.c malloc.c merge.c putenv.c \
11eca67d51SGarrett Wollman	qsort.c qsort_r.c radixsort.c rand.c random.c reallocf.c realpath.c \
12e768c1beSRobert Drehmel	remque.c setenv.c strfmon.c strhash.c strtod.c strtoimax.c strtol.c \
13e768c1beSRobert Drehmel	strtoll.c strtoq.c strtoul.c strtoull.c strtoumax.c strtouq.c \
14e768c1beSRobert Drehmel	system.c tdelete.c tfind.c tsearch.c twalk.c
1558f0484fSRodney W. Grimes
1658f0484fSRodney W. Grimes# machine-dependent stdlib sources
17545d3208SMark Peek.if exists(${.CURDIR}/../libc/${MACHINE_ARCH}/stdlib/Makefile.inc)
186af88557SJohn Birrell.include "${.CURDIR}/../libc/${MACHINE_ARCH}/stdlib/Makefile.inc"
19545d3208SMark Peek.endif
2058f0484fSRodney W. Grimes
2187003932SJohn Birrell.if ${LIB} == "c"
224a558355SRuslan ErmilovMAN+=	abort.3 abs.3 alloca.3 atexit.3 atof.3 atoi.3 atol.3 bsearch.3 \
23a35a7e76SEric Melville	div.3 exit.3 getenv.3 getopt.3 getopt_long.3 getsubopt.3 hcreate.3 \
24e768c1beSRobert Drehmel	imaxabs.3 imaxdiv.3 insque.3 labs.3 ldiv.3 llabs.3 lldiv.3 \
257a4a6327SMike Barcroft	malloc.3 memory.3 qsort.3 radixsort.3 rand.3 random.3 \
268c9893a3SJeroen Ruigrok van der Werven	realpath.3 strfmon.3 strtod.3 strtol.3 strtoul.3 system.3 tsearch.3
2758f0484fSRodney W. Grimes
2859d01330SAndrey A. ChernovMLINKS+=atol.3 atoll.3
29eca67d51SGarrett WollmanMLINKS+=exit.3 _Exit.3
30b966cc23SBruce EvansMLINKS+=getenv.3 putenv.3 getenv.3 setenv.3 getenv.3 unsetenv.3
31ec7d1254SRuslan ErmilovMLINKS+=hcreate.3 hdestroy.3 hcreate.3 hsearch.3
32e768c1beSRobert DrehmelMLINKS+=insque.3 remque.3
33eca67d51SGarrett WollmanMLINKS+=qsort.3 heapsort.3 qsort.3 mergesort.3 qsort.3 qsort_r.3
3474825256SAndrey A. ChernovMLINKS+=rand.3 rand_r.3 rand.3 srand.3 rand.3 sranddev.3
3592936d82SAndrey A. ChernovMLINKS+=random.3 initstate.3 random.3 setstate.3 random.3 srandom.3 \
3692936d82SAndrey A. Chernov	random.3 srandomdev.3
379c5cbc30SBill FennerMLINKS+=strtol.3 strtoll.3 strtol.3 strtoq.3 strtol.3 strtoimax.3
389c5cbc30SBill FennerMLINKS+=strtoul.3 strtoull.3 strtoul.3 strtouq.3 strtoul.3 strtoumax.3
3994ad719cSWarner LoshMLINKS+=malloc.3 calloc.3 malloc.3 free.3 malloc.3 realloc.3 malloc.3 reallocf.3
40681b009bSDima DorfmanMLINKS+=tsearch.3 tdelete.3 tsearch.3 tfind.3 tsearch.3 twalk.3
4187003932SJohn Birrell.endif
42