1 # Makefile to build the composite D runtime library for Win32
\r
2 # Designed to work with DigitalMars make
\r
7 # Build the runtime library
\r
9 # Generate documentation
\r
11 # Delete unneeded files created by build process
\r
13 LIB_TARGET=druntime-dmd.lib
\r
14 LIB_MASK=druntime-dmd*.lib
\r
20 LIB_CC=$(DIR_CC)\druntime-core.lib
\r
21 LIB_RT=$(DIR_RT)\druntime-rt-dmd.lib
\r
22 LIB_GC=$(DIR_GC)\druntime-gc-basic.lib
\r
40 ######################################################
\r
44 ######################################################
\r
48 ######################################################
\r
52 make -fwin32.mak lib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
\r
55 make -fwin32.mak lib
\r
58 make -fwin32.mak lib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
\r
61 $(LC) -c -n $(LIB_TARGET) $(LIB_CC) $(LIB_RT) $(LIB_GC)
\r
65 make -fwin32.mak doc
\r
68 make -fwin32.mak doc
\r
71 make -fwin32.mak doc
\r
74 ######################################################
\r
81 make -fwin32.mak clean
\r
84 make -fwin32.mak clean
\r
87 make -fwin32.mak clean
\r
93 make -fwin32.mak install
\r
96 make -fwin32.mak install
\r
99 make -fwin32.mak install
\r
101 $(CP) $(LIB_MASK) $(LIB_DEST)\.
\r