xref: /onnv-gate/usr/src/lib/librpcsvc/Makefile.com (revision 5655:2b4de7c11b38)
10Sstevel@tonic-gate#
20Sstevel@tonic-gate# CDDL HEADER START
30Sstevel@tonic-gate#
40Sstevel@tonic-gate# The contents of this file are subject to the terms of the
52522Sraf# Common Development and Distribution License (the "License").
62522Sraf# You may not use this file except in compliance with the License.
70Sstevel@tonic-gate#
80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
100Sstevel@tonic-gate# See the License for the specific language governing permissions
110Sstevel@tonic-gate# and limitations under the License.
120Sstevel@tonic-gate#
130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
180Sstevel@tonic-gate#
190Sstevel@tonic-gate# CDDL HEADER END
200Sstevel@tonic-gate#
21*5655Sth199096
220Sstevel@tonic-gate#
23*5655Sth199096# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
240Sstevel@tonic-gate# Use is subject to license terms.
250Sstevel@tonic-gate#
260Sstevel@tonic-gate# ident	"%Z%%M%	%I%	%E% SMI"
270Sstevel@tonic-gate#
280Sstevel@tonic-gate
290Sstevel@tonic-gateLIBRARY= librpcsvc.a
300Sstevel@tonic-gateVERS = .1
310Sstevel@tonic-gate
320Sstevel@tonic-gateOBJECTS= rstat_simple.o rstat_xdr.o rusers_simple.o rusersxdr.o rusers_xdr.o \
330Sstevel@tonic-gate	 rwallxdr.o spray_xdr.o nlm_prot.o sm_inter_xdr.o nsm_addr_xdr.o \
340Sstevel@tonic-gate	 bootparam_prot_xdr.o mount_xdr.o mountlist_xdr.o rpc_sztypes.o \
350Sstevel@tonic-gate	 bindresvport.o
360Sstevel@tonic-gate
370Sstevel@tonic-gate# include library definitions
380Sstevel@tonic-gateinclude ../../Makefile.lib
390Sstevel@tonic-gate
400Sstevel@tonic-gate# install this library in the root filesystem
410Sstevel@tonic-gateinclude ../../Makefile.rootfs
420Sstevel@tonic-gate
432522SrafSRCDIR =	../common
440Sstevel@tonic-gate
450Sstevel@tonic-gatepics/%.o: ../common/%.c
460Sstevel@tonic-gate	$(COMPILE.c) -o $@ $<
470Sstevel@tonic-gate	$(POST_PROCESS_O)
480Sstevel@tonic-gate
49*5655Sth199096LIBS = $(DYNLIB) $(LINTLIB)
500Sstevel@tonic-gate
510Sstevel@tonic-gateCPPFLAGS += -DYP
52*5655Sth199096
53*5655Sth199096$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
54*5655Sth199096
550Sstevel@tonic-gateLDLIBS += -lnsl -lc
560Sstevel@tonic-gate
570Sstevel@tonic-gate.KEEP_STATE:
580Sstevel@tonic-gate
590Sstevel@tonic-gatelint:	lintcheck
600Sstevel@tonic-gate
610Sstevel@tonic-gate# include library targets
620Sstevel@tonic-gateinclude ../../Makefile.targ
63