xref: /titanic_44/usr/src/lib/libtsnet/Makefile.com (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
145916cd2Sjpk#
245916cd2Sjpk# CDDL HEADER START
345916cd2Sjpk#
445916cd2Sjpk# The contents of this file are subject to the terms of the
545916cd2Sjpk# Common Development and Distribution License (the "License").
645916cd2Sjpk# You may not use this file except in compliance with the License.
745916cd2Sjpk#
845916cd2Sjpk# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
945916cd2Sjpk# or http://www.opensolaris.org/os/licensing.
1045916cd2Sjpk# See the License for the specific language governing permissions
1145916cd2Sjpk# and limitations under the License.
1245916cd2Sjpk#
1345916cd2Sjpk# When distributing Covered Code, include this CDDL HEADER in each
1445916cd2Sjpk# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1545916cd2Sjpk# If applicable, add the following below this CDDL HEADER, with the
1645916cd2Sjpk# fields enclosed by brackets "[]" replaced with your own identifying
1745916cd2Sjpk# information: Portions Copyright [yyyy] [name of copyright owner]
1845916cd2Sjpk#
1945916cd2Sjpk# CDDL HEADER END
2045916cd2Sjpk#
2145916cd2Sjpk#
2267e3a03eSrie# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
2345916cd2Sjpk# Use is subject to license terms.
2445916cd2Sjpk#
2545916cd2Sjpk
2645916cd2SjpkLIBRARY	=	libtsnet.a
2745916cd2SjpkVERS =		.1
2845916cd2Sjpk
2945916cd2SjpkOBJECTS = \
3045916cd2Sjpk	misc.o \
3145916cd2Sjpk	tnrh.o tnrhtp.o tnmlp.o \
3245916cd2Sjpk	tsol_getrhent.o tsol_gettpent.o \
3345916cd2Sjpk	tsol_sgetrhent.o tsol_sgettpent.o tsol_sgetzcent.o
3445916cd2Sjpk
3545916cd2Sjpkinclude ../../Makefile.lib
3645916cd2Sjpk
3745916cd2Sjpk# install this library in the root filesystem
3845916cd2Sjpkinclude ../../Makefile.rootfs
3945916cd2Sjpk
4045916cd2SjpkLIBS =		$(DYNLIB) $(LINTLIB)
41f808c858Sraf
42f808c858SrafSRCDIR =	../common
4345916cd2Sjpk$(LINTLIB) :=	SRCS = $(SRCDIR)/$(LINTSRC)
4445916cd2Sjpk
4567e3a03eSrieLDLIBS +=	-lsocket -lnsl -lc -lsecdb -ltsol
4645916cd2Sjpk
4745916cd2SjpkLIBTSOLINC =	$(SRC)/lib/libtsol/common
4845916cd2Sjpk
4945916cd2SjpkCPPFLAGS +=	-D_REENTRANT -I$(LIBTSOLINC)
50*7014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-uninitialized
5145916cd2Sjpk
5245916cd2Sjpk.KEEP_STATE:
5345916cd2Sjpk
5445916cd2Sjpkall: $(LIBS)
5545916cd2Sjpk
5645916cd2Sjpklint: lintcheck
5745916cd2Sjpk
5845916cd2Sjpkinclude ../../Makefile.targ
59