Makefile revision 127
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User#
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# CDDL HEADER START
c7ef13f6c9ef4436bc804b150e0a93307b11fa27Tinderbox User#
c7ef13f6c9ef4436bc804b150e0a93307b11fa27Tinderbox User# The contents of this file are subject to the terms of the
1167fc7904c5f0a472f8df207ac46dd52c7f1ec8Automatic Updater# Common Development and Distribution License (the "License").
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater# You may not use this file except in compliance with the License.
46da3117812814a29432a8d9a9ccf8acdbfdadceAutomatic Updater#
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fe84edc17e0d582cf7b4270f8df9d4742a107b1cAutomatic Updater# or http://www.opensolaris.org/os/licensing.
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox User# See the License for the specific language governing permissions
bed0874e1a09e810575328c4bfc346a47514b69fMark Andrews# and limitations under the License.
b253dcf9668f95e141bce9556dc88e30d3305a1dTinderbox User#
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# When distributing Covered Code, include this CDDL HEADER in each
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e20309353e6246485c521278131d3fced73d7957Tinderbox User# If applicable, add the following below this CDDL HEADER, with the
e20309353e6246485c521278131d3fced73d7957Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
6c910bd5e4a85a56e3a61fdf7b237a45bb2553eeTinderbox User#
3cc98b8ecedcbc8465f1cf2740b966b315662430Automatic Updater# CDDL HEADER END
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Copyright (c) 2010, Oracle and/or it's affiliates. All rights reserved.
e20309353e6246485c521278131d3fced73d7957Tinderbox User#
e20309353e6246485c521278131d3fced73d7957Tinderbox User
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsinclude ../make-rules/shared-macros.mk
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrewsdownload setup prep build install publish validate: time-$(MACH32).so \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater time-$(MACH64).so
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updatertime-$(MACH64).o: BITS=64
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updatertime-$(MACH32).o time-$(MACH64).o: CFLAGS += -Kpic
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updatertime-$(MACH32).o time-$(MACH64).o: time.c
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User $(CC) $(CFLAGS) -c -o $@ $<
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunttime-%.so: time-%.o
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater $(LD) -G -o $@ $<
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Huntclean:
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater $(RM) time-*.o
24934f08b9ff81c2be711e566e8002d145573031Tinderbox User
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updaterclobber: clean
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt $(RM) time-*.so
24934f08b9ff81c2be711e566e8002d145573031Tinderbox User