comparison make/windows/makefiles/debug.make @ 6020:d652a62d6e03

7102323: RFE: enable Full Debug Symbols Phase 1 on Solaris Summary: Add support for ENABLE_FULL_DEBUG_SYMBOLS and ZIP_DEBUGINFO_FILES build flags. Add support for .diz files. Reviewed-by: dholmes, ohair, sspitsyn
author dcubed
date Fri, 23 Mar 2012 11:50:33 -0700
parents 719f7007c8e8
children 74c359c4a9e5
comparison
equal deleted inserted replaced
4958:3b24e7e01d20 6020:d652a62d6e03
1 # 1 #
2 # Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 2 # Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 # 4 #
5 # This code is free software; you can redistribute it and/or modify it 5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as 6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation. 7 # published by the Free Software Foundation.
59 # The previous link command created a .manifest file that we want to 59 # The previous link command created a .manifest file that we want to
60 # insert into the linked artifact so we do not need to track it 60 # insert into the linked artifact so we do not need to track it
61 # separately. Use ";#2" for .dll and ";#1" for .exe: 61 # separately. Use ";#2" for .dll and ";#1" for .exe:
62 $(MT) /manifest $@.manifest /outputresource:$@;#2 62 $(MT) /manifest $@.manifest /outputresource:$@;#2
63 !endif 63 !endif
64 !if "$(ENABLE_FULL_DEBUG_SYMBOLS)" == "1"
65 !if "$(ZIP_DEBUGINFO_FILES)" == "1"
66 $(ZIPEXE) -q $*.diz $*.map $*.pdb
67 $(RM) $*.map $*.pdb
68 !endif
69 !endif
64 70
65 !include $(WorkSpace)/make/windows/makefiles/shared.make 71 !include $(WorkSpace)/make/windows/makefiles/shared.make
66 !include $(WorkSpace)/make/windows/makefiles/sa.make 72 !include $(WorkSpace)/make/windows/makefiles/sa.make
67 !include $(WorkSpace)/make/windows/makefiles/launcher.make 73 !include $(WorkSpace)/make/windows/makefiles/launcher.make