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. Maskeyinclude $(SRC)/lib/Makefile.lib
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. MaskeyHDRS = libnwam.h libnwam_priv.h
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. MaskeySRCS = libnwam_audit.c libnwam_backend.c libnwam_enm.c \
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey libnwam_events.c libnwam_error.c libnwam_files.c \
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey libnwam_known_wlan.c libnwam_loc.c libnwam_ncp.c \
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey libnwam_object.c libnwam_util.c libnwam_values.c \
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey libnwam_wlan.c
b00044a2eb43864b8718585d21949611a2ee59efJames CarlsonHDRDIR = common
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. MaskeySUBDIRS= $(MACH)
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. MaskeyPOFILE = libnwam.po
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. MaskeyMSGFILES = common/*.c
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. MaskeyXGETFLAGS = -a -x libnwam.xcl
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson
b00044a2eb43864b8718585d21949611a2ee59efJames Carlsonall := TARGET = all
b00044a2eb43864b8718585d21949611a2ee59efJames Carlsonclean := TARGET = clean
b00044a2eb43864b8718585d21949611a2ee59efJames Carlsonclobber := TARGET = clobber
b00044a2eb43864b8718585d21949611a2ee59efJames Carlsoninstall := TARGET = install
b00044a2eb43864b8718585d21949611a2ee59efJames Carlsonlint := TARGET = lint
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson.KEEP_STATE:
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson
b00044a2eb43864b8718585d21949611a2ee59efJames Carlsonall clean clobber install lint: $(SUBDIRS)
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson
b00044a2eb43864b8718585d21949611a2ee59efJames Carlsoninstall_h: $(ROOTHDRS)
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskeycheck: $(CHECKHDRS)
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey$(POFILE): pofile_MSGFILES
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey
6ba597c56d749c61b4f783157f63196d7b2445f0Anurag S. Maskey_msg: $(MSGDOMAINPOFILE)
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson$(SUBDIRS): FRC
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson @cd $@; pwd; $(MAKE) $(TARGET)
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson
b00044a2eb43864b8718585d21949611a2ee59efJames CarlsonFRC:
b00044a2eb43864b8718585d21949611a2ee59efJames Carlson
b00044a2eb43864b8718585d21949611a2ee59efJames Carlsoninclude $(SRC)/Makefile.msg.targ
b00044a2eb43864b8718585d21949611a2ee59efJames Carlsoninclude $(SRC)/lib/Makefile.targ