source: trunk/minix/lib/ansi/Makefile.in@ 15

Last change on this file since 15 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 1.6 KB
Line 
1# Makefile for lib/ansi.
2
3# This Makefile compiles part of the C library, the functions required by the
4# ANSI C standard. This Makefile, and those in the other subdirectories use
5# a little known feature of make, the ability to refer to a file within a
6# library. The construct abs.o' names the file 'abs.o' contained
7# in 'libc.a'. So the rule
8#
9# abs.o: abs.c
10# cc -c abs.c
11# aal cr libc.a abs.o
12# rm abs.o
13#
14# compiles abs.c and installs the result abs.o in libc.a if abs.c is newer
15# than the abs.o in the library. This Makefile does not work like this
16# precisely, it first compiles all changed source files and than installs
17# them all in one 'aal' command.
18
19# Many of the string functions in this directory are not used, because the
20# have fast assembly implementations.
21
22CFLAGS="-O -D_MINIX -D_POSIX_SOURCE -D__USG"
23
24LIBRARIES=libc
25libc_FILES=" \
26 abort.c \
27 abs.c \
28 asctime.c \
29 assert.c \
30 atexit.c \
31 atof.c \
32 atoi.c \
33 atol.c \
34 bsearch.c \
35 calloc.c \
36 chartab.c \
37 clock.c \
38 ctime.c \
39 difftime.c \
40 div.c \
41 errlist.c \
42 exit.c \
43 ext_comp.c \
44 getenv.c \
45 gmtime.c \
46 isalnum.c \
47 isalpha.c \
48 isascii.c \
49 iscntrl.c \
50 isdigit.c \
51 isgraph.c \
52 islower.c \
53 isprint.c \
54 ispunct.c \
55 isspace.c \
56 isupper.c \
57 isxdigit.c \
58 labs.c \
59 ldiv.c \
60 localeconv.c \
61 localtime.c \
62 malloc.c \
63 mblen.c \
64 mbstowcs.c \
65 mbtowc.c \
66 misc.c \
67 mktime.c \
68 qsort.c \
69 raise.c \
70 rand.c \
71 setlocale.c \
72 sigmisc.c \
73 signal.c \
74 strcoll.c \
75 strcspn.c \
76 strerror.c \
77 strftime.c \
78 strpbrk.c \
79 strspn.c \
80 strstr.c \
81 strtok.c \
82 strtol.c \
83 strxfrm.c \
84 system.c \
85 tolower.c \
86 toupper.c \
87 tzset.c \
88 wcstombs.c \
89 wctomb.c"
90
91TYPE=both
Note: See TracBrowser for help on using the repository browser.