1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# CDDL HEADER START
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# The contents of this file are subject to the terms of the
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# Common Development and Distribution License (the "License").
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# You may not use this file except in compliance with the License.
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# See the License for the specific language governing permissions
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# and limitations under the License.
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# When distributing Covered Code, include this CDDL HEADER in each
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# If applicable, add the following below this CDDL HEADER, with the
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# fields enclosed by brackets "[]" replaced with your own identifying
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# information: Portions Copyright [yyyy] [name of copyright owner]
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# CDDL HEADER END
f6da83d4178694e7113b71d1e452f15b296f73d8Anurag S. Maskey# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# We need access to the ancillary data features which are only available
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# via the SUS standards. Further, C99 support requires SUSv3 or higher.
f6da83d4178694e7113b71d1e452f15b296f73d8Anurag S. MaskeyLDLIBS += -lvrrpadm -lsocket -lnsl -ldladm -linetutil -lipadm -lsysevent -lnvpair -lsecdb
1cb875ae88fb9463b368e725c2444776595895cbCathy ZhouLINTFLAGS += -erroff=E_INCONS_ARG_DECL2 -erroff=E_INCONS_ARG_USED2
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# Instrument vrrpd with CTF data to ease debugging.
1cb875ae88fb9463b368e725c2444776595895cbCathy ZhouCTFMERGE_HOOK = && $(CTFMERGE) -L VERSION -o $@ $(OBJS)
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou# for messaging catalog. No messages are present in CMN_DIR sources.
1cb875ae88fb9463b368e725c2444776595895cbCathy Zhou $(LINK.c) -o $@ $(OBJS) $(LDLIBS) $(CTFMERGE_HOOK)