xref: /titanic_50/usr/src/lib/libipadm/Makefile.com (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
16e91bba0SGirish Moodalbail#
26e91bba0SGirish Moodalbail# CDDL HEADER START
36e91bba0SGirish Moodalbail#
46e91bba0SGirish Moodalbail# The contents of this file are subject to the terms of the
56e91bba0SGirish Moodalbail# Common Development and Distribution License (the "License").
66e91bba0SGirish Moodalbail# You may not use this file except in compliance with the License.
76e91bba0SGirish Moodalbail#
86e91bba0SGirish Moodalbail# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
96e91bba0SGirish Moodalbail# or http://www.opensolaris.org/os/licensing.
106e91bba0SGirish Moodalbail# See the License for the specific language governing permissions
116e91bba0SGirish Moodalbail# and limitations under the License.
126e91bba0SGirish Moodalbail#
136e91bba0SGirish Moodalbail# When distributing Covered Code, include this CDDL HEADER in each
146e91bba0SGirish Moodalbail# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
156e91bba0SGirish Moodalbail# If applicable, add the following below this CDDL HEADER, with the
166e91bba0SGirish Moodalbail# fields enclosed by brackets "[]" replaced with your own identifying
176e91bba0SGirish Moodalbail# information: Portions Copyright [yyyy] [name of copyright owner]
186e91bba0SGirish Moodalbail#
196e91bba0SGirish Moodalbail# CDDL HEADER END
206e91bba0SGirish Moodalbail#
216e91bba0SGirish Moodalbail#
22550b6e40SSowmini Varadhan# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
236e91bba0SGirish Moodalbail#
246e91bba0SGirish Moodalbail#
256e91bba0SGirish Moodalbail
266e91bba0SGirish MoodalbailLIBRARY = libipadm.a
276e91bba0SGirish MoodalbailVERS    = .1
286e91bba0SGirish MoodalbailOBJECTS = libipadm.o ipadm_prop.o ipadm_persist.o ipadm_addr.o ipadm_if.o \
29550b6e40SSowmini Varadhan	  ipadm_ndpd.o ipadm_ngz.o
306e91bba0SGirish Moodalbail
316e91bba0SGirish Moodalbailinclude ../../Makefile.lib
326e91bba0SGirish Moodalbail
336e91bba0SGirish Moodalbail# install this library in the root filesystem
346e91bba0SGirish Moodalbailinclude ../../Makefile.rootfs
356e91bba0SGirish Moodalbail
366e91bba0SGirish MoodalbailLIBS =		$(DYNLIB) $(LINTLIB)
376e91bba0SGirish MoodalbailLDLIBS +=	-lc -lnsl -linetutil -lsocket -ldlpi -lnvpair -ldhcpagent \
386e91bba0SGirish Moodalbail	        -ldladm -lsecdb
396e91bba0SGirish Moodalbail
406e91bba0SGirish MoodalbailSRCDIR =	../common
416e91bba0SGirish Moodalbail$(LINTLIB) :=	SRCS = $(SRCDIR)/$(LINTSRC)
426e91bba0SGirish Moodalbail
436e91bba0SGirish MoodalbailCFLAGS +=	$(CCVERBOSE)
44*7014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-switch
45*7014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-uninitialized
466e91bba0SGirish MoodalbailCPPFLAGS +=	-I$(SRCDIR) -D_REENTRANT
476e91bba0SGirish Moodalbail
486e91bba0SGirish Moodalbail.KEEP_STATE:
496e91bba0SGirish Moodalbail
506e91bba0SGirish Moodalbailall:		$(LIBS)
516e91bba0SGirish Moodalbail
526e91bba0SGirish Moodalbaillint:		lintcheck
536e91bba0SGirish Moodalbail
546e91bba0SGirish Moodalbailinclude $(SRC)/lib/Makefile.targ
55