|
|
1.1 root 1: # /usr/src/libc/string/Makefile 7/6/93
2:
3: OBJ=\
4: strcoll.o\
5: strdup.o\
6: strerror.o\
7: strtok.o\
8: strxfrm.o\
9:
10: # These C sources are unused, the assembler sources in $(MCH)
11: # are used instead for efficiency.
12: UNUSED=\
13: _memxchg.c\
14: memchr.c\
15: memcmp.c\
16: memcpy.c\
17: memmove.c\
18: memset.c\
19: strcat.c\
20: strchr.c\
21: strcmp.c\
22: strcpy.c\
23: strcspn.c\
24: streq.c\
25: strlen.c\
26: strncat.c\
27: strncmp.c\
28: strncpy.c\
29: strpbrk.c\
30: strrchr.c\
31: strspn.c\
32: strstr.c\
33:
34: # Primary target.
35: all: STRING string$(MCH)
36: : libc/string done
37:
38: # Pseudotargets.
39: STRING: $(OBJ)
40: $(AR) rkus libc.a $?
41: touch $@
42: string$(MCH):
43: SRCPATH=$(SRCPATH)/$(MCH) make -e
44:
45: # Secondary targets.
46: strcoll.o: strcoll.c
47: strdup.o: strdup.c
48: strerror.o: strerror.c
49: strtok.o: strtok.c
50: strxfrm.o: strxfrm.c
51:
52: # end of /usr/src/libc/string/Makefile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.