forked from dlang/druntime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
win32.mak
85 lines (70 loc) · 1.76 KB
/
win32.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
# Proxy Makefile for backwards compatibility after move to DMD
DMD_DIR=..\dmd
BUILD=release
OS=windows
DMD=$(DMD_DIR)\generated\$(OS)\$(BUILD)\32\dmd
CC=dmc
MAKE=make
HOST_DMD=dmd
DOCDIR=doc
IMPDIR=import
DFLAGS=-m32omf -conf= -O -release -preview=dip1000 -preview=fieldwise -preview=dtorfields -inline -w -Isrc -Iimport
UDFLAGS=-m32omf -conf= -O -release -preview=dip1000 -preview=fieldwise -w -Isrc -Iimport
UTFLAGS=-version=CoreUnittest -unittest -checkaction=context
CFLAGS=
DRUNTIME_BASE=druntime
DRUNTIME=lib\$(DRUNTIME_BASE).lib
DOCFMT=
MAKE_WIN32=$(MAKE) -f win32.mak \
"DMD_DIR=$(DMD_DIR)" \
"BUILD=$(BUILD)" \
"OS=$(OS)" \
"DMD=$(DMD)" \
"CC=$(CC)" \
"MAKE=$(MAKE)" \
"HOST_DMD=$(HOST_DMD)" \
"DOCDIR=$(DOCDIR)" \
"IMPDIR=$(IMPDIR)" \
"DFLAGS=$(DFLAGS)" \
"UDFLAGS=$(UDFLAGS)" \
"UTFLAGS=$(UTFLAGS)" \
"CFLAGS=$(CFLAGS)" \
"DRUNTIME_BASE=$(DRUNTIME_BASE)" \
"DRUNTIME=$(DRUNTIME)" \
"DOCFMT=$(DOCFMT)"
target:
+cd $(DMD_DIR)/druntime && $(MAKE_WIN32) $@
xcopy /s /e /h /i $(DMD_DIR)/druntime/lib lib
import:
+cd $(DMD_DIR)/druntime && $(MAKE_WIN32) $@
xcopy /s /e /h /i $(DMD_DIR)/druntime/import import
# copydir:
# cd $(DMD_DIR)/druntime
# $(MAKE_WIN32) $@
# copy:
# cd $(DMD_DIR)/druntime
# $(MAKE_WIN32) $@
# implibsdir:
# cd $(DMD_DIR)/druntime
# $(MAKE_WIN32) $@
# implibs:
# cd $(DMD_DIR)/druntime
# $(MAKE_WIN32) $@
# unittest:
# cd $(DMD_DIR)/druntime
# $(MAKE_WIN32) $@
# test_all:
# cd $(DMD_DIR)/druntime
# $(MAKE_WIN32) $@
# zip:
# cd $(DMD_DIR)/druntime
# $(MAKE_WIN32) $@
install:
echo "Windows builds have been disabled"
# clean:
# cd $(DMD_DIR)/druntime
# $(MAKE_WIN32) $@
auto-tester-build:
echo "Windows builds have been disabled on auto-tester"
auto-tester-test:
echo "Windows builds have been disabled on auto-tester"