Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
2830N/A#
2830N/A# CDDL HEADER START
2830N/A#
2830N/A# The contents of this file are subject to the terms of the
2830N/A# Common Development and Distribution License (the "License").
2830N/A# You may not use this file except in compliance with the License.
2830N/A#
2830N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2830N/A# or http://www.opensolaris.org/os/licensing.
2830N/A# See the License for the specific language governing permissions
2830N/A# and limitations under the License.
2830N/A#
2830N/A# When distributing Covered Code, include this CDDL HEADER in each
2830N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2830N/A# If applicable, add the following below this CDDL HEADER, with the
2830N/A# fields enclosed by brackets "[]" replaced with your own identifying
2830N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2830N/A#
2830N/A# CDDL HEADER END
2830N/A#
2830N/A#
2830N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
2830N/A# Use is subject to license terms.
2830N/A#
2830N/A
2830N/A#
2830N/A# This makefile drives the production of the urtw driver kernel module.
2830N/A#
2830N/A# i86pc architecture dependent
2830N/A#
2830N/A
2830N/A#
2830N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
2830N/A#
2830N/AUTSBASE = ../..
2830N/A
2830N/A#
2830N/A# Define the module and object file sets.
2830N/A#
2830N/AMODULE = urtw
2830N/AOBJECTS = $(URTW_OBJS:%=$(OBJS_DIR)/%)
2830N/ALINTS = $(URTW_OBJS:%.o=$(LINTS_DIR)/%.ln)
2830N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
2830N/A
2830N/A#
2830N/A# Include common rules.
2830N/A#
2830N/Ainclude $(UTSBASE)/intel/Makefile.intel
2830N/A
2830N/A#
2830N/A# Define targets
2830N/A#
2830N/AALL_TARGET = $(BINARY)
2830N/ALINT_TARGET = $(MODULE).lint
2830N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
2830N/A
2830N/A#
2830N/A# Driver depends on GLDv3 & wifi kernel support module.
2830N/A#
2830N/ALDFLAGS += -dy -Nmisc/mac -Nmisc/net80211 -Nmisc/usba
2830N/A
2830N/ACERRWARN += -_gcc=-Wno-parentheses
2830N/ACERRWARN += -_gcc=-Wno-switch
2830N/ACERRWARN += -_gcc=-Wno-char-subscripts
2830N/ACERRWARN += -_gcc=-Wno-uninitialized
2830N/A
2830N/A#
2830N/A# Default build targets.
2830N/A#
2830N/A.KEEP_STATE:
2830N/A
2830N/Adef: $(DEF_DEPS)
2830N/A
2830N/Aall: $(ALL_DEPS)
2830N/A
2830N/Aclean: $(CLEAN_DEPS)
2830N/A
2830N/Aclobber: $(CLOBBER_DEPS)
2830N/A
2830N/Alint: $(LINT_DEPS)
2830N/A
2830N/Amodlintlib: $(MODLINTLIB_DEPS)
2830N/A
2830N/Aclean.lint: $(CLEAN_LINT_DEPS)
2830N/A
2830N/Ainstall: $(INSTALL_DEPS)
2830N/A
2830N/A#
2830N/A# Include common targets.
2830N/A#
2830N/Ainclude $(UTSBASE)/intel/Makefile.targ
2830N/A
2830N/A#
2830N/A# If you have any special case that general
2830N/A# Makefile rules don't serve for you, just do
2830N/A# it yourself.
2830N/A#
2830N/A