comparison make/windows/makefiles/shared.make @ 6603:0d8e265ba727

7181175: Enable builds on Windows with MinGW/MSYS Summary: This fix is the minimum number of Makefile changes to enable building HotSpot with MinGW/MSYS Reviewed-by: jcoomes, dcubed, tbell, ohair Contributed-by: volker.simonis@gmail.com
author dcubed
date Fri, 03 Aug 2012 18:34:28 -0700
parents 719f7007c8e8
children b9a9ed0f8eeb
comparison
equal deleted inserted replaced
6602:282abd0fd878 6603:0d8e265ba727
34 CXX=cl.exe 34 CXX=cl.exe
35 !endif 35 !endif
36 36
37 37
38 !ifdef SUBDIRS 38 !ifdef SUBDIRS
39 # \ is used below because $(MAKE) is nmake here, which expects Windows paths
39 $(SUBDIRS): FORCE 40 $(SUBDIRS): FORCE
40 @if not exist $@ mkdir $@ 41 @if not exist $@ mkdir $@
41 @if not exist $@\local.make echo # Empty > $@\local.make 42 @if not exist $@/local.make echo # Empty > $@/local.make
42 @echo nmake $(ACTION) in $(DIR)\$@ 43 @echo nmake $(ACTION) in $(DIR)/$@
43 cd $@ && $(MAKE) /NOLOGO /f $(WorkSpace)\make\windows\makefiles\$@.make $(ACTION) DIR=$(DIR)\$@ BUILD_FLAVOR=$(BUILD_FLAVOR) 44 cd $@ && $(MAKE) -NOLOGO -f $(WorkSpace)\make\windows\makefiles\$@.make $(ACTION) DIR=$(DIR)\$@ BUILD_FLAVOR=$(BUILD_FLAVOR)
44 !endif 45 !endif
45 46
46 # Creates the needed directory 47 # Creates the needed directory
47 create:: 48 create::
48 !if "$(DIR)" != "." 49 !if "$(DIR)" != "."