DIR_CC=common
DIR_RT=compiler\dmd
DIR_GC=gc\basic
+DIR_GC_STUB=gc\stub
LIB_CC=$(DIR_CC)\druntime-core.lib
LIB_RT=$(DIR_RT)\druntime-rt-dmd.lib
cd $(DIR_GC)
make -fwin32.mak lib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
cd ..\..
+ cd $(DIR_GC_STUB)
+ make -fwin32.mak lib DC=$(DC) ADD_DFLAGS="$(ADD_DFLAGS)" ADD_CFLAGS="$(ADD_CFLAGS)"
+ cd ..\..
$(RM) $(LIB_TARGET)
$(LC) -c -n $(LIB_TARGET) $(LIB_CC) $(LIB_RT) $(LIB_GC)
$(RM) $(DUP_TARGET)
copy $(LIB_TARGET) $(DUP_TARGET)
+
doc : $(ALL_DOCS)
cd $(DIR_CC)
make -fwin32.mak doc DC=$(DC)
cd $(DIR_GC)
make -fwin32.mak doc DC=$(DC)
cd ..\..
+ cd $(DIR_GC_STUB)
+ make -fwin32.mak doc DC=$(DC)
+ cd ..\..
######################################################
cd $(DIR_GC)
make -fwin32.mak clean
cd ..\..
+ cd $(DIR_GC_STUB)
+ make -fwin32.mak clean
+ cd ..\..
$(RM) $(LIB_MASK)
install :
cd $(DIR_GC)
make -fwin32.mak install
cd ..\..
+ cd $(DIR_GC_STUB)
+ make -fwin32.mak install
+ cd ..\..
$(CP) $(LIB_MASK) $(LIB_DEST)\.
# make clean
# Delete unneeded files created by build process
-LIB_TARGET=tango-gc-stub.lib
-LIB_MASK=tango-gc-stub*.lib
+LIB_TARGET=druntime-gc-stub.lib
+LIB_MASK=druntime-gc-stub*.lib
CP=xcopy /y
RM=del /f
LC=lib
DC=dmd
-LIB_DEST=..
+LIB_DEST=..\..\..\lib
.DEFAULT: .asm .c .cpp .d .html .obj
install :
$(MD) $(LIB_DEST)
$(CP) $(LIB_MASK) $(LIB_DEST)\.
+ copy gc.obj $(LIB_DEST)\gcstub.obj