xref: /titanic_50/usr/src/lib/libnwam/Makefile.com (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
1b00044a2SJames Carlson#
2b00044a2SJames Carlson# CDDL HEADER START
3b00044a2SJames Carlson#
4b00044a2SJames Carlson# The contents of this file are subject to the terms of the
5b00044a2SJames Carlson# Common Development and Distribution License (the "License").
6b00044a2SJames Carlson# You may not use this file except in compliance with the License.
7b00044a2SJames Carlson#
8b00044a2SJames Carlson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9b00044a2SJames Carlson# or http://www.opensolaris.org/os/licensing.
10b00044a2SJames Carlson# See the License for the specific language governing permissions
11b00044a2SJames Carlson# and limitations under the License.
12b00044a2SJames Carlson#
13b00044a2SJames Carlson# When distributing Covered Code, include this CDDL HEADER in each
14b00044a2SJames Carlson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15b00044a2SJames Carlson# If applicable, add the following below this CDDL HEADER, with the
16b00044a2SJames Carlson# fields enclosed by brackets "[]" replaced with your own identifying
17b00044a2SJames Carlson# information: Portions Copyright [yyyy] [name of copyright owner]
18b00044a2SJames Carlson#
19b00044a2SJames Carlson# CDDL HEADER END
20b00044a2SJames Carlson#
21b00044a2SJames Carlson#
226ba597c5SAnurag S. Maskey# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
23b00044a2SJames Carlson# Use is subject to license terms.
24b00044a2SJames Carlson#
25b00044a2SJames Carlson
26b00044a2SJames CarlsonLIBRARY=	libnwam.a
27b00044a2SJames CarlsonVERS=		.1
286ba597c5SAnurag S. MaskeyOBJECTS=	libnwam_audit.o \
296ba597c5SAnurag S. Maskey		libnwam_backend.o \
306ba597c5SAnurag S. Maskey		libnwam_enm.o \
316ba597c5SAnurag S. Maskey		libnwam_events.o \
326ba597c5SAnurag S. Maskey		libnwam_error.o \
336ba597c5SAnurag S. Maskey		libnwam_files.o \
346ba597c5SAnurag S. Maskey		libnwam_known_wlan.o \
356ba597c5SAnurag S. Maskey		libnwam_loc.o \
366ba597c5SAnurag S. Maskey		libnwam_ncp.o \
376ba597c5SAnurag S. Maskey		libnwam_object.o \
386ba597c5SAnurag S. Maskey		libnwam_util.o \
396ba597c5SAnurag S. Maskey		libnwam_values.o \
406ba597c5SAnurag S. Maskey		libnwam_wlan.o
41b00044a2SJames Carlson
42b00044a2SJames Carlsoninclude ../../Makefile.lib
43b00044a2SJames Carlsoninclude ../../Makefile.rootfs
44b00044a2SJames Carlson
45b00044a2SJames CarlsonLIBS =		$(DYNLIB) $(LINTLIB)
466ba597c5SAnurag S. MaskeyLDLIBS +=	-lbsm -lc -ldladm -lnsl -lnvpair -lscf -lsecdb -lsocket
47b00044a2SJames Carlson
48b00044a2SJames CarlsonSRCDIR =	../common
49b00044a2SJames Carlson$(LINTLIB) := SRCS=	$(SRCDIR)/$(LINTSRC)
50b00044a2SJames Carlson
51b00044a2SJames CarlsonCFLAGS +=       $(CCVERBOSE)
526ba597c5SAnurag S. MaskeyCPPFLAGS +=	-I$(SRCDIR) -D_REENTRANT
53b00044a2SJames Carlson
54*7014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-switch
55*7014882cSRichard LoweCERRWARN +=	-_gcc=-Wno-uninitialized
56*7014882cSRichard Lowe
57b00044a2SJames Carlson.KEEP_STATE:
58b00044a2SJames Carlson
59b00044a2SJames Carlsonall:	$(LIBS)
60b00044a2SJames Carlson
61b00044a2SJames Carlsonlint:	lintcheck
62b00044a2SJames Carlson
636ba597c5SAnurag S. Maskeyinclude  $(SRC)/lib/Makefile.targ
64