xref: /titanic_41/usr/src/lib/libfru/libnvfru/sparc/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.com
28*6bbe0590SSundeep Panicker
29*6bbe0590SSundeep PanickerLDLIBS +=	-L$(SRC)/lib/libfruutils/$(MACH)
30*6bbe0590SSundeep PanickerLDLIBS +=	-L$(SRC)/lib/libfru/libfrureg/$(MACH)
31*6bbe0590SSundeep PanickerLDLIBS +=	-L$(SRC)/lib/libfru/$(MACH)
32*6bbe0590SSundeep PanickerLDLIBS +=	-lc -lfru -lfruutils -lfrureg -lnvpair
33*6bbe0590SSundeep Panicker
34*6bbe0590SSundeep Panicker.KEEP_STATE:
35*6bbe0590SSundeep Panicker
36*6bbe0590SSundeep Panickerall: $(ROOTLIBDIR) $(LIBS) $(LIBLINKS)
37*6bbe0590SSundeep Panicker
38*6bbe0590SSundeep Panicker$(LIBLINKS):    FRC
39*6bbe0590SSundeep Panicker	$(RM) $@; $(SYMLINK) $(DYNLIB) $@
40*6bbe0590SSundeep Panicker
41*6bbe0590SSundeep Panicker$(ROOTLIBDIR):
42*6bbe0590SSundeep Panicker	$(INS.dir)
43*6bbe0590SSundeep Panicker
44*6bbe0590SSundeep Panickerinstall: all $(ROOTLIBS) $(ROOTLINKS)
45*6bbe0590SSundeep Panicker
46*6bbe0590SSundeep PanickerFRC:
47