-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathutilms.mak
190 lines (161 loc) · 5.33 KB
/
utilms.mak
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
!include <win32.mak>
CC = $(cc)
LINK = $(link)
CFLAGS = $(cdebug) $(cflags) $(cvars) /Zp1
LFLAGS = $(linkdebug)
#CFLAGS = $(cflags) $(cvars) /Zp1
#LFLAGS =
incdeps = nwfs.h nwstruct.h nwdir.h nwhash.h nwproc.h nwvfs.h nwerror.h \
globals.h nwmenu.h
objects = nwvfs.obj alloc.obj disk.obj nwpart.obj volume.obj globals.obj \
lru.obj lock.obj hash.obj fat.obj bit.obj \
block.obj cluster.obj dir.obj mmap.obj inode.obj super.obj file.obj \
ioctl.obj nwdir.obj nwfile.obj trustee.obj nwext.obj suballoc.obj \
create.obj date.obj nwcreate.obj symlink.obj nwvp.obj nwfix.obj \
nwvphal.obj fileutil.obj console.obj nwmenu.obj async.obj \
nwtool.obj
all: nwvol.exe nwdisk.exe nwvp.exe nwdump.exe \
nwview.exe nwconfig.exe nwrepair.exe nwmount.exe \
nwdismnt.exe nwfs.lib
nwfs.lib: $(objects)
lib $(objects) /out:nwfs.lib
nwmount.exe: nwmount.obj
$(LINK) $(linkdebug) nwmount.obj -out:nwmount.exe $(MAPFILE)
nwdismnt.exe: nwdismnt.obj
$(LINK) $(linkdebug) nwdismnt.obj -out:nwdismnt.exe $(MAPFILE)
nwconfig.exe: $(objects) nwconfig.obj filter.obj
$(LINK) $(linkdebug) nwconfig.obj filter.obj \
$(objects) user32.lib -out:nwconfig.exe $(MAPFILE)
nwrepair.exe: $(objects) nwrepair.obj nofilt.obj
$(LINK) $(linkdebug) nwrepair.obj nofilt.obj \
$(objects) -out:nwrepair.exe $(MAPFILE)
nwvol.exe: $(objects) nwvol.obj nofilt.obj
$(LINK) $(linkdebug) nwvol.obj nofilt.obj \
$(objects) -out:nwvol.exe $(MAPFILE)
nwdisk.exe: $(objects) nwdisk.obj nofilt.obj
$(LINK) $(linkdebug) nwdisk.obj nofilt.obj \
$(objects) -out:nwdisk.exe $(MAPFILE)
nwvp.exe: $(objects) nwvpmain.obj vcommand.obj vconsole.obj nofilt.obj
$(LINK) $(linkdebug) nwvpmain.obj vcommand.obj vconsole.obj \
$(objects) nofilt.obj -out:nwvp.exe $(MAPFILE)
nwdump.exe: $(objects) nwdump.obj nofilt.obj
$(LINK) $(linkdebug) nwdump.obj nofilt.obj \
$(objects) -out:nwdump.exe $(MAPFILE)
nwview.exe: $(objects) nwview.obj nofilt.obj
$(LINK) $(linkdebug) nwview.obj nofilt.obj \
$(objects) -out:nwview.exe $(MAPFILE)
#
# NWFS Utility Files
#
nwconfig.obj: nwconfig.c $(incdeps) nwhelp.h
$(CC) $(CFLAGS) nwconfig.c
nwdisk.obj: nwdisk.c $(incdeps)
$(CC) $(CFLAGS) nwdisk.c
nwrepair.obj: nwrepair.c $(incdeps)
$(CC) $(CFLAGS) nwrepair.c
nwvol.obj: nwvol.c $(incdeps)
$(CC) $(CFLAGS) nwvol.c
nwdump.obj: nwdump.c $(incdeps)
$(CC) $(CFLAGS) nwdump.c
nwview.obj: nwview.c $(incdeps)
$(CC) $(CFLAGS) nwview.c
vcommand.obj: vcommand.c $(incdeps)
$(CC) $(CFLAGS) vcommand.c
vconsole.obj: vconsole.c $(incdeps)
$(CC) $(CFLAGS) vconsole.c
nwvpmain.obj: nwvpmain.c $(incdeps)
$(CC) $(CFLAGS) nwvpmain.c
nwformat.obj: nwformat.c $(incdeps)
$(CC) $(CFLAGS) nwformat.c
nwvp.obj: nwvp.c $(incdeps)
$(CC) $(CFLAGS) nwvp.c
nwvphal.obj: nwvphal.c $(incdeps)
$(CC) $(CFLAGS) nwvphal.c
#
# NWFS Library Files
#
nwvfs.obj: nwvfs.c $(incdeps)
$(CC) $(CFLAGS) nwvfs.c
alloc.obj: alloc.c $(incdeps)
$(CC) $(CFLAGS) alloc.c
disk.obj: disk.c $(incdeps)
$(CC) $(CFLAGS) disk.c
nwpart.obj: nwpart.c $(incdeps)
$(CC) $(CFLAGS) nwpart.c
volume.obj: volume.c $(incdeps)
$(CC) $(CFLAGS) volume.c
fat.obj: fat.c $(incdeps)
$(CC) $(CFLAGS) fat.c
globals.obj: globals.c $(incdeps)
$(CC) $(CFLAGS) globals.c
lock.obj: lock.c $(incdeps)
$(CC) $(CFLAGS) lock.c
hash.obj: hash.c $(incdeps)
$(CC) $(CFLAGS) hash.c
string.obj: string.c $(incdeps)
$(CC) $(CFLAGS) string.c
lru.obj: lru.c $(incdeps)
$(CC) $(CFLAGS) lru.c
bit.obj: bit.c $(incdeps)
$(CC) $(CFLAGS) bit.c
block.obj: block.c $(incdeps)
$(CC) $(CFLAGS) block.c
cluster.obj: cluster.c $(incdeps)
$(CC) $(CFLAGS) cluster.c
dir.obj: dir.c $(incdeps)
$(CC) $(CFLAGS) dir.c
mmap.obj: mmap.c $(incdeps)
$(CC) $(CFLAGS) mmap.c
inode.obj: inode.c $(incdeps)
$(CC) $(CFLAGS) inode.c
super.obj: super.c $(incdeps)
$(CC) $(CFLAGS) super.c
file.obj: file.c $(incdeps)
$(CC) $(CFLAGS) file.c
ioctl.obj: ioctl.c $(incdeps)
$(CC) $(CFLAGS) ioctl.c
nwdir.obj: nwdir.c $(incdeps)
$(CC) $(CFLAGS) nwdir.c
nwfile.obj: nwfile.c $(incdeps)
$(CC) $(CFLAGS) nwfile.c
trustee.obj: trustee.c $(incdeps)
$(CC) $(CFLAGS) trustee.c
nwext.obj: nwext.c $(incdeps)
$(CC) $(CFLAGS) nwext.c
suballoc.obj: suballoc.c $(incdeps)
$(CC) $(CFLAGS) suballoc.c
create.obj: create.c $(incdeps)
$(CC) $(CFLAGS) create.c
date.obj: date.c $(incdeps)
$(CC) $(CFLAGS) date.c
nwcreate.obj: nwcreate.c $(incdeps)
$(CC) $(CFLAGS) nwcreate.c
symlink.obj: symlink.c $(incdeps)
$(CC) $(CFLAGS) symlink.c
fileutil.obj: fileutil.c $(incdeps)
$(CC) $(CFLAGS) fileutil.c
console.obj: console.c $(incdeps)
$(CC) $(CFLAGS) console.c
nwmenu.obj: nwmenu.c $(incdeps)
$(CC) $(CFLAGS) nwmenu.c
filter.obj: filter.c $(incdeps)
$(CC) $(CFLAGS) filter.c
nofilt.obj: nofilt.c $(incdeps)
$(CC) $(CFLAGS) nofilt.c
async.obj: async.c $(incdeps)
$(CC) $(CFLAGS) async.c
nwtool.obj: nwtool.c $(incdeps)
$(CC) $(CFLAGS) nwtool.c
nwfix.obj: nwfix.c $(incdeps)
$(CC) $(CFLAGS) nwfix.c
nwmount.obj: nwmount.c $(incdeps)
$(CC) $(CFLAGS) nwmount.c
nwdismnt.obj: nwdismnt.c $(incdeps)
$(CC) $(CFLAGS) nwdismnt.c
clean:
del *.obj
del *.exe
del *.ilk
del *.pdb
del *.opt
del *.lib