xref: /onnv-gate/usr/src/lib/librstp/Makefile.com (revision 10491:8893b747ecdf)
1*10491SRishi.Srivatsavai@Sun.COM#
2*10491SRishi.Srivatsavai@Sun.COM# CDDL HEADER START
3*10491SRishi.Srivatsavai@Sun.COM#
4*10491SRishi.Srivatsavai@Sun.COM# The contents of this file are subject to the terms of the
5*10491SRishi.Srivatsavai@Sun.COM# Common Development and Distribution License (the "License").
6*10491SRishi.Srivatsavai@Sun.COM# You may not use this file except in compliance with the License.
7*10491SRishi.Srivatsavai@Sun.COM#
8*10491SRishi.Srivatsavai@Sun.COM# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*10491SRishi.Srivatsavai@Sun.COM# or http://www.opensolaris.org/os/licensing.
10*10491SRishi.Srivatsavai@Sun.COM# See the License for the specific language governing permissions
11*10491SRishi.Srivatsavai@Sun.COM# and limitations under the License.
12*10491SRishi.Srivatsavai@Sun.COM#
13*10491SRishi.Srivatsavai@Sun.COM# When distributing Covered Code, include this CDDL HEADER in each
14*10491SRishi.Srivatsavai@Sun.COM# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*10491SRishi.Srivatsavai@Sun.COM# If applicable, add the following below this CDDL HEADER, with the
16*10491SRishi.Srivatsavai@Sun.COM# fields enclosed by brackets "[]" replaced with your own identifying
17*10491SRishi.Srivatsavai@Sun.COM# information: Portions Copyright [yyyy] [name of copyright owner]
18*10491SRishi.Srivatsavai@Sun.COM#
19*10491SRishi.Srivatsavai@Sun.COM# CDDL HEADER END
20*10491SRishi.Srivatsavai@Sun.COM#
21*10491SRishi.Srivatsavai@Sun.COM
22*10491SRishi.Srivatsavai@Sun.COM#
23*10491SRishi.Srivatsavai@Sun.COM# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
24*10491SRishi.Srivatsavai@Sun.COM# Use is subject to license terms.
25*10491SRishi.Srivatsavai@Sun.COM#
26*10491SRishi.Srivatsavai@Sun.COM
27*10491SRishi.Srivatsavai@Sun.COMLIBRARY =	librstp.a
28*10491SRishi.Srivatsavai@Sun.COMVERS =		.1
29*10491SRishi.Srivatsavai@Sun.COMOBJECTS =	edge.o migrate.o p2p.o pcost.o port.o portinfo.o rolesel.o \
30*10491SRishi.Srivatsavai@Sun.COM		roletrns.o statmch.o stp_in.o stpm.o stpmgmt.o sttrans.o \
31*10491SRishi.Srivatsavai@Sun.COM		times.o topoch.o transmit.o vector.o
32*10491SRishi.Srivatsavai@Sun.COM
33*10491SRishi.Srivatsavai@Sun.COMinclude ../../Makefile.lib
34*10491SRishi.Srivatsavai@Sun.COM
35*10491SRishi.Srivatsavai@Sun.COMLIBS =		$(DYNLIB) $(LINTLIB)
36*10491SRishi.Srivatsavai@Sun.COM
37*10491SRishi.Srivatsavai@Sun.COMSRCDIR =	../common
38*10491SRishi.Srivatsavai@Sun.COMSRCS =		$(OBJECTS:%.o=$(SRCDIR)/%.c)
39*10491SRishi.Srivatsavai@Sun.COM
40*10491SRishi.Srivatsavai@Sun.COM$(LINTLIB):=	SRCS = $(SRCDIR)/$(LINTSRC)
41*10491SRishi.Srivatsavai@Sun.COM
42*10491SRishi.Srivatsavai@Sun.COMLDLIBS +=	-lc
43*10491SRishi.Srivatsavai@Sun.COM
44*10491SRishi.Srivatsavai@Sun.COMCFLAGS +=	$(CCVERBOSE)
45*10491SRishi.Srivatsavai@Sun.COMCPPFLAGS +=	-I$(SRCDIR) -D__SUN__ -D__STP_INTERNAL__
46*10491SRishi.Srivatsavai@Sun.COM
47*10491SRishi.Srivatsavai@Sun.COM.KEEP_STATE:
48*10491SRishi.Srivatsavai@Sun.COM
49*10491SRishi.Srivatsavai@Sun.COMall: $(LIBS)
50*10491SRishi.Srivatsavai@Sun.COM
51*10491SRishi.Srivatsavai@Sun.COMlint: lintcheck
52*10491SRishi.Srivatsavai@Sun.COM
53*10491SRishi.Srivatsavai@Sun.COMinclude ../../Makefile.targ
54