xref: /titanic_44/usr/src/lib/libv12n/sparc/Makefile (revision 82629e3015252bf18319ba3815c773df23e21436)
1*82629e30SMike Christensen#
2*82629e30SMike Christensen# CDDL HEADER START
3*82629e30SMike Christensen#
4*82629e30SMike Christensen# The contents of this file are subject to the terms of the
5*82629e30SMike Christensen# Common Development and Distribution License (the "License").
6*82629e30SMike Christensen# You may not use this file except in compliance with the License.
7*82629e30SMike Christensen#
8*82629e30SMike Christensen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*82629e30SMike Christensen# or http://www.opensolaris.org/os/licensing.
10*82629e30SMike Christensen# See the License for the specific language governing permissions
11*82629e30SMike Christensen# and limitations under the License.
12*82629e30SMike Christensen#
13*82629e30SMike Christensen# When distributing Covered Code, include this CDDL HEADER in each
14*82629e30SMike Christensen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*82629e30SMike Christensen# If applicable, add the following below this CDDL HEADER, with the
16*82629e30SMike Christensen# fields enclosed by brackets "[]" replaced with your own identifying
17*82629e30SMike Christensen# information: Portions Copyright [yyyy] [name of copyright owner]
18*82629e30SMike Christensen#
19*82629e30SMike Christensen# CDDL HEADER END
20*82629e30SMike Christensen#
21*82629e30SMike Christensen#
22*82629e30SMike Christensen# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
23*82629e30SMike Christensen# Use is subject to license terms.
24*82629e30SMike Christensen#
25*82629e30SMike Christensen#
26*82629e30SMike Christensen
27*82629e30SMike ChristensenMACHCOBJS = libv12n.o
28*82629e30SMike Christensen
29*82629e30SMike ChristensenCMNOBJS=	mdesc_findname.o	\
30*82629e30SMike Christensen		mdesc_findnodeprop.o	\
31*82629e30SMike Christensen		mdesc_fini.o		\
32*82629e30SMike Christensen		mdesc_getpropval.o	\
33*82629e30SMike Christensen		mdesc_getpropstr.o	\
34*82629e30SMike Christensen		mdesc_init_intern.o	\
35*82629e30SMike Christensen		mdesc_nodecount.o	\
36*82629e30SMike Christensen		mdesc_rootnode.o	\
37*82629e30SMike Christensen		mdesc_scandag.o
38*82629e30SMike Christensen
39*82629e30SMike ChristensenOBJS += $(CMNOBJS)
40*82629e30SMike Christensen
41*82629e30SMike Christenseninclude ../Makefile.com
42*82629e30SMike Christensen
43*82629e30SMike ChristensenC99MODE =	$(C99_ENABLE)
44*82629e30SMike Christensen
45*82629e30SMike ChristensenLDLIBS += -luuid -lc
46*82629e30SMike Christensen
47*82629e30SMike ChristensenCPPFLAGS += -I. -I$(SRC)/lib/libds/common -I$(SRC)/cmd/ldmad
48*82629e30SMike Christensen
49*82629e30SMike Christenseninstall: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
50*82629e30SMike Christensen
51*82629e30SMike Christensenpics/%.o: $(SRC)/common/mdesc/%.c
52*82629e30SMike Christensen	$(COMPILE.c) -o $@ $<
53*82629e30SMike Christensen	$(POST_PROCESS_O)
54