Makefile revision 371
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff#
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# CDDL HEADER START
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff#
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# The contents of this file are subject to the terms of the
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# Common Development and Distribution License (the "License").
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# You may not use this file except in compliance with the License.
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff#
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# or http://www.opensolaris.org/os/licensing.
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# See the License for the specific language governing permissions
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# and limitations under the License.
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff#
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# When distributing Covered Code, include this CDDL HEADER in each
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# If applicable, add the following below this CDDL HEADER, with the
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# fields enclosed by brackets "[]" replaced with your own identifying
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# information: Portions Copyright [yyyy] [name of copyright owner]
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff#
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# CDDL HEADER END
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff#
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff# Copyright (c) 2010, Oracle and/or it's affiliates. All rights reserved.
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff#
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduffinclude ../make-rules/shared-macros.mk
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduffdownload setup prep build install publish validate: time-$(MACH32).so \
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette time-$(MACH64).so
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcdufftime-$(MACH64).o: BITS=64
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcdufftime-$(MACH32).o time-$(MACH64).o: CFLAGS += -Kpic
0f8553e2af5fc49a510ecfcfc93e66d06713f631ludo
0f8553e2af5fc49a510ecfcfc93e66d06713f631ludotime-$(MACH32).o time-$(MACH64).o: time.c
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff $(CC) $(CFLAGS) -c -o $@ $<
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcdufftime-%.so: time-%.o
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff $(LD) -G -o $@ $<
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduff
d25372dc8e65a9ed019a88fdf659ca61313f1b31jcduffclean:
$(RM) time-*.o
clobber: clean
$(RM) time-*.so