comparison make/bsd/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 f509b8f4699b
children d8041d695d19
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.
151 endif 151 endif
152 152
153 install_saproc: $(BUILDLIBSAPROC) 153 install_saproc: $(BUILDLIBSAPROC)
154 @echo "Copying $(LIBSAPROC) to $(DEST_SAPROC)" 154 @echo "Copying $(LIBSAPROC) to $(DEST_SAPROC)"
155 ifeq ($(OS_VENDOR), Darwin) 155 ifeq ($(OS_VENDOR), Darwin)
156 $(QUIETLY) test -d $(LIBSAPROC_DEBUGINFO) && \ 156 $(QUIETLY) test ! -d $(LIBSAPROC_DEBUGINFO) || \
157 cp -f -r $(LIBSAPROC_DEBUGINFO) $(DEST_SAPROC_DEBUGINFO) 157 cp -f -r $(LIBSAPROC_DEBUGINFO) $(DEST_SAPROC_DEBUGINFO)
158 else 158 else
159 $(QUIETLY) test -f $(LIBSAPROC_DEBUGINFO) && \ 159 $(QUIETLY) test ! -f $(LIBSAPROC_DEBUGINFO) || \
160 cp -f $(LIBSAPROC_DEBUGINFO) $(DEST_SAPROC_DEBUGINFO) 160 cp -f $(LIBSAPROC_DEBUGINFO) $(DEST_SAPROC_DEBUGINFO)
161 endif 161 endif
162 $(QUIETLY) test -f $(LIBSAPROC_DIZ) && \ 162 $(QUIETLY) test ! -f $(LIBSAPROC_DIZ) || \
163 cp -f $(LIBSAPROC_DIZ) $(DEST_SAPROC_DIZ) 163 cp -f $(LIBSAPROC_DIZ) $(DEST_SAPROC_DIZ)
164 $(QUIETLY) cp -f $(LIBSAPROC) $(DEST_SAPROC) && echo "Done" 164 $(QUIETLY) cp -f $(LIBSAPROC) $(DEST_SAPROC) && echo "Done"
165 165
166 .PHONY: install_saproc 166 .PHONY: install_saproc