1a192e900Samaguire#
2a192e900Samaguire# CDDL HEADER START
3a192e900Samaguire#
4a192e900Samaguire# The contents of this file are subject to the terms of the
5a192e900Samaguire# Common Development and Distribution License (the "License").
6a192e900Samaguire# You may not use this file except in compliance with the License.
7a192e900Samaguire#
8a192e900Samaguire# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9a192e900Samaguire# or http://www.opensolaris.org/os/licensing.
10a192e900Samaguire# See the License for the specific language governing permissions
11a192e900Samaguire# and limitations under the License.
12a192e900Samaguire#
13a192e900Samaguire# When distributing Covered Code, include this CDDL HEADER in each
14a192e900Samaguire# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15a192e900Samaguire# If applicable, add the following below this CDDL HEADER, with the
16a192e900Samaguire# fields enclosed by brackets "[]" replaced with your own identifying
17a192e900Samaguire# information: Portions Copyright [yyyy] [name of copyright owner]
18a192e900Samaguire#
19a192e900Samaguire# CDDL HEADER END
20a192e900Samaguire#
21a192e900Samaguire# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
22a192e900Samaguire# Use is subject to license terms.
23a192e900Samaguire#
24*5661bb76SJohn Levon# Copyright (c) 2018, Joyent, Inc.
25*5661bb76SJohn Levon#
26a192e900Samaguire
27a192e900SamaguirePROG=		in.rdisc
28a192e900SamaguireMANIFEST=	rdisc.xml
29a192e900SamaguireSVCMETHOD=	svc-rdisc
30a192e900Samaguire
31a192e900Samaguireinclude		../../../Makefile.cmd
32a192e900Samaguire
33a192e900SamaguireROOTMANIFESTDIR=	$(ROOTSVCNETWORKROUTING)
34a192e900Samaguire
35a192e900SamaguireLDLIBS +=	-lsocket -lnsl
36a192e900Samaguire
37a192e900SamaguireCPPFLAGS +=	-DSYSV -DBSD_COMP
387014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-extra
39a192e900Samaguire
40*5661bb76SJohn Levon# "missing type for func"
41*5661bb76SJohn LevonSMATCH =	off
42*5661bb76SJohn Levon
43a192e900Samaguire.KEEP_STATE:
44a192e900Samaguire
45a192e900Samaguireall: $(PROG)
46a192e900Samaguire
47a192e900Samaguireinstall: all $(ROOTUSRSBINPROG) $(ROOTMANIFEST) $(ROOTSVCMETHOD)
48a192e900Samaguire
49a192e900Samaguirecheck:	$(CHKMANIFEST)
50a192e900Samaguire
51a192e900Samaguireclean lint:
52a192e900Samaguire
53a192e900Samaguireinclude		../../../Makefile.targ
54