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