Makefile revision 6ba597c56d749c61b4f783157f63196d7b2445f0
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson#
499b34cea04a46823d003d4c0520c8b03e8513cbBrian Wellington# CDDL HEADER START
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence#
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson# The contents of this file are subject to the terms of the
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson# Common Development and Distribution License (the "License").
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson# You may not use this file except in compliance with the License.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence#
15a44745412679c30a6d022733925af70a38b715David Lawrence# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15a44745412679c30a6d022733925af70a38b715David Lawrence# or http://www.opensolaris.org/os/licensing.
15a44745412679c30a6d022733925af70a38b715David Lawrence# See the License for the specific language governing permissions
15a44745412679c30a6d022733925af70a38b715David Lawrence# and limitations under the License.
15a44745412679c30a6d022733925af70a38b715David Lawrence#
15a44745412679c30a6d022733925af70a38b715David Lawrence# When distributing Covered Code, include this CDDL HEADER in each
15a44745412679c30a6d022733925af70a38b715David Lawrence# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15a44745412679c30a6d022733925af70a38b715David Lawrence# If applicable, add the following below this CDDL HEADER, with the
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson# fields enclosed by brackets "[]" replaced with your own identifying
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson# information: Portions Copyright [yyyy] [name of copyright owner]
499b34cea04a46823d003d4c0520c8b03e8513cbBrian Wellington#
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence# CDDL HEADER END
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson#
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson#
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# Use is subject to license terms.
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson#
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson#
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson# cmd/cmd-inet/usr.sbin/nwamadm/Makefile
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas GustafssonPROG= nwamadm
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssoninclude ../../../Makefile.cmd
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas GustafssonXGETFLAGS += -a -x $(PROG).xcl
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas GustafssonLDLIBS += -linetutil -lnsl -lnwam -lumem -lscf
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson.KEEP_STATE:
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssonall: $(PROG)
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssoninstall: all $(ROOTUSRSBINPROG)
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrencecheck: $(PROG).c
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson $(CSTYLE) -pP $(PROG).c
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssonclean:
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssonlint: lint_PROG
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafssoninclude ../../../Makefile.targ
ca485ab26fffa241a3eac1899b2d2012dd1fdb73Andreas Gustafsson