]> git.saurik.com Git - apple/libc.git/blame - stdlib/Makefile.inc
Libc-391.5.22.tar.gz
[apple/libc.git] / stdlib / Makefile.inc
CommitLineData
5b2abdfb 1# from @(#)Makefile.inc 8.3 (Berkeley) 2/4/95
9385eb3d 2# $FreeBSD: src/lib/libc/stdlib/Makefile.inc,v 1.45 2003/04/05 07:33:46 tjr Exp $
5b2abdfb 3
59e0d9fe
A
4# machine-dependent stdlib sources
5.if exists(${.CURDIR}/${MACHINE_ARCH}/stdlib/Makefile.inc)
6.include "${.CURDIR}/${MACHINE_ARCH}/stdlib/Makefile.inc"
7.endif
8
5b2abdfb 9# machine-independent stdlib sources
59e0d9fe 10.PATH: ${.CURDIR}/stdlib
5b2abdfb 11
9385eb3d 12MISRCS+=a64l.c l64a.c
5b2abdfb 13
9385eb3d
A
14.include "Makefile.fbsd_begin"
15FBSDMISRCS=_Exit_.c abort.c abs.c atexit.c atof.c atoi.c atol.c atoll.c \
16 bsearch.c div.c exit.c getenv.c getopt.c getopt_long.c getsubopt.c \
3d9156a7 17 grantpt.c hcreate.c heapsort.c imaxabs.c imaxdiv.c insque.c labs.c \
9385eb3d
A
18 ldiv.c llabs.c lldiv.c lsearch.c merge.c putenv.c qsort.c qsort_r.c \
19 radixsort.c rand.c random.c reallocf.c realpath.c remque.c setenv.c \
20 strfmon.c strhash.c strtoimax.c strtol.c strtoll.c strtoq.c strtoul.c \
21 strtoull.c strtoumax.c strtouq.c system.c tdelete.c tfind.c tsearch.c \
22 twalk.c
59e0d9fe 23FBSDHDRS= atexit.h
9385eb3d 24.include "Makefile.fbsd_end"
3d9156a7
A
25PRIV_INSTHDRS += ${SYMROOT}/atexit.h
26
27.include "Makefile.obsd_begin"
28OBSDMISRCS=ecvt.c gcvt.c
29.include "Makefile.obsd_end"
30
31UNIX03SRCS+= putenv.c setenv.c
5b2abdfb 32
5b2abdfb 33.if ${LIB} == "c"
9385eb3d 34MAN3+= a64l.3
3d9156a7 35MAN3+= strtod_l.3 strtol_l.3
9385eb3d
A
36
37.include "Makefile.fbsd_begin"
38FBSDMAN3= abort.3 abs.3 alloca.3 atexit.3 atof.3 atoi.3 atol.3 bsearch.3 \
3d9156a7 39 div.3 exit.3 getenv.3 getopt.3 getopt_long.3 getsubopt.3 grantpt.3 \
9385eb3d
A
40 hcreate.3 imaxabs.3 imaxdiv.3 insque.3 labs.3 ldiv.3 llabs.3 lldiv.3 \
41 lsearch.3 memory.3 qsort.3 radixsort.3 rand.3 random.3 realpath.3 \
42 strfmon.3 strtod.3 strtol.3 strtoul.3 system.3 tsearch.3
43.include "Makefile.fbsd_end"
5b2abdfb 44
3d9156a7
A
45.include "Makefile.obsd_begin"
46OBSDMAN3= ecvt.3
47.include "Makefile.obsd_end"
48
9385eb3d 49MLINKS+=a64l.3 l64a.3
3d9156a7
A
50MLINKS+=atof.3 atof_l.3
51MLINKS+=atoi.3 atoi_l.3
9385eb3d 52MLINKS+=atol.3 atoll.3
3d9156a7
A
53MLINKS+=atol.3 atol_l.3 atol.3 atoll_l.3
54MLINKS+=ecvt.3 fcvt.3
55MLINKS+=ecvt.3 gcvt.3
9385eb3d 56MLINKS+=exit.3 _Exit.3
5b2abdfb 57MLINKS+=getenv.3 putenv.3 getenv.3 setenv.3 getenv.3 unsetenv.3
3d9156a7 58MLINKS+=grantpt.3 posix_openpt.3 grantpt.3 ptsname.3 grantpt.3 unlockpt.3
5b2abdfb 59MLINKS+=hcreate.3 hdestroy.3 hcreate.3 hsearch.3
9385eb3d
A
60MLINKS+=insque.3 remque.3
61MLINKS+=lsearch.3 lfind.3
62MLINKS+=qsort.3 heapsort.3 qsort.3 mergesort.3 qsort.3 qsort_r.3
5b2abdfb
A
63MLINKS+=rand.3 rand_r.3 rand.3 srand.3 rand.3 sranddev.3
64MLINKS+=random.3 initstate.3 random.3 setstate.3 random.3 srandom.3 \
65 random.3 srandomdev.3
3d9156a7 66MLINKS+=strfmon.3 strfmon_l.3
9385eb3d 67MLINKS+=strtod.3 strtof.3 strtod.3 strtold.3
3d9156a7 68MLINKS+=strtod_l.3 strtof_l.3 strtod_l.3 strtold_l.3
9385eb3d 69MLINKS+=strtol.3 strtoll.3 strtol.3 strtoq.3 strtol.3 strtoimax.3
3d9156a7
A
70MLINKS+=strtol_l.3 strtoll_l.3 strtol_l.3 strtoimax_l.3 strtol_l.3 strtoq_l.3 \
71 strtol_l.3 strtoull_l.3 strtol_l.3 strtoumax_l.3 strtol_l.3 strtouq_l.3 \
72 strtol_l.3 strtoul_l.3
9385eb3d
A
73MLINKS+=strtoul.3 strtoull.3 strtoul.3 strtouq.3 strtoul.3 strtoumax.3
74MLINKS+=tsearch.3 tdelete.3 tsearch.3 tfind.3 tsearch.3 twalk.3
5b2abdfb 75.endif