b00044a2eb43864b8718585d21949611a2ee59efJames Carlson#
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson# CDDL HEADER START
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson#
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson# The contents of this file are subject to the terms of the
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson# Common Development and Distribution License (the "License").
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson# You may not use this file except in compliance with the License.
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson#
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson# or http://www.opensolaris.org/os/licensing.
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson# See the License for the specific language governing permissions
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson# and limitations under the License.
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson#
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson# When distributing Covered Code, include this CDDL HEADER in each
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson# If applicable, add the following below this CDDL HEADER, with the
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson# fields enclosed by brackets "[]" replaced with your own identifying
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson# information: Portions Copyright [yyyy] [name of copyright owner]
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson#
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson# CDDL HEADER END
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson#
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson#
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson# Use is subject to license terms.
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson#
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. MaskeyLIBRARY= libnwam.a
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. MaskeyVERS= .1
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. MaskeyOBJECTS= libnwam_audit.o \
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey libnwam_backend.o \
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey libnwam_enm.o \
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey libnwam_events.o \
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey libnwam_error.o \
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey libnwam_files.o \
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey libnwam_known_wlan.o \
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey libnwam_loc.o \
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey libnwam_ncp.o \
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey libnwam_object.o \
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey libnwam_util.o \
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey libnwam_values.o \
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey libnwam_wlan.o
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson
b00044a2eb43864b8718585d21949611a2ee59efJames Carlsoninclude ../../Makefile.lib
b00044a2eb43864b8718585d21949611a2ee59efJames Carlsoninclude ../../Makefile.rootfs
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson
b00044a2eb43864b8718585d21949611a2ee59efJames CarlsonLIBS = $(DYNLIB) $(LINTLIB)
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. MaskeyLDLIBS += -lbsm -lc -ldladm -lnsl -lnvpair -lscf -lsecdb -lsocket
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson
b00044a2eb43864b8718585d21949611a2ee59efJames CarlsonSRCDIR = ../common
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. MaskeyCFLAGS += $(CCVERBOSE)
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. MaskeyCPPFLAGS += -I$(SRCDIR) -D_REENTRANT
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-switch
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-uninitialized
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson.KEEP_STATE:
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskeyall: $(LIBS)
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskeylint: lintcheck
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskeyinclude $(SRC)/lib/Makefile.targ