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