Makefile.inc revision 194703
1193323Sed#	from @(#)Makefile.inc	8.3 (Berkeley) 2/4/95
2193323Sed# $FreeBSD: head/lib/libc/stdlib/Makefile.inc 194703 2009-06-23 14:10:46Z ed $
3193323Sed
4193323Sed# machine-independent stdlib sources
5193323Sed.PATH: ${.CURDIR}/${MACHINE_ARCH}/stdlib ${.CURDIR}/stdlib
6193323Sed
7193323SedMISRCS+=_Exit.c a64l.c abort.c abs.c atexit.c atof.c atoi.c atol.c atoll.c \
8193323Sed	bsearch.c div.c exit.c getenv.c getopt.c getopt_long.c \
9193323Sed	getsubopt.c hcreate.c heapsort.c imaxabs.c imaxdiv.c \
10193323Sed	insque.c l64a.c labs.c ldiv.c llabs.c lldiv.c lsearch.c malloc.c \
11193323Sed	merge.c ptsname.c qsort.c qsort_r.c radixsort.c rand.c random.c \
12193323Sed	reallocf.c realpath.c remque.c strfmon.c strtoimax.c \
13193323Sed	strtol.c strtoll.c strtoq.c strtoul.c strtonum.c strtoull.c \
14193323Sed        strtoumax.c strtouq.c system.c tdelete.c tfind.c tsearch.c twalk.c
15193323Sed
16193323SedSYM_MAPS+= ${.CURDIR}/stdlib/Symbol.map
17193323Sed
18193323Sed# machine-dependent stdlib sources
19249423Sdim.sinclude "${.CURDIR}/${MACHINE_ARCH}/stdlib/Makefile.inc"
20249423Sdim
21193323SedMAN+=	a64l.3 abort.3 abs.3 alloca.3 atexit.3 atof.3 atoi.3 atol.3 bsearch.3 \
22193323Sed	div.3 exit.3 getenv.3 getopt.3 getopt_long.3 getsubopt.3 \
23198892Srdivacky	hcreate.3 imaxabs.3 imaxdiv.3 insque.3 labs.3 ldiv.3 llabs.3 lldiv.3 \
24218893Sdim	lsearch.3 malloc.3 memory.3 posix_memalign.3 ptsname.3 qsort.3 \
25249423Sdim	radixsort.3 rand.3 random.3 \
26249423Sdim	realpath.3 strfmon.3 strtod.3 strtol.3 strtonum.3 strtoul.3 system.3 \
27249423Sdim	tsearch.3
28249423Sdim
29249423SdimMLINKS+=a64l.3 l64a.3 a64l.3 l64a_r.3
30249423SdimMLINKS+=atol.3 atoll.3
31193323SedMLINKS+=exit.3 _Exit.3
32193323SedMLINKS+=getenv.3 putenv.3 getenv.3 setenv.3 getenv.3 unsetenv.3
33193323SedMLINKS+=getopt_long.3 getopt_long_only.3
34193323SedMLINKS+=hcreate.3 hdestroy.3 hcreate.3 hsearch.3
35193323SedMLINKS+=insque.3 remque.3
36193323SedMLINKS+=lsearch.3 lfind.3
37193323SedMLINKS+=ptsname.3 grantpt.3 ptsname.3 unlockpt.3
38193323SedMLINKS+=qsort.3 heapsort.3 qsort.3 mergesort.3 qsort.3 qsort_r.3
39193323SedMLINKS+=rand.3 rand_r.3 rand.3 srand.3 rand.3 sranddev.3
40193323SedMLINKS+=random.3 initstate.3 random.3 setstate.3 random.3 srandom.3 \
41193323Sed	random.3 srandomdev.3
42193323SedMLINKS+=radixsort.3 sradixsort.3
43193323SedMLINKS+=strtod.3 strtof.3 strtod.3 strtold.3
44193323SedMLINKS+=strtol.3 strtoll.3 strtol.3 strtoq.3 strtol.3 strtoimax.3
45193323SedMLINKS+=strtoul.3 strtoull.3 strtoul.3 strtouq.3 strtoul.3 strtoumax.3
46193323SedMLINKS+=malloc.3 calloc.3 malloc.3 free.3 malloc.3 malloc.conf.5 \
47193323Sed	malloc.3 realloc.3 malloc.3 reallocf.3 malloc.3 malloc_usable_size.3
48198892SrdivackyMLINKS+=tsearch.3 tdelete.3 tsearch.3 tfind.3 tsearch.3 twalk.3
49193323Sed
50193323Sed.if defined(MALLOC_PRODUCTION)
51193323SedCFLAGS+=	-DMALLOC_PRODUCTION
52212904Sdim.endif
53193323Sed
54193323Sed