Super User's BSD Cross Reference: /OpenBSD/lib/libc/stdlib/Makefile.inc

1 # $OpenBSD: Makefile.inc,v 1.66 2024年01月19日 19:45:02 millert Exp $
2
3 # stdlib sources
4 .PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/stdlib ${LIBCSRCDIR}/stdlib
5
6 SRCS+= a64l.c abort.c atexit.c atoi.c atof.c atol.c atoll.c bsearch.c \
7 exit.c ecvt.c gcvt.c getenv.c getopt_long.c \
8 getsubopt.c hcreate.c heapsort.c imaxabs.c imaxdiv.c insque.c \
9 l64a.c llabs.c lldiv.c lsearch.c malloc.c __mktemp4.c mkdtemp.c \
10 mkstemp.c mktemp.c reallocarray.c merge.c posix_pty.c qsort.c \
11 radixsort.c rand.c random.c realpath.c remque.c setenv.c strtoimax.c \
12 strtol.c strtoll.c strtonum.c strtoul.c strtoull.c strtoumax.c \
13 system.c \
14 tfind.c thread_atexit.c tsearch.c \
15 _rand48.c drand48.c erand48.c jrand48.c \
16 lcong48.c lrand48.c mrand48.c nrand48.c seed48.c srand48.c \
17 _Exit.c icdb.c
18
19 .if (${MACHINE_CPU} == "i386")
20 SRCS+= abs.S div.S labs.S ldiv.S
21 .elif (${MACHINE_CPU} == "alpha")
22 # XXX should be .S's
23 SRCS+= abs.c div.c labs.c ldiv.c
24 .else
25 SRCS+= abs.c div.c labs.c ldiv.c
26 .endif
27
28 MAN+= a64l.3 abort.3 abs.3 alloca.3 atexit.3 atof.3 atoi.3 atol.3 atoll.3 \
29 bsearch.3 div.3 ecvt.3 exit.3 getenv.3 getopt.3 getopt_long.3 \
30 getsubopt.3 hcreate.3 imaxabs.3 imaxdiv.3 insque.3 labs.3 ldiv.3 \
31 lldiv.3 lsearch.3 malloc.3 mktemp.3 posix_memalign.3 posix_openpt.3 \
32 ptsname.3 qsort.3 radixsort.3 rand48.3 rand.3 random.3 realpath.3 \
33 strtod.3 strtonum.3 strtol.3 strtoul.3 system.3 tsearch.3
34 

AltStyle によって変換されたページ (->オリジナル) /