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