]>
Commit | Line | Data |
---|---|---|
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 | ||
12 | MISRCS+=a64l.c l64a.c | |
13 | ||
14 | .include "Makefile.fbsd_begin" | |
15 | FBSDMISRCS=_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 | |
23 | FBSDHDRS= atexit.h | |
24 | .include "Makefile.fbsd_end" | |
25 | PRIV_INSTHDRS += ${SYMROOT}/atexit.h | |
26 | ||
27 | .include "Makefile.obsd_begin" | |
28 | OBSDMISRCS=ecvt.c gcvt.c | |
29 | .include "Makefile.obsd_end" | |
30 | ||
31 | UNIX03SRCS+= putenv.c setenv.c | |
32 | ||
33 | .if ${LIB} == "c" | |
34 | MAN3+= a64l.3 | |
35 | MAN3+= strtod_l.3 strtol_l.3 | |
36 | ||
37 | .include "Makefile.fbsd_begin" | |
38 | FBSDMAN3= 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" | |
46 | OBSDMAN3= ecvt.3 | |
47 | .include "Makefile.obsd_end" | |
48 | ||
49 | MLINKS+=a64l.3 l64a.3 | |
50 | MLINKS+=atof.3 atof_l.3 | |
51 | MLINKS+=atoi.3 atoi_l.3 | |
52 | MLINKS+=atol.3 atoll.3 | |
53 | MLINKS+=atol.3 atol_l.3 atol.3 atoll_l.3 | |
54 | MLINKS+=ecvt.3 fcvt.3 | |
55 | MLINKS+=ecvt.3 gcvt.3 | |
56 | MLINKS+=exit.3 _Exit.3 | |
57 | MLINKS+=getenv.3 putenv.3 getenv.3 setenv.3 getenv.3 unsetenv.3 | |
58 | MLINKS+=grantpt.3 posix_openpt.3 grantpt.3 ptsname.3 grantpt.3 unlockpt.3 | |
59 | MLINKS+=hcreate.3 hdestroy.3 hcreate.3 hsearch.3 | |
60 | MLINKS+=insque.3 remque.3 | |
61 | MLINKS+=lsearch.3 lfind.3 | |
62 | MLINKS+=qsort.3 heapsort.3 qsort.3 mergesort.3 qsort.3 qsort_r.3 | |
63 | MLINKS+=rand.3 rand_r.3 rand.3 srand.3 rand.3 sranddev.3 | |
64 | MLINKS+=random.3 initstate.3 random.3 setstate.3 random.3 srandom.3 \ | |
65 | random.3 srandomdev.3 | |
66 | MLINKS+=strfmon.3 strfmon_l.3 | |
67 | MLINKS+=strtod.3 strtof.3 strtod.3 strtold.3 | |
68 | MLINKS+=strtod_l.3 strtof_l.3 strtod_l.3 strtold_l.3 | |
69 | MLINKS+=strtol.3 strtoll.3 strtol.3 strtoq.3 strtol.3 strtoimax.3 | |
70 | MLINKS+=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 | |
73 | MLINKS+=strtoul.3 strtoull.3 strtoul.3 strtouq.3 strtoul.3 strtoumax.3 | |
74 | MLINKS+=tsearch.3 tdelete.3 tsearch.3 tfind.3 tsearch.3 twalk.3 | |
75 | .endif |