|
|
1.1 root 1: head 1.1;
2: branch ;
3: access ;
4: symbols ;
5: locks bin:1.1; strict;
6: comment @# @;
7:
8:
9: 1.1
10: date 91.07.30.12.35.27; author bin; state Exp;
11: branches ;
12: next ;
13:
14:
15: desc
16: @update by steve to reorder the objects to
17: @
18:
19:
20:
21: 1.1
22: log
23: @Initial revision
24: @
25: text
26: @# /usr/src/libc/Makefile 7/23/91
27: # Assumes $(SRCPATH) defines root libc source directory, e.g. /usr/src/libc.
28: # To build a new libc.a, move to an empty object directory and
29: # type "make SRCPATH=/usr/src/libc" (or other pathname as appropriate).
30: # This takes about 20 minutes from scratch on 20 MHz 386.
31:
32: # Copyright module is first entry in the archive.
33: OBJ=\
34: copyright.o
35:
36: # Primary target.
37: # The order of targets here is significant.
38: # dstdio must be the last target, because it plays tricks to reduce size
39: # of executable if stdio is not required.
40: # dgen is next to last because e.g. perror() references stdio.
41: all: ROOT dcrt dstring dsys dgen dstdio
42: : libc done.
43:
44: # Pseudotargets.
45: # The lower case pseudotargets are made every time to check each subdirectory.
46: # The upper case pseudotargets indicate when the objects in a given directory
47: # were last made, allowing replacement of only the stale object files.
48: ROOT: $(OBJ)
49: ar rckus libc.a $?
50: touch $@@
51: dcrt:
52: make SRCPATH=$(SRCPATH)/crt
53: dgen:
54: make SRCPATH=$(SRCPATH)/gen
55: dstdio:
56: make SRCPATH=$(SRCPATH)/stdio
57: dstring:
58: make SRCPATH=$(SRCPATH)/string
59: dsys:
60: make SRCPATH=$(SRCPATH)/sys
61:
62: # Secondary targets.
63: copyright.o: $(SRCPATH)/gen/copyright.c
64:
65: clean:
66: rm *.o
67:
68: # end of /usr/src/libc/Makefile
69: @
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.