1dd1de374Slin wang - Sun Microsystems - Beijing China# 2dd1de374Slin wang - Sun Microsystems - Beijing China# CDDL HEADER START 3dd1de374Slin wang - Sun Microsystems - Beijing China# 4dd1de374Slin wang - Sun Microsystems - Beijing China# The contents of this file are subject to the terms of the 5dd1de374Slin wang - Sun Microsystems - Beijing China# Common Development and Distribution License (the "License"). 6dd1de374Slin wang - Sun Microsystems - Beijing China# You may not use this file except in compliance with the License. 7dd1de374Slin wang - Sun Microsystems - Beijing China# 8dd1de374Slin wang - Sun Microsystems - Beijing China# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9dd1de374Slin wang - Sun Microsystems - Beijing China# or http://www.opensolaris.org/os/licensing. 10dd1de374Slin wang - Sun Microsystems - Beijing China# See the License for the specific language governing permissions 11dd1de374Slin wang - Sun Microsystems - Beijing China# and limitations under the License. 12dd1de374Slin wang - Sun Microsystems - Beijing China# 13dd1de374Slin wang - Sun Microsystems - Beijing China# When distributing Covered Code, include this CDDL HEADER in each 14dd1de374Slin wang - Sun Microsystems - Beijing China# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15dd1de374Slin wang - Sun Microsystems - Beijing China# If applicable, add the following below this CDDL HEADER, with the 16dd1de374Slin wang - Sun Microsystems - Beijing China# fields enclosed by brackets "[]" replaced with your own identifying 17dd1de374Slin wang - Sun Microsystems - Beijing China# information: Portions Copyright [yyyy] [name of copyright owner] 18dd1de374Slin wang - Sun Microsystems - Beijing China# 19dd1de374Slin wang - Sun Microsystems - Beijing China# CDDL HEADER END 20dd1de374Slin wang - Sun Microsystems - Beijing China# 21dd1de374Slin wang - Sun Microsystems - Beijing China# 22dd1de374Slin wang - Sun Microsystems - Beijing China# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23dd1de374Slin wang - Sun Microsystems - Beijing China# Use is subject to license terms. 24dd1de374Slin wang - Sun Microsystems - Beijing China# 25dd1de374Slin wang - Sun Microsystems - Beijing China 26dd1de374Slin wang - Sun Microsystems - Beijing China 27dd1de374Slin wang - Sun Microsystems - Beijing China# 28dd1de374Slin wang - Sun Microsystems - Beijing China# This file makes the atheros IEEE 802.11n driver for an intel system 29dd1de374Slin wang - Sun Microsystems - Beijing China# 30dd1de374Slin wang - Sun Microsystems - Beijing China# intel architecture dependent 31dd1de374Slin wang - Sun Microsystems - Beijing China# 32dd1de374Slin wang - Sun Microsystems - Beijing China 33dd1de374Slin wang - Sun Microsystems - Beijing China# 34dd1de374Slin wang - Sun Microsystems - Beijing China# Path to the base of the uts directory tree (usually /usr/src/uts). 35dd1de374Slin wang - Sun Microsystems - Beijing China# 36dd1de374Slin wang - Sun Microsystems - Beijing ChinaUTSBASE = ../.. 37dd1de374Slin wang - Sun Microsystems - Beijing China# 38dd1de374Slin wang - Sun Microsystems - Beijing China# Define the module and object file sets. 39dd1de374Slin wang - Sun Microsystems - Beijing China# 40dd1de374Slin wang - Sun Microsystems - Beijing ChinaMODULE = arn 41dd1de374Slin wang - Sun Microsystems - Beijing ChinaOBJECTS = $(ARN_OBJS:%=$(OBJS_DIR)/%) 42dd1de374Slin wang - Sun Microsystems - Beijing ChinaLINTS = $(ARN_OBJS:%.o=$(LINTS_DIR)/%.ln) 43dd1de374Slin wang - Sun Microsystems - Beijing ChinaROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 44dd1de374Slin wang - Sun Microsystems - Beijing China 45dd1de374Slin wang - Sun Microsystems - Beijing China# 46dd1de374Slin wang - Sun Microsystems - Beijing China# Include common rules. 47dd1de374Slin wang - Sun Microsystems - Beijing China# 48dd1de374Slin wang - Sun Microsystems - Beijing Chinainclude $(UTSBASE)/intel/Makefile.intel 49dd1de374Slin wang - Sun Microsystems - Beijing China 50dd1de374Slin wang - Sun Microsystems - Beijing China# 51dd1de374Slin wang - Sun Microsystems - Beijing China# Define targets 52dd1de374Slin wang - Sun Microsystems - Beijing China# 53dd1de374Slin wang - Sun Microsystems - Beijing ChinaALL_TARGET = $(BINARY) 54dd1de374Slin wang - Sun Microsystems - Beijing ChinaLINT_TARGET = $(MODULE).lint 55dd1de374Slin wang - Sun Microsystems - Beijing ChinaINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 56dd1de374Slin wang - Sun Microsystems - Beijing China 57dd1de374Slin wang - Sun Microsystems - Beijing China# 58dd1de374Slin wang - Sun Microsystems - Beijing China# Driver depends on GLDv3 & wifi kernel support module. 59dd1de374Slin wang - Sun Microsystems - Beijing China# 60dd1de374Slin wang - Sun Microsystems - Beijing ChinaLDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 61dd1de374Slin wang - Sun Microsystems - Beijing China 62dd1de374Slin wang - Sun Microsystems - Beijing ChinaLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN 63dd1de374Slin wang - Sun Microsystems - Beijing China 64*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-variable 65*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-function 66*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized 67*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-char-subscripts 68*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-empty-body 69*7014882cSRichard Lowe 70dd1de374Slin wang - Sun Microsystems - Beijing China# 71dd1de374Slin wang - Sun Microsystems - Beijing China# Default build targets. 72dd1de374Slin wang - Sun Microsystems - Beijing China# 73dd1de374Slin wang - Sun Microsystems - Beijing China.KEEP_STATE: 74dd1de374Slin wang - Sun Microsystems - Beijing China 75dd1de374Slin wang - Sun Microsystems - Beijing Chinadef: $(DEF_DEPS) 76dd1de374Slin wang - Sun Microsystems - Beijing China 77dd1de374Slin wang - Sun Microsystems - Beijing Chinaall: $(ALL_DEPS) 78dd1de374Slin wang - Sun Microsystems - Beijing China 79dd1de374Slin wang - Sun Microsystems - Beijing Chinaclean: $(CLEAN_DEPS) 80dd1de374Slin wang - Sun Microsystems - Beijing China 81dd1de374Slin wang - Sun Microsystems - Beijing Chinaclobber: $(CLOBBER_DEPS) 82dd1de374Slin wang - Sun Microsystems - Beijing China 83dd1de374Slin wang - Sun Microsystems - Beijing Chinalint: $(LINT_DEPS) 84dd1de374Slin wang - Sun Microsystems - Beijing China 85dd1de374Slin wang - Sun Microsystems - Beijing Chinamodlintlib: $(MODLINTLIB_DEPS) 86dd1de374Slin wang - Sun Microsystems - Beijing China 87dd1de374Slin wang - Sun Microsystems - Beijing Chinaclean.lint: $(CLEAN_LINT_DEPS) 88dd1de374Slin wang - Sun Microsystems - Beijing China 89dd1de374Slin wang - Sun Microsystems - Beijing Chinainstall: $(INSTALL_DEPS) 90dd1de374Slin wang - Sun Microsystems - Beijing China 91dd1de374Slin wang - Sun Microsystems - Beijing China# 92dd1de374Slin wang - Sun Microsystems - Beijing China# Include common targets. 93dd1de374Slin wang - Sun Microsystems - Beijing China# 94dd1de374Slin wang - Sun Microsystems - Beijing Chinainclude $(UTSBASE)/intel/Makefile.targ 95dd1de374Slin wang - Sun Microsystems - Beijing China 96dd1de374Slin wang - Sun Microsystems - Beijing China# 97dd1de374Slin wang - Sun Microsystems - Beijing China# If you have any special case that general 98dd1de374Slin wang - Sun Microsystems - Beijing China# Makefile rules don't serve for you, just do 99dd1de374Slin wang - Sun Microsystems - Beijing China# it yourself. 100dd1de374Slin wang - Sun Microsystems - Beijing China# 101