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# 22*6ba597c5SAnurag S. Maskey# Copyright 2010 Sun Microsystems, Inc. All rights reserved. 23b00044a2SJames Carlson# Use is subject to license terms. 24b00044a2SJames Carlson# 25b00044a2SJames Carlson 26b00044a2SJames Carlsoninclude $(SRC)/lib/Makefile.lib 27b00044a2SJames Carlson 28*6ba597c5SAnurag S. MaskeyHDRS = libnwam.h libnwam_priv.h 29*6ba597c5SAnurag S. MaskeySRCS = libnwam_audit.c libnwam_backend.c libnwam_enm.c \ 30*6ba597c5SAnurag S. Maskey libnwam_events.c libnwam_error.c libnwam_files.c \ 31*6ba597c5SAnurag S. Maskey libnwam_known_wlan.c libnwam_loc.c libnwam_ncp.c \ 32*6ba597c5SAnurag S. Maskey libnwam_object.c libnwam_util.c libnwam_values.c \ 33*6ba597c5SAnurag S. Maskey libnwam_wlan.c 34b00044a2SJames CarlsonHDRDIR = common 35b00044a2SJames CarlsonSUBDIRS= $(MACH) 36*6ba597c5SAnurag S. MaskeyPOFILE = libnwam.po 37*6ba597c5SAnurag S. MaskeyMSGFILES = common/*.c 38*6ba597c5SAnurag S. Maskey 39*6ba597c5SAnurag S. MaskeyXGETFLAGS = -a -x libnwam.xcl 40b00044a2SJames Carlson 41b00044a2SJames Carlsonall := TARGET = all 42b00044a2SJames Carlsonclean := TARGET = clean 43b00044a2SJames Carlsonclobber := TARGET = clobber 44b00044a2SJames Carlsoninstall := TARGET = install 45b00044a2SJames Carlsonlint := TARGET = lint 46b00044a2SJames Carlson 47b00044a2SJames Carlson.KEEP_STATE: 48b00044a2SJames Carlson 49b00044a2SJames Carlsonall clean clobber install lint: $(SUBDIRS) 50b00044a2SJames Carlson 51b00044a2SJames Carlsoninstall_h: $(ROOTHDRS) 52b00044a2SJames Carlson 53*6ba597c5SAnurag S. Maskeycheck: $(CHECKHDRS) 54*6ba597c5SAnurag S. Maskey 55*6ba597c5SAnurag S. Maskey$(POFILE): pofile_MSGFILES 56*6ba597c5SAnurag S. Maskey 57*6ba597c5SAnurag S. Maskey_msg: $(MSGDOMAINPOFILE) 58b00044a2SJames Carlson 59b00044a2SJames Carlson$(SUBDIRS): FRC 60b00044a2SJames Carlson @cd $@; pwd; $(MAKE) $(TARGET) 61b00044a2SJames Carlson 62b00044a2SJames CarlsonFRC: 63b00044a2SJames Carlson 64b00044a2SJames Carlsoninclude $(SRC)/Makefile.msg.targ 65b00044a2SJames Carlsoninclude $(SRC)/lib/Makefile.targ 66