Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
842ae4bd224140319ae7feec1872b93dfd491143fielding# CDDL HEADER START
842ae4bd224140319ae7feec1872b93dfd491143fielding# The contents of this file are subject to the terms of the
842ae4bd224140319ae7feec1872b93dfd491143fielding# Common Development and Distribution License (the "License").
842ae4bd224140319ae7feec1872b93dfd491143fielding# You may not use this file except in compliance with the License.
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# See the License for the specific language governing permissions
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# and limitations under the License.
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# When distributing Covered Code, include this CDDL HEADER in each
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding# If applicable, add the following below this CDDL HEADER, with the
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding# fields enclosed by brackets "[]" replaced with your own identifying
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding# information: Portions Copyright [yyyy] [name of copyright owner]
e8f95a682820a599fe41b22977010636be5c2717jim# CDDL HEADER END
e8f95a682820a599fe41b22977010636be5c2717jim# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding# Use is subject to license terms.
0f081398cf0eef8cc7c66a535d450110a92dc8aefieldingCOMMONSRCS= $(CMDINETCOMMONDIR)/$(COMMONOBJS:%.o=%.c)
1ccd992d37d62c8cb2056126f2234f64ec189bfddougm# ipadm uses the ancillary data feature which is available only through
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding# UNIX 98 standards version of Socket interface. This interface is supposed to
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding# be accessed by -lxnet. In addition -lsocket is used to capture new
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding# not-yet-standard interfaces. Someday -lxnet alone should be enough when IPv6
1ccd992d37d62c8cb2056126f2234f64ec189bfddougm# inspired new interfaces are part of standards.
3d96ee83babeec32482c9082c9426340cee8c44dwrowe# these #defines are required to use UNIX 98 interfaces
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding_D_UNIX98_EXTN= -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding# Instrument ipadm with CTF data to ease debugging.
0f081398cf0eef8cc7c66a535d450110a92dc8aefieldingCTFMERGE_HOOK = && $(CTFMERGE) -L VERSION -o $@ $(OBJS)