equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 2005, 2012, 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. |
145 $(RM) $(LIBSAPROC_DEBUGINFO) |
145 $(RM) $(LIBSAPROC_DEBUGINFO) |
146 endif |
146 endif |
147 endif |
147 endif |
148 |
148 |
149 install_saproc: $(BULDLIBSAPROC) |
149 install_saproc: $(BULDLIBSAPROC) |
150 $(QUIETLY) if [ -f $(LIBSAPROC) ] ; then \ |
150 $(QUIETLY) if [ -f $(LIBSAPROC) ] ; then \ |
151 echo "Copying $(LIBSAPROC) to $(DEST_SAPROC)"; \ |
151 echo "Copying $(LIBSAPROC) to $(DEST_SAPROC)"; \ |
152 test -f $(LIBSAPROC_DEBUGINFO) && \ |
152 test ! -f $(LIBSAPROC_DEBUGINFO) || \ |
153 cp -f $(LIBSAPROC_DEBUGINFO) $(DEST_SAPROC_DEBUGINFO); \ |
153 cp -f $(LIBSAPROC_DEBUGINFO) $(DEST_SAPROC_DEBUGINFO); \ |
154 test -f $(LIBSAPROC_DIZ) && \ |
154 test ! -f $(LIBSAPROC_DIZ) || \ |
155 cp -f $(LIBSAPROC_DIZ) $(DEST_SAPROC_DIZ); \ |
155 cp -f $(LIBSAPROC_DIZ) $(DEST_SAPROC_DIZ); \ |
156 cp -f $(LIBSAPROC) $(DEST_SAPROC) && echo "Done"; \ |
156 cp -f $(LIBSAPROC) $(DEST_SAPROC) && echo "Done"; \ |
157 fi |
157 fi |
158 |
158 |
159 .PHONY: install_saproc |
159 .PHONY: install_saproc |