Makefile revision 5bbb4db2c3f208d12bf0fd11769728f9e5ba66a2
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# CDDL HEADER START
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# The contents of this file are subject to the terms of the
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Common Development and Distribution License (the "License").
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# You may not use this file except in compliance with the License.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# or http://www.opensolaris.org/os/licensing.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# See the License for the specific language governing permissions
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# and limitations under the License.
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# When distributing Covered Code, include this CDDL HEADER in each
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
45405cce0657d01714b3d014a0facf3bdce45736Alexander Eremin# If applicable, add the following below this CDDL HEADER, with the
95c635efb7c3b86efc493e0447eaec7aecca3f0fGarrett D'Amore# fields enclosed by brackets "[]" replaced with your own identifying
6a72db4a7fa12c3e0d1c1cf91a07390739fa0fbfBryan Cantrill# information: Portions Copyright [yyyy] [name of copyright owner]
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# CDDL HEADER END
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Use is subject to license terms.
a9478106a12424322498e53cf7cd75bd8a4d6004Yuri Pankov#
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher SidenSYSOBJS= \
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden setjmp.o \
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden signal.o
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Sideninclude ../Makefile.com
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Sideninclude $(SRC)/lib/Makefile.lib.64
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher SidenDYNFLAGS += $(DYNFLAGS64)
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher SidenBUILD.SO= $(CC) $(CFLAGS) -o $@ -G $(DYNFLAGS) $(PICS) -L $(ROOT)/usr/lib/$(MACH64) $(LDLIBS)
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher SidenBUILD.s= $(AS) $(ASFLAGS) -xarch=v9 -D__sparcv9 $< -o $@
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden# sparcv9-specific rule
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Sidenpics/%.o: ../sparc/sys/%.c
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden $(COMPILE.c) -o $@ $<
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden $(POST_PROCESS_O)
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Sidenpics/%.o: sys/%.s
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden $(BUILD.s)
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden $(POST_PROCESS_O)
a5eb7107f06a6e23e8e77e8d3a84c1ff90a73ac6Bryan Cantrill
95c635efb7c3b86efc493e0447eaec7aecca3f0fGarrett D'Amore.KEEP_STATE:
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden
1767006bb066ef500b90b432fba79d63d0d09b36Bryan Cantrillinstall: all $(ROOTLIBS64) $(ROOTLINKS64)
ad135b5d644628e791c3188a6ecbd9c257961ef8Christopher Siden