-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
None
-
beta
-
x86
-
windows_nt
Name: dsR10078 Date: 05/19/2000
###@###.###
Configuration:
- Intel 2xPII266 (Dell)
- WinNT 4.0 sp 5, IE 5
- gnumake 3.78.1
- The workspace is on the network drive and is accessed from my machine
with NFS Solstice Client (Solstice version 3.1.0.0).
When i run nmake in a subdirectory, e.g. `build\win32\sun\awt'
it builds the corresponding subtarget - awt.dll and awt_g.dll
in this case. When i tried the same with GNU make it checks
the first object file from the list and exits.
For example, i modified src\win32\native\sun\windows\awt_Toolkit.cpp
and then run nmake in `build\win32\sun\awt'. Here is the output:
====================== NMAKE OUTPUT BEGIN =================================
K:\das\merlin-ws\build\win32\sun\awt>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
NMAKE -nologo VARIANT=OPT RELEASE="1.4.0" FULL_VERSION="das" ..\..\bin\awt.dll
cl -nologo -DWIN32 -DIAL -D_X86_ -Dx86 -D_LITTLE_ENDIAN -DWIN32_LEAN_AND_MEAN -DRELEASE="\"1.4.0\"" -DFULL_VERSION="\"das\"" -MD -Zi -Ox -GB -Os -Gy-I. -ICClassHeaders -I..\..\..\..\src\share\javavm\export -I..\..\..\..\src\win32\javavm\export -I..\..\java\jvm\CClassHeaders -I..\..\..\..\src\share\native\common -I..\..\..\..\src\win32\native\sun\windows -I..\..\..\..\src\share\native\sun\awt\image\cvutils -I..\..\..\..\src\share\native\sun\awt\image -I..\..\..\..\src\share\native\sun\java2d\loops -I..\..\..\..\src\share\native\sun\java2d -I..\..\..\..\src\share\native\sun\java2d\pipe -I..\..\..\..\src\share\native\sun\dc\path -I..\..\..\..\src\share\native\sun\dc\doe -I..\..\..\..\src\share\native\sun\awt\alphacomposite -I..\..\..\..\src\share\native\sun\awt\debug -I..\..\..\..\src\share\native\common -I..\..\..\..\src\win32\native\common -W3 -WX -GX -DMLIB_NO_LIBSUNMATH -c -Foobj\awt_Toolkit.obj ..\..\..\..\src\win32\native\sun\windows\awt_Toolkit.cpp
awt_Toolkit.cpp
Created awt.lcf
link -dll -out:awt.dll -nologo -map -opt:REF -debug @awt.lcf ..\..\lib\java.lib kernel32.lib user32.lib gdi32.lib winspool.lib imm32.lib ole32.lib winmm.lib uuid.lib ..\..\lib\jvm.lib advapi32.lib
Creating library awt.lib and object awt.exp
copy awt.dll ..\..\bin\awt.dll
1 file(s) copied.
del/f/q ..\..\lib\font.properties
copy ..\..\..\..\src\win32\classes\sun\awt\windows\font.properties ..\..\lib
1 file(s) copied.
del/f/q ..\..\lib\font.properties.ar
copy ..\..\..\..\src\win32\classes\sun\awt\windows\font.properties.ar ..\..\lib
1 file(s) copied.
del/f/q ..\..\lib\font.properties.iw
copy ..\..\..\..\src\win32\classes\sun\awt\windows\font.properties.iw ..\..\lib
1 file(s) copied.
del/f/q ..\..\lib\font.properties.ja
copy ..\..\..\..\src\win32\classes\sun\awt\windows\font.properties.ja ..\..\lib
1 file(s) copied.
del/f/q ..\..\lib\font.properties.ko
copy ..\..\..\..\src\win32\classes\sun\awt\windows\font.properties.ko ..\..\lib
1 file(s) copied.
del/f/q ..\..\lib\font.properties.ru
copy ..\..\..\..\src\win32\classes\sun\awt\windows\font.properties.ru ..\..\lib
1 file(s) copied.
del/f/q ..\..\lib\font.properties.th
copy ..\..\..\..\src\win32\classes\sun\awt\windows\font.properties.th ..\..\lib
1 file(s) copied.
del/f/q ..\..\lib\font.properties.zh
copy ..\..\..\..\src\win32\classes\sun\awt\windows\font.properties.zh ..\..\lib
1 file(s) copied.
del/f/q ..\..\lib\font.properties.zh.NT4.0
copy ..\..\..\..\src\win32\classes\sun\awt\windows\font.properties.zh.NT4.0 ..\..\lib
1 file(s) copied.
del/f/q ..\..\lib\font.properties.zh_TW
copy ..\..\..\..\src\win32\classes\sun\awt\windows\font.properties.zh_TW ..\..\lib
1 file(s) copied.
del/f/q ..\..\classes\sun\awt\windows\awtLocalization.properties
copy ..\..\..\..\src\win32\classes\sun\awt\windows\awtLocalization.properties ..\..\classes\sun\awt\windows
1 file(s) copied.
del/f/q ..\..\classes\sun\awt\windows\awtLocalization_ja.properties
copy ..\..\..\..\src\win32\classes\sun\awt\windows\awtLocalization_ja.properties ..\..\classes\sun\awt\windows
1 file(s) copied.
del/f/q ..\..\classes\sun\awt\windows\awtLocalization_ko.properties
copy ..\..\..\..\src\win32\classes\sun\awt\windows\awtLocalization_ko.properties ..\..\classes\sun\awt\windows
1 file(s) copied.
del/f/q ..\..\classes\sun\awt\windows\awtLocalization_zh.properties
copy ..\..\..\..\src\win32\classes\sun\awt\windows\awtLocalization_zh.properties ..\..\classes\sun\awt\windows
1 file(s) copied.
del/f/q ..\..\classes\sun\awt\print\resources\pdialog.properties
copy ..\..\..\..\src\share\classes\sun\awt\print\resources\pdialog.properties ..\..\classes\sun\awt\print\resources
1 file(s) copied.
del/f/q ..\..\classes\sun\awt\print\resources\pdialog_ja.properties
copy ..\..\..\..\src\share\classes\sun\awt\print\resources\pdialog_ja.properties ..\..\classes\sun\awt\print\resources
1 file(s) copied.
del/f/q ..\..\classes\sun\awt\print\resources\pdialog_zh.properties
copy ..\..\..\..\src\share\classes\sun\awt\print\resources\pdialog_zh.properties ..\..\classes\sun\awt\print\resources
1 file(s) copied.
del/f/q ..\..\classes\sun\awt\print\resources\orientPortrait.gif
copy ..\..\..\..\src\share\classes\sun\awt\print\resources\orientPortrait.gif ..\..\classes\sun\awt\print\resources
1 file(s) copied.
del/f/q ..\..\classes\sun\awt\print\resources\orientLandscape.gif
copy ..\..\..\..\src\share\classes\sun\awt\print\resources\orientLandscape.gif ..\..\classes\sun\awt\print\resources
1 file(s) copied.
NMAKE -nologo VARIANT=DBG RELEASE="1.4.0" FULL_VERSION="das" ..\..\bin\awt_g.dll
cl -nologo -DWIN32 -DIAL -D_X86_ -Dx86 -D_LITTLE_ENDIAN -DWIN32_LEAN_AND_MEAN -DRELEASE="\"1.4.0\"" -DFULL_VERSION="\"das\"" -MDd -Zi -Od -DDEBUG -I.
-ICClassHeaders -I..\..\..\..\src\share\javavm\export -I..\..\..\..\src\win32\javavm\export -I..\..\java\jvm\CClassHeaders -I..\..\..\..\src\share\native\common -I..\..\..\..\src\win32\native\sun\windows -I..\..\..\..\src\share\native\sun\awt\image\cvutils -I..\..\..\..\src\share\native\sun\awt\image -I..\..\..\..\src\share\native\sun\java2d\loops -I..\..\..\..\src\share\native\sun\java2d -I..\..\..\..\src\share\native\sun\java2d\pipe -I..\..\..\..\src\share\native\sun\dc\path -I..\..\..\..\src\share\native\sun\dc\doe -I..\..\..\..\src\share\native\sun\awt\alphacomposite -I..\..\..\..\src\share\native\sun\awt\debug -I..\..\..\..\src\share\native\common -I..\..\..\..\src\win32\native\common -W3 -WX -GX -DMLIB_NO_LIBSUNMATH -c -Foobj_g\awt_Toolkit.obj ..\..\..\..\src\win32\native\sun\windows\awt_Toolkit.cpp
awt_Toolkit.cpp
Created awt_g.lcf
link -dll -out:awt_g.dll -nologo -map -opt:REF -debug @awt_g.lcf ..\..\lib\java_g.lib kernel32.lib user32.lib gdi32.lib winspool.lib imm32.lib ole32.lib winmm.lib uuid.lib ..\..\lib\jvm_g.lib advapi32.lib
Creating library awt_g.lib and object awt_g.exp
copy awt_g.dll ..\..\bin\awt_g.dll
1 file(s) copied.
====================== NMAKE OUTPUT END ===================================
Then i try the same with GNU make.
First i check with `ls' that subtarget awt.dll is really out-of-date:
====================== LS OUTPUT BEGIN ====================================
K:\das\merlin-ws>ls -al buildOutput\win32\temp\sun\sun.awt\awt\obj\awt.dll
-rwxrwxrwa 1 Everyone Everyone 815188 May 17 18:23 buildOutput\win32\temp\sun\sun.awt\awt\obj\awt.dll
K:\das\merlin-ws>ls -al buildOutput\win32\temp\sun\sun.awt\awt\obj\awt_Toolkit.obj
-rwxrwxrwa 1 Everyone Everyone 113100 May 17 18:20 buildOutput\win32\temp\sun\sun.awt\awt\obj\awt_Toolkit.obj
K:\das\merlin-ws>ls -al src\win32\native\sun\windows\awt_Toolkit.cpp
-r-xr-xr-a 1 Everyone Everyone 55045 May 19 20:41 src\win32\native\sun\windows\awt_Toolkit.cpp
====================== LS OUTPUT END ======================================
Then i run gnumake in `build\solaris\sun\awt' subdirectory.
Here is the output:
====================== GNUMAKE OUTPUT BEGIN =================================
K:\das\merlin-ws\build\solaris\sun\awt>gnumake
gnumake: `../../../../buildOutput/win32/temp/sun/sun.awt/awt/obj/ARGBbgpaintARGB.obj' is up to date.
====================== GNUMAKE OUTPUT END ===================================
So GNU make doesn't rebuild subtargets the way nmake does.
======================================================================