Makefile.com revision 77eb9dd4fa1a2a4b00af3d1973a84b60fbf40cdf
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER START
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# The contents of this file are subject to the terms of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Common Development and Distribution License (the "License").
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You may not use this file except in compliance with the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# or http://www.opensolaris.org/os/licensing.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# See the License for the specific language governing permissions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# and limitations under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# When distributing Covered Code, include this CDDL HEADER in each
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# If applicable, add the following below this CDDL HEADER, with the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# fields enclosed by brackets "[]" replaced with your own identifying
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# information: Portions Copyright [yyyy] [name of copyright owner]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER END
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
1b7fc709228029b3f29f1c3de6d817a476f7c583tim szeto#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Copyright 2015 Gary Mills
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Use is subject to license terms.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteLIBRARY= librpcsvc.a
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteVERS = .1
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteOBJECTS= rstat_simple.o rstat_xdr.o rusers_simple.o rusersxdr.o rusers_xdr.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte rwallxdr.o spray_xdr.o nlm_prot.o sm_inter_xdr.o nsm_addr_xdr.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte bootparam_prot_xdr.o mount_xdr.o mountlist_xdr.o rpc_sztypes.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte bindresvport.o
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# include library definitions
e17f3b2227c590f1d761b9ec4613cfb05982e6abtim szetoinclude ../../Makefile.lib
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szeto
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# install this library in the root filesystem
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteinclude ../../Makefile.rootfs
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteSRCDIR = ../common
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortepics/%.o: ../common/%.c
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szeto $(COMPILE.c) -o $@ $<
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte $(POST_PROCESS_O)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szetoLIBS = $(DYNLIB) $(LINTLIB)
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szeto
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szetoCPPFLAGS += -DYP
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szeto
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szetoCERRWARN += -_gcc=-Wno-unused-variable
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szetoCERRWARN += -_gcc=-Wno-switch
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szetoCERRWARN += -_gcc=-Wno-uninitialized
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szetoCERRWARN += -_gcc=-Wno-parentheses
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szeto
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szeto$(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szeto
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szetoLDLIBS += -lnsl -lc
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szeto
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szeto# Needed so header files with relative paths will work
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szetoCPPFLAGS += -I..
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szeto
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szeto.KEEP_STATE:
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szeto
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szetolint: lintcheck
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szeto
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szeto# include library targets
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szetoinclude ../../Makefile.targ
8fe960854f0d52e2e8a80ba68e8621a5ac6a866dtim szeto