Mercurial > projects > ldc
view druntime/src/dmd-win32.mak @ 1504:855f188aab7a
Added a stripModifiers() function to remove shared|const|immutable storage classes in D2 (should eventually be moved to a dhelpers file rather than llvm helpers).
Replaced a few occurances of STCinvariant with STCimmutable.
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Thu, 18 Jun 2009 15:44:04 +0100 |
parents | e0b2d67cfe7c |
children |
line wrap: on
line source
# Makefile to build the composite D runtime library for Linux # Designed to work with GNU make # Targets: # make # Same as make all # make debug # Build the debug version of the library # make release # Build the release version of the library # make doc # Generate documentation # make clean # Delete all files created by build process # Essentials LIBDIR=..\lib DOCDIR=..\doc LIBBASENAME=druntime.lib DIR_CC=common DIR_RT=compiler\dmd DIR_GC=gc\basic # Symbols DMD=dmd # Targets all : debug release doc unittest $(LIBDIR)\$(LIBBASENAME) # unittest : # $(MAKE) -fdmd-posix.mak lib MAKE_LIB="unittest" # dmd -unittest unittest ../import/core/stdc/stdarg \ # -defaultlib="$(DUP_TARGET)" -debuglib="$(DUP_TARGET)" # $(RM) stdarg.o # ./unittest debug release unittest : cd $(DIR_CC) make DMD=$(DMD) -fwin32.mak $@ cd .. cd $(DIR_RT) make DMD=$(DMD) -fwin32.mak $@ cd ..\.. cd $(DIR_GC) make DMD=$(DMD) -fwin32.mak $@ cd ..\.. $(DMD) -lib -of$(LIBDIR)\$@\$(LIBBASENAME) \ $(LIBDIR)\$@\druntime_core.lib \ $(LIBDIR)\$@\druntime_rt_dmd.lib \ $(LIBDIR)\$@\druntime_gc_basic.lib $(LIBDIR)\$(LIBBASENAME) : $(LIBDIR)\release\$(LIBBASENAME) copy /y $** $@ doc : $(ALL_DOCS) cd $(DIR_CC) make DMD=$(DMD) -fwin32.mak $@ cd .. # cd $(DIR_RT) # make DMD=$(DMD) -fwin32.mak $@ # cd ..\.. # cd $(DIR_GC) # make DMD=$(DMD) -fwin32.mak $@ # cd ..\.. ###################################################### clean : $(ALL_DOCS) cd $(DIR_CC) make DMD=$(DMD) -fwin32.mak $@ cd .. cd $(DIR_RT) make DMD=$(DMD) -fwin32.mak $@ cd ..\.. cd $(DIR_GC) make DMD=$(DMD) -fwin32.mak $@ cd ..\.. #find . -name "*.di" | xargs $(RM) #rm -rf $(LIBDIR) $(DOCDIR) # install : # make -C $(DIR_CC) --no-print-directory -fposix.mak install # make -C $(DIR_RT) --no-print-directory -fposix.mak install # make -C $(DIR_GC) --no-print-directory -fposix.mak install # $(CP) $(LIB_MASK) $(LIB_DEST)\. # $(CP) $(DUP_MASK) $(LIB_DEST)\.