Makefile revision 1470
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould# CDDL HEADER START
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould# The contents of this file are subject to the terms of the
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould# Common Development and Distribution License (the "License").
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould# You may not use this file except in compliance with the License.
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould# See the License for the specific language governing permissions
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould# and limitations under the License.
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould# When distributing Covered Code, include this CDDL HEADER in each
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould# If applicable, add the following below this CDDL HEADER, with the
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould# fields enclosed by brackets "[]" replaced with your own identifying
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould# information: Portions Copyright [yyyy] [name of copyright owner]
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould# CDDL HEADER END
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gouldvalidate: links pkglint time-$(MACH32).so time-$(MACH64).so
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould# generate wrappers for parfait. we need to generate them
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould# with the correct compiler variables from the common makefiles because
01d27eab5fca2dcb8e883011f8be77ae6b78a11cTed Gould# some things reset the environment which causes lovely infinite
182486105ac34c36a2c74e775bcb44d5cbbaffacjoncruz echo "export PARFAIT_NATIVESUNCC=$(SPRO_VROOT)/bin/cc" >> parfait/$$i ; \
182486105ac34c36a2c74e775bcb44d5cbbaffacjoncruz echo "export PARFAIT_NATIVESUNCXX=$(SPRO_VROOT)/bin/CC" >> parfait/$$i ; \
182486105ac34c36a2c74e775bcb44d5cbbaffacjoncruz echo "export PARFAIT_NATIVEGCC=$(GCC_ROOT)/bin/gcc" >> parfait/$$i ; \
182486105ac34c36a2c74e775bcb44d5cbbaffacjoncruz echo "export PARFAIT_NATIVEGXX=$(GCC_ROOT)/bin/g++" >> parfait/$$i ; \
182486105ac34c36a2c74e775bcb44d5cbbaffacjoncruz echo "exec" $(PARFAIT_ROOT)/bin/parfait-$$i '$$*' >> parfait/$$i ; \
182486105ac34c36a2c74e775bcb44d5cbbaffacjoncruztime-%.so: time-%.o
182486105ac34c36a2c74e775bcb44d5cbbaffacjoncruz @$(LD) -G -o $@ $<