|
|
1.1 root 1: # /usr/src/libc/sys/i386/Makefile 6/22/93
2:
3: ASFLAGS=-x
4:
5: # Objects built from sources in sys/i386.
6: OBJ=\
7: _execve.o\
8: brk.o\
9: cerror.o\
10: dup2.o\
11: fork.o\
12: gtty.o\
13: msgemul.o\
14: pipe.o\
15: sememul.o\
16: setpgrp.o\
17: shmemul.o\
18: signal.o\
19: time.o\
20: uname.o\
21: ustat.o\
22: wait.o
23:
24: # These objects are built from sources generated automatically by mkscall.
25: # N.B. getdents.o is not in this list for now, libc.a uses ndir version instead.
26: # _exit.o used to be included but now is part of crts0.o instead.
27: AUTOOBJ=\
28: _msgsys.o\
29: _pgrp.o\
30: _semsys.o\
31: _shmsys.o\
32: _time.o\
33: _utssys.o\
34: access.o\
35: acct.o\
36: alarm.o\
37: chdir.o\
38: chmod.o\
39: chown.o\
40: chroot.o\
41: chsize.o\
42: close.o\
43: creat.o\
44: dup.o\
45: fcntl.o\
46: fstat.o\
47: fstatfs.o\
48: ftime.o\
49: getegid.o\
50: geteuid.o\
51: getgid.o\
52: getpid.o\
53: getppid.o\
54: getuid.o\
55: ioctl.o\
56: kill.o\
57: link.o\
58: lseek.o\
59: mkdir.o\
60: mknod.o\
61: mount.o\
62: nap.o\
63: nice.o\
64: open.o\
65: pause.o\
66: plock.o\
67: poll.o\
68: profil.o\
69: ptrace.o\
70: read.o\
71: rmdir.o\
72: setgid.o\
73: setuid.o\
74: stat.o\
75: statfs.o\
76: stime.o\
77: sync.o\
78: sysi86.o\
79: times.o\
80: uadmin.o\
81: ulimit.o\
82: umask.o\
83: umount.o\
84: unlink.o\
85: utime.o\
86: write.o
87:
88: # Primary target.
89: SYSI386: mkscall SYSI386AUTO $(OBJ)
90: $(AR) rkus libc.a $(AUTOOBJ) $(OBJ)
91: touch $@
92: : libc/sys/i386 done
93:
94: # Build system call sources automatically from scall.s5.
95: # N.B. ASFLAGS should not include -f for these calls,
96: # so this invokes make rather than make -e in the subdirectory.
97: SYSI386AUTO: scall.s5
98: -mkdir tmp
99: cd tmp; ../mkscall -f $<; make $(AUTOOBJ); mv $(AUTOOBJ) ..; cd ..
100: rm -r tmp
101: touch $@
102:
103: # Secondary targets.
104: # This does not need to include sources built in object directory by mkscall.
105: # The .s sources have explicit actions to avoid using -f in ASFLAGS.
106: _execve.o: _execve.s
107: $(AS) -o $@ $<
108: brk.o: brk.s
109: $(AS) -o $@ $<
110: cerror.o: cerror.s
111: $(AS) -o $@ $<
112: dup2.o: dup2.c
113: fork.o: fork.s
114: $(AS) -o $@ $<
115: gtty.o: gtty.c
116: msgemul.o: msgemul.c
117: pipe.o: pipe.s
118: $(AS) -o $@ $<
119: sememul.o: sememul.c
120: setpgrp.o: setpgrp.c
121: shmemul.o: shmemul.c
122: signal.o: signal.s
123: $(AS) -o $@ $<
124: time.o: time.c
125: uname.o: uname.c
126: ustat.o: ustat.c
127: utsemul.o: utsemul.c
128: wait.o: wait.s
129: $(AS) -o $@ $<
130:
131: # Build mkscall, which builds system call sources automatically.
132: mkscall: mkscall.c
133: cc $<
134:
135: # end of /usr/src/libc/sys/i386/Makefile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.