1 # Makefile to build the composite D runtime library for Win32
2 # Designed to work with DigitalMars make
7 # Build the runtime library
9 # Generate documentation
11 # Delete unneeded files created by build process
13 LIB_TARGET=druntime-dmd.lib
14 DUP_TARGET=druntime.lib
15 LIB_MASK=druntime*.lib
22 LIB_CC=$(DIR_CC)\druntime-core.lib
23 LIB_RT=$(DIR_RT)\druntime-rt-dmd.lib
24 LIB_GC=$(DIR_GC)\druntime-gc-basic.lib
42 ######################################################
46 ######################################################
50 ######################################################
54 make -fwin32.mak lib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
57 make -fwin32.mak lib DC=$(DC)
60 make -fwin32.mak lib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
63 make -fwin32.mak lib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
66 $(LC) -c -n $(LIB_TARGET) $(LIB_CC) $(LIB_RT) $(LIB_GC)
68 copy $(LIB_TARGET) $(DUP_TARGET)
73 make -fwin32.mak doc DC=$(DC)
76 make -fwin32.mak doc DC=$(DC)
79 make -fwin32.mak doc DC=$(DC)
82 make -fwin32.mak doc DC=$(DC)
85 ######################################################
92 make -fwin32.mak clean
95 make -fwin32.mak clean
98 make -fwin32.mak clean
101 make -fwin32.mak clean
107 make -fwin32.mak install
110 make -fwin32.mak install
113 make -fwin32.mak install
116 make -fwin32.mak install
118 $(CP) $(LIB_MASK) $(LIB_DEST)\.