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