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
21 LIB_CC=$(DIR_CC)\druntime-core.lib
22 LIB_RT=$(DIR_RT)\druntime-rt-dmd.lib
23 LIB_GC=$(DIR_GC)\druntime-gc-basic.lib
41 ######################################################
45 ######################################################
49 ######################################################
53 make -fwin32.mak lib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
56 make -fwin32.mak lib DC=$(DC)
59 make -fwin32.mak lib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
62 $(LC) -c -n $(LIB_TARGET) $(LIB_CC) $(LIB_RT) $(LIB_GC)
64 copy $(LIB_TARGET) $(DUP_TARGET)
68 make -fwin32.mak doc DC=$(DC)
71 make -fwin32.mak doc DC=$(DC)
74 make -fwin32.mak doc DC=$(DC)
77 ######################################################
84 make -fwin32.mak clean
87 make -fwin32.mak clean
90 make -fwin32.mak clean
96 make -fwin32.mak install
99 make -fwin32.mak install
102 make -fwin32.mak install
104 $(CP) $(LIB_MASK) $(LIB_DEST)\.