1a72f7ea6Sql147931# 2a72f7ea6Sql147931# CDDL HEADER START 3a72f7ea6Sql147931# 4a72f7ea6Sql147931# The contents of this file are subject to the terms of the 5a72f7ea6Sql147931# Common Development and Distribution License (the "License"). 6a72f7ea6Sql147931# You may not use this file except in compliance with the License. 7a72f7ea6Sql147931# 8a72f7ea6Sql147931# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9a72f7ea6Sql147931# or http://www.opensolaris.org/os/licensing. 10a72f7ea6Sql147931# See the License for the specific language governing permissions 11a72f7ea6Sql147931# and limitations under the License. 12a72f7ea6Sql147931# 13a72f7ea6Sql147931# When distributing Covered Code, include this CDDL HEADER in each 14a72f7ea6Sql147931# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15a72f7ea6Sql147931# If applicable, add the following below this CDDL HEADER, with the 16a72f7ea6Sql147931# fields enclosed by brackets "[]" replaced with your own identifying 17a72f7ea6Sql147931# information: Portions Copyright [yyyy] [name of copyright owner] 18a72f7ea6Sql147931# 19a72f7ea6Sql147931# CDDL HEADER END 20a72f7ea6Sql147931# 21a72f7ea6Sql147931# 22020c4770Sql147931# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 23a72f7ea6Sql147931# Use is subject to license terms. 24a72f7ea6Sql147931# 257014882cSRichard Lowe 26a72f7ea6Sql147931# 27a72f7ea6Sql147931# This makefile drives the production of the realtek 8180 28a72f7ea6Sql147931# wifi(rtw) driver module in intel systems 29a72f7ea6Sql147931# 30a72f7ea6Sql147931 31a72f7ea6Sql147931# 32a72f7ea6Sql147931# Path to the base of the uts directory tree (usually /usr/src/uts). 33a72f7ea6Sql147931# 34a72f7ea6Sql147931UTSBASE = ../.. 35a72f7ea6Sql147931 36a72f7ea6Sql147931# 37a72f7ea6Sql147931# Define the module and object file sets. 38a72f7ea6Sql147931# 39a72f7ea6Sql147931MODULE = rtw 40a72f7ea6Sql147931OBJECTS = $(RTW_OBJS:%=$(OBJS_DIR)/%) 41a72f7ea6Sql147931ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 42a72f7ea6Sql147931 43a72f7ea6Sql147931# 44a72f7ea6Sql147931# Include common rules. 45a72f7ea6Sql147931# 46a72f7ea6Sql147931include $(UTSBASE)/intel/Makefile.intel 47a72f7ea6Sql147931 48a72f7ea6Sql147931# 49a72f7ea6Sql147931# Define targets 50a72f7ea6Sql147931# 51a72f7ea6Sql147931ALL_TARGET = $(BINARY) 52a72f7ea6Sql147931INSTALL_TARGET = $(BINARY) $(ROOTMODULE) 53a72f7ea6Sql147931 54a72f7ea6Sql147931# 55a72f7ea6Sql147931# Driver depends on MAC-WIFI & net80211 misc modules 56a72f7ea6Sql147931# 57*82d0151aSRichard LoweLDFLAGS += -Nmisc/mac -Nmisc/net80211 58a72f7ea6Sql147931 597014882cSRichard LoweCERRWARN += -_gcc=-Wno-type-limits 607014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-label 617014882cSRichard LoweCERRWARN += -_gcc=-Wno-switch 627014882cSRichard Lowe 63a72f7ea6Sql147931# 64a72f7ea6Sql147931# Default build targets. 65a72f7ea6Sql147931# 66a72f7ea6Sql147931.KEEP_STATE: 67a72f7ea6Sql147931 68a72f7ea6Sql147931def: $(DEF_DEPS) 69a72f7ea6Sql147931 70a72f7ea6Sql147931all: $(ALL_DEPS) 71a72f7ea6Sql147931 72a72f7ea6Sql147931clean: $(CLEAN_DEPS) 73a72f7ea6Sql147931 74a72f7ea6Sql147931clobber: $(CLOBBER_DEPS) 75a72f7ea6Sql147931 76a72f7ea6Sql147931install: $(INSTALL_DEPS) 77a72f7ea6Sql147931 78a72f7ea6Sql147931# 79a72f7ea6Sql147931# Include common targets. 80a72f7ea6Sql147931# 81a72f7ea6Sql147931include $(UTSBASE)/intel/Makefile.targ 82