1 # $Id: Makefile,v 1.6 1996/08/01 02:05:17 paul Exp $
2
3 CC = mcc
4 LD = ld
5 LDFLAGS = -M fs.map -dn -e crt_server
6 LIB = $(MX_LIB)
7 INC = $(MX_INCL)
8
9 CFLAGS = -ansi
10 s = $(INC)/sys
11 h = $(INC)/minix
12
13 a = $h/config.h $(INC)/ansi.h $s/types.h $h/const.h $h/type.h \
14 $(INC)/limits.h $(INC)/errno.h $h/syslib.h const.h type.h proto.h \
15 glo.h
16
17 obj = main.o open.o read.o write.o pipe.o device.o \
18 path.o mount.o link.o super.o inode.o cache.o cache2.o filedes.o \
19 stadir.o protect.o time.o misc.o utility.o table.o \
20 putk.o lock.o
21
22 fs: $(obj) $(LIB)/head.o $(LIB)/libc.a fs.map
23 $(LD) $(LDFLAGS) -o fs.elf $(LIB)/head.o $(obj) $(LIB)/libc.a
24 elf2smx -S 4kw fs.elf fs
25 rm fs.elf
26 minix_combine
27
28 clean:
29 rm -f $(obj) fs fs.elf fs.map core
30
31 fs.map: ../mm/mm
32 make_map_file <../mm/mm >fs.map
33
34 cache.o: $a
35 cache.o: $h/com.h
36 cache.o: $h/boot.h
37 cache.o: buf.h
38 cache.o: file.h
39 cache.o: fproc.h
40 cache.o: super.h
41
42 cache2.o: $a
43 cache2.o: $h/com.h
44 cache2.o: $h/boot.h
45 cache2.o: buf.h
46
47 device.o: $a
48 device.o: $(INC)/fcntl.h
49 device.o: $h/callnr.h
50 device.o: $h/com.h
51 device.o: dev.h
52 device.o: file.h
53 device.o: fproc.h
54 device.o: inode.h
55 device.o: param.h
56
57 filedes.o: $a
58 filedes.o: file.h
59 filedes.o: fproc.h
60 filedes.o: inode.h
61
62 inode.o: $a
63 inode.o: $h/boot.h
64 inode.o: buf.h
65 inode.o: file.h
66 inode.o: fproc.h
67 inode.o: inode.h
68 inode.o: super.h
69
70 link.o: $a
71 link.o: $s/stat.h
72 link.o: $(INC)/string.h
73 link.o: $h/callnr.h
74 link.o: buf.h
75 link.o: file.h
76 link.o: fproc.h
77 link.o: inode.h
78 link.o: param.h
79 link.o: super.h
80
81 lock.o: $a
82 lock.o: $(INC)/fcntl.h
83 lock.o: $(INC)/unistd.h
84 lock.o: file.h
85 lock.o: fproc.h
86 lock.o: inode.h
87 lock.o: lock.h
88 lock.o: param.h
89
90 main.o: $a
91 main.o: $(INC)/fcntl.h
92 main.o: $(INC)/string.h
93 main.o: $s/ioctl.h
94 main.o: $h/callnr.h
95 main.o: $h/com.h
96 main.o: $h/boot.h
97 main.o: buf.h
98 main.o: dev.h
99 main.o: file.h
100 main.o: fproc.h
101 main.o: inode.h
102 main.o: param.h
103 main.o: super.h
104
105 misc.o: $a
106 misc.o: $(INC)/fcntl.h
107 misc.o: $(INC)/unistd.h
108 misc.o: $h/callnr.h
109 misc.o: $h/com.h
110 misc.o: $h/boot.h
111 misc.o: buf.h
112 misc.o: file.h
113 misc.o: fproc.h
114 misc.o: inode.h
115 misc.o: dev.h
116 misc.o: param.h
117 misc.o: super.h
118
119 mount.o: $a
120 mount.o: $(INC)/fcntl.h
121 mount.o: $h/com.h
122 mount.o: $s/stat.h
123 mount.o: $s/ioctl.h
124 mount.o: buf.h
125 mount.o: dev.h
126 mount.o: file.h
127 mount.o: fproc.h
128 mount.o: inode.h
129 mount.o: param.h
130 mount.o: super.h
131
132 open.o: $a
133 open.o: $s/stat.h
134 open.o: $(INC)/fcntl.h
135 open.o: $h/callnr.h
136 open.o: $h/com.h
137 open.o: $h/callnr.h
138 open.o: buf.h
139 open.o: dev.h
140 open.o: file.h
141 open.o: fproc.h
142 open.o: inode.h
143 open.o: lock.h
144 open.o: param.h
145
146 path.o: $a
147 path.o: $(INC)/string.h
148 path.o: $h/callnr.h
149 path.o: buf.h
150 path.o: file.h
151 path.o: fproc.h
152 path.o: inode.h
153 path.o: super.h
154
155 pipe.o: $a
156 pipe.o: $(INC)/fcntl.h
157 pipe.o: $(INC)/signal.h
158 pipe.o: $h/boot.h
159 pipe.o: $h/callnr.h
160 pipe.o: $h/com.h
161 pipe.o: dev.h
162 pipe.o: file.h
163 pipe.o: fproc.h
164 pipe.o: inode.h
165 pipe.o: param.h
166
167 protect.o: $a
168 protect.o: $(INC)/unistd.h
169 protect.o: $h/callnr.h
170 protect.o: buf.h
171 protect.o: file.h
172 protect.o: fproc.h
173 protect.o: inode.h
174 protect.o: param.h
175 protect.o: super.h
176
177 putk.o: $a
178 putk.o: $h/com.h
179
180 read.o: $a
181 read.o: $(INC)/fcntl.h
182 read.o: $h/com.h
183 read.o: buf.h
184 read.o: file.h
185 read.o: fproc.h
186 read.o: inode.h
187 read.o: param.h
188 read.o: super.h
189
190 stadir.o: $a
191 stadir.o: $s/stat.h
192 stadir.o: file.h
193 stadir.o: fproc.h
194 stadir.o: inode.h
195 stadir.o: param.h
196
197 super.o: $a
198 super.o: $(INC)/string.h
199 super.o: $h/boot.h
200 super.o: buf.h
201 super.o: inode.h
202 super.o: super.h
203
204 table.o: $a
205 table.o: $h/callnr.h
206 table.o: $h/com.h
207 table.o: buf.h
208 table.o: dev.h
209 table.o: file.h
210 table.o: fproc.h
211 table.o: inode.h
212 table.o: lock.h
213 table.o: super.h
214
215 time.o: $a
216 time.o: $h/callnr.h
217 time.o: $h/com.h
218 time.o: file.h
219 time.o: fproc.h
220 time.o: inode.h
221 time.o: param.h
222
223 utility.o: $a
224 utility.o: $h/com.h
225 utility.o: $h/boot.h
226 utility.o: $(INC)/unistd.h
227 utility.o: buf.h
228 utility.o: file.h
229 utility.o: fproc.h
230 utility.o: inode.h
231 utility.o: param.h
232
233 write.o: $a
234 write.o: $(INC)/string.h
235 write.o: buf.h
236 write.o: file.h
237 write.o: fproc.h
238 write.o: inode.h
239 write.o: super.h
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.