aboutsummaryrefslogtreecommitdiff
path: root/libphobos/libdruntime/Makefile.am
blob: 34d3b41df824913a064b8b3c8ed387ece28f83a3 (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
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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
# Makefile for the D runtime library.
# Copyright (C) 2012-2021 Free Software Foundation, Inc.
#
# GCC is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# GCC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3.  If not see
# <http://www.gnu.org/licenses/>.

# Include D build rules
include $(top_srcdir)/d_rules.am

# Make sure GDC can find libdruntime include files
D_EXTRA_DFLAGS=-nostdinc -I $(srcdir) -I .

# D flags for compilation
AM_DFLAGS= \
	$(phobos_compiler_pic_flag) \
	$(WARN_DFLAGS) $(CHECKING_DFLAGS) $(CET_DFLAGS)

# Flags for other kinds of sources
AM_CFLAGS=$(CET_FLAGS)
AM_CCASFLAGS=$(CET_FLAGS)

# Install all D and DI files
ALL_DRUNTIME_INSTALL_DSOURCES = $(DRUNTIME_DSOURCES) \
	$(DRUNTIME_DSOURCES_BIONIC) $(DRUNTIME_DSOURCES_DARWIN) \
	$(DRUNTIME_DSOURCES_DRAGONFLYBSD) $(DRUNTIME_DSOURCES_FREEBSD) \
	$(DRUNTIME_DSOURCES_LINUX) $(DRUNTIME_DSOURCES_NETBSD) \
	$(DRUNTIME_DSOURCES_OPENBSD) $(DRUNTIME_DSOURCES_POSIX) \
	$(DRUNTIME_DSOURCES_SOLARIS) $(DRUNTIME_DSOURCES_WINDOWS) \
	$(DRUNTIME_DSOURCES_GENERATED) $(DRUNTIME_DISOURCES) \
	$(DRUNTIME_DSOURCES_STDCXX)

# Setup source files depending on configure
DRUNTIME_SOURCES_CONFIGURED =

# OS specific sources
if DRUNTIME_OS_POSIX
    DRUNTIME_SOURCES_CONFIGURED += $(DRUNTIME_DSOURCES_POSIX)
endif
if DRUNTIME_OS_DARWIN
    DRUNTIME_SOURCES_CONFIGURED += $(DRUNTIME_DSOURCES_DARWIN)
endif
if DRUNTIME_OS_DRAGONFLYBSD
    DRUNTIME_SOURCES_CONFIGURED += $(DRUNTIME_DSOURCES_DRAGONFLYBSD)
endif
if DRUNTIME_OS_ANDROID
    DRUNTIME_SOURCES_CONFIGURED += $(DRUNTIME_DSOURCES_BIONIC)
endif
if DRUNTIME_OS_FREEBSD
    DRUNTIME_SOURCES_CONFIGURED += $(DRUNTIME_DSOURCES_FREEBSD)
endif
if DRUNTIME_OS_NETBSD
    DRUNTIME_SOURCES_CONFIGURED += $(DRUNTIME_DSOURCES_NETBSD)
endif
if DRUNTIME_OS_OPENBSD
    DRUNTIME_SOURCES_CONFIGURED += $(DRUNTIME_DSOURCES_OPENBSD)
endif
if DRUNTIME_OS_LINUX
    DRUNTIME_SOURCES_CONFIGURED += $(DRUNTIME_DSOURCES_LINUX)
endif
if DRUNTIME_OS_MINGW
    DRUNTIME_SOURCES_CONFIGURED += $(DRUNTIME_DSOURCES_WINDOWS)
endif
if DRUNTIME_OS_SOLARIS
    DRUNTIME_SOURCES_CONFIGURED += $(DRUNTIME_DSOURCES_SOLARIS)
endif
# CPU specific sources
if DRUNTIME_CPU_AARCH64
    DRUNTIME_SOURCES_CONFIGURED += config/aarch64/switchcontext.S
endif
if DRUNTIME_CPU_ARM
    DRUNTIME_SOURCES_CONFIGURED += config/arm/switchcontext.S
endif
if DRUNTIME_CPU_MIPS
    DRUNTIME_SOURCES_CONFIGURED += config/mips/switchcontext.S
endif
if DRUNTIME_CPU_POWERPC
    DRUNTIME_SOURCES_CONFIGURED += config/powerpc/switchcontext.S
endif
if DRUNTIME_CPU_X86
if DRUNTIME_OS_MINGW
    DRUNTIME_SOURCES_CONFIGURED += config/mingw/switchcontext.S
else
    DRUNTIME_SOURCES_CONFIGURED += config/x86/switchcontext.S
endif
endif
if DRUNTIME_CPU_SYSTEMZ
    DRUNTIME_SOURCES_CONFIGURED += config/systemz/get_tls_offset.S
endif
if DRUNTIME_CPU_S390
    DRUNTIME_SOURCES_CONFIGURED += config/s390/get_tls_offset.S
endif

# Provide __start_minfo, __stop_minfo if linker doesn't.
if !DRUNTIME_OS_MINFO_BRACKETING
    DRTSTUFF = gcc/drtbegin.o gcc/drtend.o

    toolexeclib_DATA = $(DRTSTUFF)

gcc/drtbegin.o: gcc/drtstuff.c
	$(COMPILE) -DDRT_BEGIN -c -o $@ $<

gcc/drtend.o: gcc/drtstuff.c
	$(COMPILE) -DDRT_END -c -o $@ $<
endif

# Generated by configure
DRUNTIME_DSOURCES_GENERATED = gcc/config.d gcc/libbacktrace.d

ALL_DRUNTIME_SOURCES = $(DRUNTIME_DSOURCES) $(DRUNTIME_CSOURCES) \
	$(DRUNTIME_SOURCES_CONFIGURED) $(DRUNTIME_DSOURCES_GENERATED)

# Need this library to both be part of libgphobos.a, and installed separately.
# 1) separate libgdruntime.la
toolexeclib_LTLIBRARIES = libgdruntime.la
libgdruntime_la_SOURCES = $(ALL_DRUNTIME_SOURCES)
libgdruntime_la_LIBTOOLFLAGS =
libgdruntime_la_LDFLAGS = -Wc,-nophoboslib,-dstartfiles,-B../src,-Bgcc \
    -version-info $(libtool_VERSION)
libgdruntime_la_LIBADD = $(LIBATOMIC) $(LIBBACKTRACE)
libgdruntime_la_DEPENDENCIES = $(DRTSTUFF)
# Also override library link commands: This is not strictly
# required, but we want to record additional dependencies such
# as pthread in the library
libgdruntime_la_LINK = $(LIBTOOL) --tag=D $(AM_LIBTOOLFLAGS) \
	$(LIBTOOLFLAGS) --mode=link $(GDC) $(AM_CFLAGS) $(CFLAGS) \
	$(libgdruntime_la_LDFLAGS) $(LDFLAGS) -o $@

# 2) integrated libgdruntime_convenience.la that is to be part of libgphobos.a
noinst_LTLIBRARIES = libgdruntime_convenience.la
libgdruntime_convenience_la_SOURCES = $(libgdruntime_la_SOURCES)
libgdruntime_convenience_la_LIBTOOLFLAGS = $(libgdruntime_la_LIBTOOLFLAGS)
libgdruntime_convenience_la_LDFLAGS = $(libgdruntime_la_LDFLAGS)
libgdruntime_convenience_la_LIBADD = $(libgdruntime_la_LIBADD)
libgdruntime_convenience_la_DEPENDENCIES = $(libgdruntime_la_DEPENDENCIES)
libgdruntime_convenience_la_LINK = $(libgdruntime_la_LINK)

# Handles generated files as well
install-data-local:
	for file in $(ALL_DRUNTIME_INSTALL_DSOURCES); do \
	  $(MKDIR_P) `dirname $(DESTDIR)$(gdc_include_dir)/$$file` ; \
	  if test -f $$file; then \
	    $(INSTALL_HEADER) $$file $(DESTDIR)$(gdc_include_dir)/$$file ; \
	  else \
	    $(INSTALL_HEADER) $(srcdir)/$$file \
	      $(DESTDIR)$(gdc_include_dir)/$$file ; \
	  fi ; \
	done

# Source file definitions. Boring stuff, auto-generated with
# https://gist.github.com/jpf91/8ad1dbc9902d6ad876313f134c6527d1
# Can't use wildcards here:
# https://www.gnu.org/software/automake/manual/html_node/Wildcards.html

DRUNTIME_CSOURCES = core/stdc/errno_.c

DRUNTIME_DSOURCES = core/atomic.d core/attribute.d core/bitop.d \
	core/checkedint.d core/cpuid.d core/demangle.d core/exception.d \
	core/internal/abort.d core/internal/arrayop.d core/internal/convert.d \
	core/internal/hash.d core/internal/spinlock.d core/internal/string.d \
	core/internal/traits.d core/math.d core/memory.d core/runtime.d \
	core/simd.d core/stdc/assert_.d core/stdc/complex.d core/stdc/config.d \
	core/stdc/ctype.d core/stdc/errno.d core/stdc/fenv.d \
	core/stdc/float_.d core/stdc/inttypes.d core/stdc/limits.d \
	core/stdc/locale.d core/stdc/math.d core/stdc/signal.d \
	core/stdc/stdarg.d core/stdc/stddef.d core/stdc/stdint.d \
	core/stdc/stdio.d core/stdc/stdlib.d core/stdc/string.d \
	core/stdc/tgmath.d core/stdc/time.d core/stdc/wchar_.d \
	core/stdc/wctype.d core/sync/barrier.d core/sync/condition.d \
	core/sync/config.d core/sync/exception.d core/sync/mutex.d \
	core/sync/rwmutex.d core/sync/semaphore.d core/thread.d core/time.d \
	core/vararg.d gc/bits.d gc/config.d gc/gcinterface.d \
	gc/impl/conservative/gc.d gc/impl/manual/gc.d gc/os.d gc/pooltable.d \
	gc/proxy.d gcc/attribute.d gcc/backtrace.d gcc/builtins.d gcc/deh.d \
	gcc/emutls.d gcc/gthread.d gcc/sections/android.d \
	gcc/sections/elf_shared.d gcc/sections/osx.d gcc/sections/package.d \
	gcc/sections/win32.d gcc/sections/win64.d gcc/unwind/arm.d \
	gcc/unwind/arm_common.d gcc/unwind/c6x.d gcc/unwind/generic.d \
	gcc/unwind/package.d gcc/unwind/pe.d object.d rt/aApply.d rt/aApplyR.d \
	rt/aaA.d rt/adi.d rt/arrayassign.d rt/arraycast.d rt/arraycat.d \
	rt/cast_.d rt/config.d rt/critical_.d rt/deh.d rt/dmain2.d \
	rt/invariant.d rt/lifetime.d rt/memory.d rt/minfo.d rt/monitor_.d \
	rt/obj.d rt/qsort.d rt/sections.d rt/switch_.d rt/tlsgc.d \
	rt/typeinfo/ti_Acdouble.d rt/typeinfo/ti_Acfloat.d \
	rt/typeinfo/ti_Acreal.d rt/typeinfo/ti_Adouble.d \
	rt/typeinfo/ti_Afloat.d rt/typeinfo/ti_Ag.d rt/typeinfo/ti_Aint.d \
	rt/typeinfo/ti_Along.d rt/typeinfo/ti_Areal.d rt/typeinfo/ti_Ashort.d \
	rt/typeinfo/ti_C.d rt/typeinfo/ti_byte.d rt/typeinfo/ti_cdouble.d \
	rt/typeinfo/ti_cent.d rt/typeinfo/ti_cfloat.d rt/typeinfo/ti_char.d \
	rt/typeinfo/ti_creal.d rt/typeinfo/ti_dchar.d \
	rt/typeinfo/ti_delegate.d rt/typeinfo/ti_double.d \
	rt/typeinfo/ti_float.d rt/typeinfo/ti_idouble.d \
	rt/typeinfo/ti_ifloat.d rt/typeinfo/ti_int.d rt/typeinfo/ti_ireal.d \
	rt/typeinfo/ti_long.d rt/typeinfo/ti_n.d rt/typeinfo/ti_ptr.d \
	rt/typeinfo/ti_real.d rt/typeinfo/ti_short.d rt/typeinfo/ti_ubyte.d \
	rt/typeinfo/ti_ucent.d rt/typeinfo/ti_uint.d rt/typeinfo/ti_ulong.d \
	rt/typeinfo/ti_ushort.d rt/typeinfo/ti_void.d rt/typeinfo/ti_wchar.d \
	rt/util/array.d rt/util/container/array.d rt/util/container/common.d \
	rt/util/container/hashtab.d rt/util/container/treap.d rt/util/random.d \
	rt/util/typeinfo.d rt/util/utf.d

DRUNTIME_DSOURCES_STDCXX = core/stdcpp/exception.d \
	core/stdcpp/typeinfo.d

DRUNTIME_DSOURCES_BIONIC = core/sys/bionic/fcntl.d \
	core/sys/bionic/string.d core/sys/bionic/unistd.d

DRUNTIME_DSOURCES_DARWIN = core/sys/darwin/crt_externs.d \
	core/sys/darwin/dlfcn.d core/sys/darwin/execinfo.d \
	core/sys/darwin/mach/dyld.d core/sys/darwin/mach/getsect.d \
	core/sys/darwin/mach/kern_return.d core/sys/darwin/mach/loader.d \
	core/sys/darwin/mach/port.d core/sys/darwin/mach/semaphore.d \
	core/sys/darwin/mach/thread_act.d core/sys/darwin/netinet/in_.d \
	core/sys/darwin/pthread.d core/sys/darwin/string.d \
	core/sys/darwin/sys/cdefs.d core/sys/darwin/sys/event.d \
	core/sys/darwin/sys/mman.d

DRUNTIME_DSOURCES_DRAGONFLYBSD = core/sys/dragonflybsd/dlfcn.d \
	core/sys/dragonflybsd/execinfo.d core/sys/dragonflybsd/netinet/in_.d \
	core/sys/dragonflybsd/pthread_np.d core/sys/dragonflybsd/string.d \
	core/sys/dragonflybsd/sys/_bitset.d \
	core/sys/dragonflybsd/sys/_cpuset.d core/sys/dragonflybsd/sys/cdefs.d \
	core/sys/dragonflybsd/sys/elf.d core/sys/dragonflybsd/sys/elf32.d \
	core/sys/dragonflybsd/sys/elf64.d \
	core/sys/dragonflybsd/sys/elf_common.d \
	core/sys/dragonflybsd/sys/event.d core/sys/dragonflybsd/sys/link_elf.d \
	core/sys/dragonflybsd/sys/mman.d core/sys/dragonflybsd/sys/socket.d \
	core/sys/dragonflybsd/time.d

DRUNTIME_DSOURCES_FREEBSD = core/sys/freebsd/config.d \
	core/sys/freebsd/dlfcn.d core/sys/freebsd/execinfo.d \
	core/sys/freebsd/netinet/in_.d core/sys/freebsd/pthread_np.d \
	core/sys/freebsd/string.d core/sys/freebsd/sys/_bitset.d \
	core/sys/freebsd/sys/_cpuset.d core/sys/freebsd/sys/cdefs.d \
	core/sys/freebsd/sys/elf.d core/sys/freebsd/sys/elf32.d \
	core/sys/freebsd/sys/elf64.d core/sys/freebsd/sys/elf_common.d \
	core/sys/freebsd/sys/event.d core/sys/freebsd/sys/link_elf.d \
	core/sys/freebsd/sys/mman.d core/sys/freebsd/sys/mount.d \
	core/sys/freebsd/time.d core/sys/freebsd/unistd.d

DRUNTIME_DSOURCES_LINUX = core/sys/linux/config.d \
	core/sys/linux/dlfcn.d core/sys/linux/elf.d core/sys/linux/epoll.d \
	core/sys/linux/errno.d core/sys/linux/execinfo.d \
	core/sys/linux/fcntl.d core/sys/linux/ifaddrs.d core/sys/linux/link.d \
	core/sys/linux/netinet/in_.d core/sys/linux/netinet/tcp.d \
	core/sys/linux/sched.d core/sys/linux/stdio.d core/sys/linux/string.d \
	core/sys/linux/sys/auxv.d core/sys/linux/sys/eventfd.d \
	core/sys/linux/sys/file.d core/sys/linux/sys/inotify.d \
	core/sys/linux/sys/mman.d core/sys/linux/sys/prctl.d \
	core/sys/linux/sys/signalfd.d core/sys/linux/sys/socket.d \
	core/sys/linux/sys/sysinfo.d core/sys/linux/sys/time.d \
	core/sys/linux/sys/xattr.d core/sys/linux/termios.d \
	core/sys/linux/time.d core/sys/linux/timerfd.d core/sys/linux/tipc.d \
	core/sys/linux/unistd.d

DRUNTIME_DSOURCES_NETBSD = core/sys/netbsd/dlfcn.d \
	core/sys/netbsd/execinfo.d core/sys/netbsd/string.d \
	core/sys/netbsd/sys/elf.d core/sys/netbsd/sys/elf32.d \
	core/sys/netbsd/sys/elf64.d core/sys/netbsd/sys/elf_common.d \
	core/sys/netbsd/sys/event.d core/sys/netbsd/sys/featuretest.d \
	core/sys/netbsd/sys/link_elf.d core/sys/netbsd/sys/mman.d \
	core/sys/netbsd/time.d

DRUNTIME_DSOURCES_OPENBSD = core/sys/openbsd/dlfcn.d \
	core/sys/openbsd/string.d core/sys/openbsd/sys/cdefs.d \
	core/sys/openbsd/sys/elf.d core/sys/openbsd/sys/elf32.d \
	core/sys/openbsd/sys/elf64.d core/sys/openbsd/sys/elf_common.d \
	core/sys/openbsd/sys/link_elf.d core/sys/openbsd/sys/mman.d \
	core/sys/openbsd/time.d

DRUNTIME_DSOURCES_POSIX = core/sys/posix/aio.d \
	core/sys/posix/arpa/inet.d core/sys/posix/config.d \
	core/sys/posix/dirent.d core/sys/posix/dlfcn.d core/sys/posix/fcntl.d \
	core/sys/posix/grp.d core/sys/posix/iconv.d core/sys/posix/inttypes.d \
	core/sys/posix/libgen.d core/sys/posix/mqueue.d \
	core/sys/posix/net/if_.d core/sys/posix/netdb.d \
	core/sys/posix/netinet/in_.d core/sys/posix/netinet/tcp.d \
	core/sys/posix/poll.d core/sys/posix/pthread.d core/sys/posix/pwd.d \
	core/sys/posix/sched.d core/sys/posix/semaphore.d \
	core/sys/posix/setjmp.d core/sys/posix/signal.d core/sys/posix/spawn.d \
	core/sys/posix/stdio.d core/sys/posix/stdlib.d \
	core/sys/posix/sys/filio.d core/sys/posix/sys/ioccom.d \
	core/sys/posix/sys/ioctl.d core/sys/posix/sys/ipc.d \
	core/sys/posix/sys/mman.d core/sys/posix/sys/msg.d \
	core/sys/posix/sys/resource.d core/sys/posix/sys/select.d \
	core/sys/posix/sys/shm.d core/sys/posix/sys/socket.d \
	core/sys/posix/sys/stat.d core/sys/posix/sys/statvfs.d \
	core/sys/posix/sys/time.d core/sys/posix/sys/ttycom.d \
	core/sys/posix/sys/types.d core/sys/posix/sys/uio.d \
	core/sys/posix/sys/un.d core/sys/posix/sys/utsname.d \
	core/sys/posix/sys/wait.d core/sys/posix/syslog.d \
	core/sys/posix/termios.d core/sys/posix/time.d \
	core/sys/posix/ucontext.d core/sys/posix/unistd.d \
	core/sys/posix/utime.d

DRUNTIME_DSOURCES_SOLARIS = core/sys/solaris/dlfcn.d \
	core/sys/solaris/elf.d core/sys/solaris/execinfo.d \
	core/sys/solaris/libelf.d core/sys/solaris/link.d \
	core/sys/solaris/sys/elf.d core/sys/solaris/sys/elf_386.d \
	core/sys/solaris/sys/elf_SPARC.d core/sys/solaris/sys/elf_amd64.d \
	core/sys/solaris/sys/elf_notes.d core/sys/solaris/sys/elftypes.d \
	core/sys/solaris/sys/link.d core/sys/solaris/sys/priocntl.d \
	core/sys/solaris/sys/procset.d core/sys/solaris/sys/types.d \
	core/sys/solaris/time.d

DRUNTIME_DSOURCES_WINDOWS = core/sys/windows/accctrl.d \
	core/sys/windows/aclapi.d core/sys/windows/aclui.d \
	core/sys/windows/basetsd.d core/sys/windows/basetyps.d \
	core/sys/windows/cderr.d core/sys/windows/cguid.d \
	core/sys/windows/com.d core/sys/windows/comcat.d \
	core/sys/windows/commctrl.d core/sys/windows/commdlg.d \
	core/sys/windows/core.d core/sys/windows/cpl.d \
	core/sys/windows/cplext.d core/sys/windows/custcntl.d \
	core/sys/windows/dbghelp.d core/sys/windows/dbghelp_types.d \
	core/sys/windows/dbt.d core/sys/windows/dde.d core/sys/windows/ddeml.d \
	core/sys/windows/dhcpcsdk.d core/sys/windows/dlgs.d \
	core/sys/windows/dll.d core/sys/windows/docobj.d \
	core/sys/windows/errorrep.d core/sys/windows/exdisp.d \
	core/sys/windows/exdispid.d core/sys/windows/httpext.d \
	core/sys/windows/idispids.d core/sys/windows/imagehlp.d \
	core/sys/windows/imm.d core/sys/windows/intshcut.d \
	core/sys/windows/ipexport.d core/sys/windows/iphlpapi.d \
	core/sys/windows/ipifcons.d core/sys/windows/iprtrmib.d \
	core/sys/windows/iptypes.d core/sys/windows/isguids.d \
	core/sys/windows/lm.d core/sys/windows/lmaccess.d \
	core/sys/windows/lmalert.d core/sys/windows/lmapibuf.d \
	core/sys/windows/lmat.d core/sys/windows/lmaudit.d \
	core/sys/windows/lmbrowsr.d core/sys/windows/lmchdev.d \
	core/sys/windows/lmconfig.d core/sys/windows/lmcons.d \
	core/sys/windows/lmerr.d core/sys/windows/lmerrlog.d \
	core/sys/windows/lmmsg.d core/sys/windows/lmremutl.d \
	core/sys/windows/lmrepl.d core/sys/windows/lmserver.d \
	core/sys/windows/lmshare.d core/sys/windows/lmsname.d \
	core/sys/windows/lmstats.d core/sys/windows/lmsvc.d \
	core/sys/windows/lmuse.d core/sys/windows/lmuseflg.d \
	core/sys/windows/lmwksta.d core/sys/windows/lzexpand.d \
	core/sys/windows/mapi.d core/sys/windows/mciavi.d \
	core/sys/windows/mcx.d core/sys/windows/mgmtapi.d \
	core/sys/windows/mmsystem.d core/sys/windows/msacm.d \
	core/sys/windows/mshtml.d core/sys/windows/mswsock.d \
	core/sys/windows/nb30.d core/sys/windows/nddeapi.d \
	core/sys/windows/nspapi.d core/sys/windows/ntdef.d \
	core/sys/windows/ntdll.d core/sys/windows/ntldap.d \
	core/sys/windows/ntsecapi.d core/sys/windows/ntsecpkg.d \
	core/sys/windows/oaidl.d core/sys/windows/objbase.d \
	core/sys/windows/objfwd.d core/sys/windows/objidl.d \
	core/sys/windows/objsafe.d core/sys/windows/ocidl.d \
	core/sys/windows/odbcinst.d core/sys/windows/ole.d \
	core/sys/windows/ole2.d core/sys/windows/ole2ver.d \
	core/sys/windows/oleacc.d core/sys/windows/oleauto.d \
	core/sys/windows/olectl.d core/sys/windows/olectlid.d \
	core/sys/windows/oledlg.d core/sys/windows/oleidl.d \
	core/sys/windows/pbt.d core/sys/windows/powrprof.d \
	core/sys/windows/prsht.d core/sys/windows/psapi.d \
	core/sys/windows/rapi.d core/sys/windows/ras.d \
	core/sys/windows/rasdlg.d core/sys/windows/raserror.d \
	core/sys/windows/rassapi.d core/sys/windows/reason.d \
	core/sys/windows/regstr.d core/sys/windows/richedit.d \
	core/sys/windows/richole.d core/sys/windows/rpc.d \
	core/sys/windows/rpcdce.d core/sys/windows/rpcdce2.d \
	core/sys/windows/rpcdcep.d core/sys/windows/rpcndr.d \
	core/sys/windows/rpcnsi.d core/sys/windows/rpcnsip.d \
	core/sys/windows/rpcnterr.d core/sys/windows/schannel.d \
	core/sys/windows/secext.d core/sys/windows/security.d \
	core/sys/windows/servprov.d core/sys/windows/setupapi.d \
	core/sys/windows/shellapi.d core/sys/windows/shldisp.d \
	core/sys/windows/shlguid.d core/sys/windows/shlobj.d \
	core/sys/windows/shlwapi.d core/sys/windows/snmp.d \
	core/sys/windows/sql.d core/sys/windows/sqlext.d \
	core/sys/windows/sqltypes.d core/sys/windows/sqlucode.d \
	core/sys/windows/sspi.d core/sys/windows/stacktrace.d \
	core/sys/windows/stat.d core/sys/windows/subauth.d \
	core/sys/windows/threadaux.d core/sys/windows/tlhelp32.d \
	core/sys/windows/tmschema.d core/sys/windows/unknwn.d \
	core/sys/windows/uuid.d core/sys/windows/vfw.d \
	core/sys/windows/w32api.d core/sys/windows/winbase.d \
	core/sys/windows/winber.d core/sys/windows/wincon.d \
	core/sys/windows/wincrypt.d core/sys/windows/windef.d \
	core/sys/windows/windows.d core/sys/windows/winerror.d \
	core/sys/windows/wingdi.d core/sys/windows/winhttp.d \
	core/sys/windows/wininet.d core/sys/windows/winioctl.d \
	core/sys/windows/winldap.d core/sys/windows/winnetwk.d \
	core/sys/windows/winnls.d core/sys/windows/winnt.d \
	core/sys/windows/winperf.d core/sys/windows/winreg.d \
	core/sys/windows/winsock2.d core/sys/windows/winspool.d \
	core/sys/windows/winsvc.d core/sys/windows/winuser.d \
	core/sys/windows/winver.d core/sys/windows/wtsapi32.d \
	core/sys/windows/wtypes.d

DRUNTIME_DISOURCES = __entrypoint.di __main.di