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