Makefile revision 6e91bba0d6c6bdabbba62cefae583715a4a58e2a
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe# CDDL HEADER START
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# The contents of this file are subject to the terms of the
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Common Development and Distribution License (the "License").
9bd71e35f5d26d26d23fe3a677401828e842ed72wrowe# You may not use this file except in compliance with the License.
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a548c09e6a8ca1b059d0e93b5256c6ccb2b3c3cdrbb# See the License for the specific language governing permissions
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbb# and limitations under the License.
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick# When distributing Covered Code, include this CDDL HEADER in each
6f6f4a4bca281779d196acbdd5c017bb90858305trawick# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8dd4618c4709236b4ea297d7250d282e463ce2d8rbb# If applicable, add the following below this CDDL HEADER, with the
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick# fields enclosed by brackets "[]" replaced with your own identifying
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb# information: Portions Copyright [yyyy] [name of copyright owner]
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj# CDDL HEADER END
2a4b7a53f3573605d4f5686f03a67c37425dc22bgregames# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
2a4b7a53f3573605d4f5686f03a67c37425dc22bgregames# Use is subject to license terms.
f467b575e2698cfeb818b357b00b2a13873eb309trawick# in.ndpd uses the ancillary data feature which is available only through
f467b575e2698cfeb818b357b00b2a13873eb309trawick# UNIX 98 standards version of Socket interface. This interface is supposed to
f467b575e2698cfeb818b357b00b2a13873eb309trawick# be accessed by -lxnet. In addition -lsocket and -lnsl are used to
f467b575e2698cfeb818b357b00b2a13873eb309trawick# capture new not-yet-standard interfaces. Someday -lxnet alone should be enough
f467b575e2698cfeb818b357b00b2a13873eb309trawick# when IPv6 inspired new interfaces are part of standards.
f467b575e2698cfeb818b357b00b2a13873eb309trawick# these #defines are required to use UNIX 98 interfaces
f467b575e2698cfeb818b357b00b2a13873eb309trawick# This shouldn't be necessary, but linking with libxnet requires it.
f467b575e2698cfeb818b357b00b2a13873eb309trawickLINTFLAGS += -erroff=E_INCONS_ARG_DECL2 -erroff=E_INCONS_VAL_TYPE_DECL2
f467b575e2698cfeb818b357b00b2a13873eb309trawick# This is needed to avoid littering the code with useless LINTED statements
f467b575e2698cfeb818b357b00b2a13873eb309trawick# for each place where pointers are casted. It's not perfect, but being
f467b575e2698cfeb818b357b00b2a13873eb309trawick# perfect would require a bigger rewrite.
f467b575e2698cfeb818b357b00b2a13873eb309trawickCTFMERGE_HOOK = && $(CTFMERGE) -L VERSION -o $@ $(OBJS)