xref: /titanic_51/usr/src/cmd/cmd-inet/usr.sbin/nwamadm/Makefile (revision 071ca66ea5e45078699d3a2ade8c6ca5c00bba2c)
16ba597c5SAnurag S. Maskey#
26ba597c5SAnurag S. Maskey# CDDL HEADER START
36ba597c5SAnurag S. Maskey#
46ba597c5SAnurag S. Maskey# The contents of this file are subject to the terms of the
56ba597c5SAnurag S. Maskey# Common Development and Distribution License (the "License").
66ba597c5SAnurag S. Maskey# You may not use this file except in compliance with the License.
76ba597c5SAnurag S. Maskey#
86ba597c5SAnurag S. Maskey# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
96ba597c5SAnurag S. Maskey# or http://www.opensolaris.org/os/licensing.
106ba597c5SAnurag S. Maskey# See the License for the specific language governing permissions
116ba597c5SAnurag S. Maskey# and limitations under the License.
126ba597c5SAnurag S. Maskey#
136ba597c5SAnurag S. Maskey# When distributing Covered Code, include this CDDL HEADER in each
146ba597c5SAnurag S. Maskey# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
156ba597c5SAnurag S. Maskey# If applicable, add the following below this CDDL HEADER, with the
166ba597c5SAnurag S. Maskey# fields enclosed by brackets "[]" replaced with your own identifying
176ba597c5SAnurag S. Maskey# information: Portions Copyright [yyyy] [name of copyright owner]
186ba597c5SAnurag S. Maskey#
196ba597c5SAnurag S. Maskey# CDDL HEADER END
206ba597c5SAnurag S. Maskey#
216ba597c5SAnurag S. Maskey
226ba597c5SAnurag S. Maskey#
236ba597c5SAnurag S. Maskey# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
246ba597c5SAnurag S. Maskey# Use is subject to license terms.
256ba597c5SAnurag S. Maskey#
266ba597c5SAnurag S. Maskey#
276ba597c5SAnurag S. Maskey# cmd/cmd-inet/usr.sbin/nwamadm/Makefile
286ba597c5SAnurag S. Maskey
296ba597c5SAnurag S. MaskeyPROG= nwamadm
306ba597c5SAnurag S. Maskey
316ba597c5SAnurag S. Maskeyinclude ../../../Makefile.cmd
326ba597c5SAnurag S. Maskey
336ba597c5SAnurag S. MaskeyXGETFLAGS +=	-a -x $(PROG).xcl
34*071ca66eSYuri PankovLDLIBS +=	-lofmt -linetutil -lnsl -lnwam -lumem -lscf
356ba597c5SAnurag S. Maskey
367014882cSRichard LoweCERRWARN += -_gcc=-Wno-switch
377014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized
387014882cSRichard Lowe
396ba597c5SAnurag S. Maskey.KEEP_STATE:
406ba597c5SAnurag S. Maskey
416ba597c5SAnurag S. Maskeyall: $(PROG)
426ba597c5SAnurag S. Maskey
436ba597c5SAnurag S. Maskeyinstall: all $(ROOTUSRSBINPROG)
446ba597c5SAnurag S. Maskey
456ba597c5SAnurag S. Maskeycheck:  $(PROG).c
466ba597c5SAnurag S. Maskey	$(CSTYLE) -pP $(PROG).c
476ba597c5SAnurag S. Maskey
486ba597c5SAnurag S. Maskeyclean:
496ba597c5SAnurag S. Maskey
506ba597c5SAnurag S. Maskeylint:	lint_PROG
516ba597c5SAnurag S. Maskey
526ba597c5SAnurag S. Maskeyinclude ../../../Makefile.targ
53