comparison make/linux/makefiles/saproc.make @ 14331:67d6392ed21e

8033714: hotspot 'install_jvm' bld target broken with ZIP_DEBUGINFO_FILES=0 Summary: fixed faulty logic in makefiles when compressed FDS builds are disabled Reviewed-by: rdurbin, dholmes, never, dnsimon, tbell
author dcubed
date Fri, 07 Feb 2014 09:03:44 -0800
parents de6a9e811145
children 4ca6dc0799b6
comparison
equal deleted inserted replaced
14330:9341a9963d36 14331:67d6392ed21e
1 # 1 #
2 # Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. 2 # Copyright (c) 2005, 2014, 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.
111 $(RM) $(LIBSAPROC_DEBUGINFO) 111 $(RM) $(LIBSAPROC_DEBUGINFO)
112 endif 112 endif
113 endif 113 endif
114 114
115 install_saproc: $(BUILDLIBSAPROC) 115 install_saproc: $(BUILDLIBSAPROC)
116 $(QUIETLY) if [ -e $(LIBSAPROC) ] ; then \ 116 $(QUIETLY) if [ -e $(LIBSAPROC) ] ; then \
117 echo "Copying $(LIBSAPROC) to $(DEST_SAPROC)"; \ 117 echo "Copying $(LIBSAPROC) to $(DEST_SAPROC)"; \
118 test -f $(LIBSAPROC_DEBUGINFO) && \ 118 test ! -f $(LIBSAPROC_DEBUGINFO) || \
119 cp -f $(LIBSAPROC_DEBUGINFO) $(DEST_SAPROC_DEBUGINFO); \ 119 cp -f $(LIBSAPROC_DEBUGINFO) $(DEST_SAPROC_DEBUGINFO); \
120 test -f $(LIBSAPROC_DIZ) && \ 120 test ! -f $(LIBSAPROC_DIZ) || \
121 cp -f $(LIBSAPROC_DIZ) $(DEST_SAPROC_DIZ); \ 121 cp -f $(LIBSAPROC_DIZ) $(DEST_SAPROC_DIZ); \
122 cp -f $(LIBSAPROC) $(DEST_SAPROC) && echo "Done"; \ 122 cp -f $(LIBSAPROC) $(DEST_SAPROC) && echo "Done"; \
123 fi 123 fi
124 124
125 .PHONY: install_saproc 125 .PHONY: install_saproc