xref: /titanic_41/usr/src/lib/libfru/i386/Makefile (revision 6bbe05905a1c10a2703f95fb4912eb14b87f6670)
1*6bbe0590SSundeep Panicker#
2*6bbe0590SSundeep Panicker# CDDL HEADER START
3*6bbe0590SSundeep Panicker#
4*6bbe0590SSundeep Panicker# The contents of this file are subject to the terms of the
5*6bbe0590SSundeep Panicker# Common Development and Distribution License (the "License").
6*6bbe0590SSundeep Panicker# You may not use this file except in compliance with the License.
7*6bbe0590SSundeep Panicker#
8*6bbe0590SSundeep Panicker# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*6bbe0590SSundeep Panicker# or http://www.opensolaris.org/os/licensing.
10*6bbe0590SSundeep Panicker# See the License for the specific language governing permissions
11*6bbe0590SSundeep Panicker# and limitations under the License.
12*6bbe0590SSundeep Panicker#
13*6bbe0590SSundeep Panicker# When distributing Covered Code, include this CDDL HEADER in each
14*6bbe0590SSundeep Panicker# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*6bbe0590SSundeep Panicker# If applicable, add the following below this CDDL HEADER, with the
16*6bbe0590SSundeep Panicker# fields enclosed by brackets "[]" replaced with your own identifying
17*6bbe0590SSundeep Panicker# information: Portions Copyright [yyyy] [name of copyright owner]
18*6bbe0590SSundeep Panicker#
19*6bbe0590SSundeep Panicker# CDDL HEADER END
20*6bbe0590SSundeep Panicker#
21*6bbe0590SSundeep Panicker#
22*6bbe0590SSundeep Panicker# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23*6bbe0590SSundeep Panicker# Use is subject to license terms.
24*6bbe0590SSundeep Panicker#
25*6bbe0590SSundeep Panicker#
26*6bbe0590SSundeep Panicker
27*6bbe0590SSundeep Panickerinclude ../Makefile.obj
28*6bbe0590SSundeep Panickerinclude ../Makefile.flag
29*6bbe0590SSundeep PanickerLDLIBS += -L$(SRC)/lib/libfruutils/$(MACH) -lfruutils
30*6bbe0590SSundeep PanickerLDLIBS += -L$(SRC)/lib/libfru/libfrureg/$(MACH) -lfrureg
31*6bbe0590SSundeep Panicker
32*6bbe0590SSundeep Panicker# Redefine this such that libC is found.
33*6bbe0590SSundeep PanickerBUILDCCC.SO=	$(LINK.cc) $(DYNFLAGS) -o $@ -G  $(PICS) $(LDLIBS)
34*6bbe0590SSundeep Panicker
35*6bbe0590SSundeep Panickerinstall: all $(ROOTLIBDIR) $(ROOTLINKSCCC)
36*6bbe0590SSundeep Panicker
37*6bbe0590SSundeep Panicker$(ROOTLIBDIR):
38*6bbe0590SSundeep Panicker	$(INS.dir)
39*6bbe0590SSundeep Panicker
40*6bbe0590SSundeep Panickerinclude ../Makefile.targ
41*6bbe0590SSundeep Panicker
42