Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# CDDL HEADER START
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# The contents of this file are subject to the terms of the
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Common Development and Distribution License (the "License").
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# You may not use this file except in compliance with the License.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# or http://www.opensolaris.org/os/licensing.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# See the License for the specific language governing permissions
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# and limitations under the License.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# When distributing Covered Code, include this CDDL HEADER in each
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2f4c1bacd54af5063c3185cc8eab03e4e8ef9b90vboxsync# If applicable, add the following below this CDDL HEADER, with the
ed265533ed792c6221dd52b450063117983e1e8bvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
e85b92d4df013df97a72864a412eb94eb3f70acevboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
0bebd3a2671042901f1fcceff14f8c58dd397478vboxsync# CDDL HEADER END
9f52ff8b6b89d6ac4215d122a95b685170a5a382vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# uts/intel/pcata/Makefile
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Use is subject to license terms.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# This makefile drives the production of the pcata driver kernel module.
e6a86a4d338a624268b412775d5a8921143274d6vboxsync#
7d6292b993f8528e177d784e9904d7c4af6b502bvboxsync# intel implementation architecture dependent
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
6a184276d5a304e093985a1b2f6e91142e9850b4vboxsync
6a184276d5a304e093985a1b2f6e91142e9850b4vboxsync#
6a184276d5a304e093985a1b2f6e91142e9850b4vboxsync# Path to the base of the uts directory tree (usually /usr/src/uts).
6a184276d5a304e093985a1b2f6e91142e9850b4vboxsync#
2609df5222cfcceb51ec536b2e3173b7227a232avboxsyncUTSBASE = ../..
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync#
dee9595a04fb1bd1908a48bd602fa1ed0b6967f9vboxsync# Define the module and object file sets.
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync#
2609df5222cfcceb51ec536b2e3173b7227a232avboxsyncMODULE = pcata
2609df5222cfcceb51ec536b2e3173b7227a232avboxsyncOBJECTS = $(PCATA_OBJS:%=$(OBJS_DIR)/%)
2609df5222cfcceb51ec536b2e3173b7227a232avboxsyncLINTS = $(PCATA_OBJS:%.o=$(LINTS_DIR)/%.ln)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
a00ad31f6bb9820db927338b8ddc14740576fedevboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Include common rules.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinclude $(UTSBASE)/intel/Makefile.intel
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Define targets
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncALL_TARGET = $(BINARY)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncLINT_TARGET = $(MODULE).lint
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Override defaults to build a unique, local modstubs.o.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
2609df5222cfcceb51ec536b2e3173b7227a232avboxsyncMODSTUBS_DIR = $(OBJS_DIR)
2609df5222cfcceb51ec536b2e3173b7227a232avboxsyncCLEANFILES += $(MODSTUBS_O)
2609df5222cfcceb51ec536b2e3173b7227a232avboxsyncINC_PATH += -I$(UTSBASE)/common/pcmcia
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync#
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync# For now, disable these lint checks; maintainers should endeavor
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync# to investigate and remove these for maximum lint coverage.
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync# Please do not carry these forward to new Makefiles.
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync#
2609df5222cfcceb51ec536b2e3173b7227a232avboxsyncLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
2609df5222cfcceb51ec536b2e3173b7227a232avboxsyncLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync
2609df5222cfcceb51ec536b2e3173b7227a232avboxsyncCERRWARN += -_gcc=-Wno-parentheses
2609df5222cfcceb51ec536b2e3173b7227a232avboxsyncCERRWARN += -_gcc=-Wno-uninitialized
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync#
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync# Default build targets.
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync#
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync.KEEP_STATE:
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync
2609df5222cfcceb51ec536b2e3173b7227a232avboxsyncdef: $(DEF_DEPS)
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync
2609df5222cfcceb51ec536b2e3173b7227a232avboxsyncall: $(ALL_DEPS)
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync
2609df5222cfcceb51ec536b2e3173b7227a232avboxsyncclean: $(CLEAN_DEPS)
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync
2609df5222cfcceb51ec536b2e3173b7227a232avboxsyncclobber: $(CLOBBER_DEPS)
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync
2609df5222cfcceb51ec536b2e3173b7227a232avboxsynclint: $(LINT_DEPS)
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync
2609df5222cfcceb51ec536b2e3173b7227a232avboxsyncmodlintlib: $(MODLINTLIB_DEPS)
2609df5222cfcceb51ec536b2e3173b7227a232avboxsync
2609df5222cfcceb51ec536b2e3173b7227a232avboxsyncclean.lint: $(CLEAN_LINT_DEPS)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinstall: $(INSTALL_DEPS)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Include common targets.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinclude $(UTSBASE)/intel/Makefile.targ
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync