blob: 7dc0dd3ba27ff8c6ebf7cf3f8ec8c1d8ca9d30de (
plain)
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
|
DIRS= \
System \
System.Collections \
System.Configuration.Assemblies \
System.Diagnostics \
System.Globalization \
System.IO \
System.Reflection \
System.Runtime.CompilerServices \
System.Runtime.InteropServices \
System.Runtime.Serialization \
System.Security.Cryptography \
System.Security.Permissions \
System.Text \
System.Threading \
Unix
all:
@echo "You must use 'make windows' or 'make unix'."
@echo "'make unix' is broken for now."
windows: make-list
$(CSC) /unsafe /target:library /out:corlib.dll /nowarn:1595 @list
monolib: make-list
$(CSC) /unsafe /nostdlib /target:library /out:corlib.dll /nowarn:1595 @listmono
monolib2: make-list
$(CSC) /unsafe /target:library /out:corlib.dll /nowarn:1595 @list
unix:
@echo "'make unix' is broken for now."
make-list:
for i in $(DIRS); do \
cat $$i/common.src $$i/windows.src | sed "s/^/$$i\\\\/"; \
done > list
|