This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 423
/
win64.mak
88 lines (73 loc) · 1.9 KB
/
win64.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
# Proxy Makefile for backwards compatibility after move to DMD
DMD_DIR=..\dmd
BUILD=release
MODEL=64
OS=windows
DMD=$(DMD_DIR)\generated\$(OS)\$(BUILD)\$(MODEL)\dmd
CC=cl
MAKE=make
HOST_DMD=dmd
DOCDIR=doc
IMPDIR=import
DFLAGS=-m$(MODEL) -conf= -O -release -preview=dip1000 -preview=fieldwise -preview=dtorfields -inline -w -Isrc -Iimport
UDFLAGS=-m$(MODEL) -conf= -O -release -preview=dip1000 -preview=fieldwise -w -version=_MSC_VER_$(_MSC_VER) -Isrc -Iimport
UTFLAGS=-version=CoreUnittest -unittest -checkaction=context
# DDOCFLAGS=-conf= -c -w -o- -Isrc -Iimport -version=CoreDdoc
CFLAGS=
DRUNTIME_BASE=druntime$(MODEL)
DRUNTIME=lib\$(DRUNTIME_BASE).lib
DOCFMT=
MAKE_WIN32=$(MAKE) -f win64.mak \
"DMD_DIR=$(DMD_DIR)" \
"BUILD=$(BUILD)" \
"MODEL=$(MODEL)" \
"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"