Makefile revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# CDDL HEADER START
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# The contents of this file are subject to the terms of the
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# Common Development and Distribution License (the "License").
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# You may not use this file except in compliance with the License.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# See the License for the specific language governing permissions
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# and limitations under the License.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# When distributing Covered Code, include this CDDL HEADER in each
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# If applicable, add the following below this CDDL HEADER, with the
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# CDDL HEADER END
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# Use is subject to license terms.
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserPROG= $(BINPROG) $(SBINPROG) $(RPROG) $(SPROG) $(WPROG) $(TPROG)
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserTSVCOBJS= rstat_main.o rstat_proc.o rstat_svc.o rstat_v2_svc.o rstat_v2_xdr.o
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserDERIVED_FILES = rstat.x rstat.h rstat_svc.c rstat_v2.h rstat_v2_svc.c \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User rstat_v2_xdr.c spray.x spray.h spray_clnt.c spray_svc.c \
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserSUBDIRS= rpc.bootparamd nis/utils nis/bin nis/cachemgr nis/rpc.nisd \
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox UserOBJS= $(SCLNTOBJS) $(SSVCOBJS) $(WCLNTOBJS) $(WSVCOBJS) $(TSVCOBJS)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserSRCS= $(OBJS:%.o=%.c) rusers.c rpc.rusersd.c rup.c
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# non-default file attributes
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# install rules
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User$(RWALL)/% $(SPRAY)/% $(RUSERS)/% $(RSTAT)/%: %
fae13836a33b474a6aa2c147df8334f5b1ffae45Tinderbox User# multi-object targets
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox Userinstall: $(PROG) $(TXTS) .WAIT $(ROOTDIRS) .WAIT $(IBINPROG) $(ISBINPROG) \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User $(IWPROG) $(ISPROG) $(IRPROG) $(ITPROG) $(IETCFILES) $(SUBDIRS) \
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# Derived files
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User $(RPCGEN) -s datagram_v -s circuit_v spray.x > $@
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User $(LINT.c) $(WCLNTOBJS:%.o=%.c) -lnsl -lrpcsvc