]> git.saurik.com Git - apple/libc.git/blame_incremental - stdlib/Makefile.inc
Libc-391.tar.gz
[apple/libc.git] / stdlib / Makefile.inc
... / ...
CommitLineData
1# from @(#)Makefile.inc 8.3 (Berkeley) 2/4/95
2# $FreeBSD: src/lib/libc/stdlib/Makefile.inc,v 1.45 2003/04/05 07:33:46 tjr Exp $
3
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
9# machine-independent stdlib sources
10.PATH: ${.CURDIR}/stdlib
11
12MISRCS+=a64l.c l64a.c
13
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 \
17 grantpt.c hcreate.c heapsort.c imaxabs.c imaxdiv.c insque.c labs.c \
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
23FBSDHDRS= atexit.h
24.include "Makefile.fbsd_end"
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
32
33.if ${LIB} == "c"
34MAN3+= a64l.3
35MAN3+= strtod_l.3 strtol_l.3
36
37.include "Makefile.fbsd_begin"
38FBSDMAN3= abort.3 abs.3 alloca.3 atexit.3 atof.3 atoi.3 atol.3 bsearch.3 \
39 div.3 exit.3 getenv.3 getopt.3 getopt_long.3 getsubopt.3 grantpt.3 \
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"
44
45.include "Makefile.obsd_begin"
46OBSDMAN3= ecvt.3
47.include "Makefile.obsd_end"
48
49MLINKS+=a64l.3 l64a.3
50MLINKS+=atof.3 atof_l.3
51MLINKS+=atoi.3 atoi_l.3
52MLINKS+=atol.3 atoll.3
53MLINKS+=atol.3 atol_l.3 atol.3 atoll_l.3
54MLINKS+=ecvt.3 fcvt.3
55MLINKS+=ecvt.3 gcvt.3
56MLINKS+=exit.3 _Exit.3
57MLINKS+=getenv.3 putenv.3 getenv.3 setenv.3 getenv.3 unsetenv.3
58MLINKS+=grantpt.3 posix_openpt.3 grantpt.3 ptsname.3 grantpt.3 unlockpt.3
59MLINKS+=hcreate.3 hdestroy.3 hcreate.3 hsearch.3
60MLINKS+=insque.3 remque.3
61MLINKS+=lsearch.3 lfind.3
62MLINKS+=qsort.3 heapsort.3 qsort.3 mergesort.3 qsort.3 qsort_r.3
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
66MLINKS+=strfmon.3 strfmon_l.3
67MLINKS+=strtod.3 strtof.3 strtod.3 strtold.3
68MLINKS+=strtod_l.3 strtof_l.3 strtod_l.3 strtold_l.3
69MLINKS+=strtol.3 strtoll.3 strtol.3 strtoq.3 strtol.3 strtoimax.3
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
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
75.endif