Makefile revision 464
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.
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# See the License for the specific language governing permissions
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# 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
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# fields enclosed by brackets "[]" replaced with your own identifying
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# information: Portions Copyright [yyyy] [name of copyright owner]
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac#
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# CDDL HEADER END
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe#
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
a3d3ab94806056d2355afea6fe8daac41059b9fbludovicp
0f8553e2af5fc49a510ecfcfc93e66d06713f631ludodownload setup prep build install publish validate: time-$(MACH32).so \
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe time-$(MACH64).so
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipetime-$(MACH64).o: BITS=64
0f8553e2af5fc49a510ecfcfc93e66d06713f631ludotime-$(MACH32).o time-$(MACH64).o: CFLAGS += -Kpic
0f8553e2af5fc49a510ecfcfc93e66d06713f631ludo
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipetime-$(MACH32).o time-$(MACH64).o: time.c
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara $(CC) $(CFLAGS) -c -o $@ $<
27f8adec83293fb8bd3bfa37175322b0ee3bb933jvergara
266c5071a91fda6a5159b08ea8d45261228d03d5neil_a_wilsontime-%.so: time-%.o
4edb61f8b0f8ce9f62d803c706612376498672b4al_xipe $(LD) -G -o $@ $<
9da44d3de0a7180285a77b7e8d2426a72aca249ejvergara
clean:
$(RM) time-*.o
clobber: clean
$(RM) time-*.so