Makefile revision 69bb4bb45c98da60d21839c4dc3c01ea1be60585
6c2a76b3e2ccd32c35814b6e0f54da00190749d7Evan Hunt# CDDL HEADER START
5affecff6e148a8e124d03f5dbac0da11e30dcc5Tinderbox User# The contents of this file are subject to the terms of the
19558a04decde0e7261d489d92d04ad88104217bTinderbox User# Common Development and Distribution License (the "License").
2fee8782a6fd57d86a67949092ab9197111af390Evan Hunt# You may not use this file except in compliance with the License.
969eaf7df8ac651946f76b6631ff5db568c11ef6Tinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# See the License for the specific language governing permissions
f4ee48be3994797a8332b86c101db4d7b54799ceTinderbox User# and limitations under the License.
8de3f14f1c300c3e1ed99084cc03485b42c92bf1Tinderbox User# When distributing Covered Code, include this CDDL HEADER in each
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# If applicable, add the following below this CDDL HEADER, with the
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# CDDL HEADER END
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Use is subject to license terms.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# ident "%Z%%M% %I% %E% SMI"
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsCOMMONSRCS= $(CMDINETCOMMONDIR)/$(COMMONOBJS:%.o=%.c)
415d630b6309922caee8469384a6fab75cf05032Mark AndrewsCPPFLAGS += -I$(CMDINETCOMMONDIR) -I$(SRC)/common/net/dhcp
e813f036c8251b6d9d2a72fa84f80c2c9d2795afMark AndrewsLDLIBS += -lcmd -ldevinfo -ldhcpagent -linetcfg -ldlpi
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# ifconfig uses the ancillary data feature which is available only through
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# UNIX 98 standards version of Socket interface. This interface is supposed to
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# be accessed by -lxnet. In addition -lsocket and -lnsl are used to
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# capture new not-yet-standard interfaces. Someday -lxnet alone should be
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# enough when IPv6 inspired new interfaces are part of standards.
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# these #defines are required to use UNIX 98 interfaces
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews_D_UNIX98_EXTN= -D_XOPEN_SOURCE=500 -D__EXTENSIONS__