Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
906N/A#
906N/A# CDDL HEADER START
906N/A#
906N/A# The contents of this file are subject to the terms of the
906N/A# Common Development and Distribution License (the "License").
906N/A# You may not use this file except in compliance with the License.
906N/A#
906N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
906N/A# or http://www.opensolaris.org/os/licensing.
906N/A# See the License for the specific language governing permissions
906N/A# and limitations under the License.
906N/A#
906N/A# When distributing Covered Code, include this CDDL HEADER in each
906N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
906N/A# If applicable, add the following below this CDDL HEADER, with the
906N/A# fields enclosed by brackets "[]" replaced with your own identifying
906N/A# information: Portions Copyright [yyyy] [name of copyright owner]
906N/A#
906N/A# CDDL HEADER END
906N/A#
906N/A#
5636N/A# uts/intel/pcram/Makefile
906N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5680N/A# Use is subject to license terms.
5680N/A#
906N/A#ident "%Z%%M% %I% %E% SMI"
906N/A#
906N/A# This makefile drives the production of the pcram driver kernel module.
5109N/A#
1799N/A# intel implementation architecture dependent
1799N/A#
5109N/A
1799N/A#
906N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
5109N/A#
2899N/AUTSBASE = ../..
6009N/A
6009N/A#
6009N/A# Define the module and object file sets.
6009N/A#
6009N/AMODULE = pcram
6009N/AOBJECTS = $(PCRAM_OBJS:%=$(OBJS_DIR)/%)
6009N/ALINTS = $(PCRAM_OBJS:%.o=$(LINTS_DIR)/%.ln)
6009N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
1389N/A
1389N/A#
2410N/A# Include common rules.
906N/A#
3936N/Ainclude $(UTSBASE)/intel/Makefile.intel
3470N/A
5795N/A#
5636N/A# Define targets
4744N/A#
5680N/AALL_TARGET = $(BINARY)
906N/ALINT_TARGET = $(MODULE).lint
3703N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
5680N/A
5983N/A#
5983N/A# Override defaults to build a unique, local modstubs.o.
5983N/A#
5680N/AMODSTUBS_DIR = $(OBJS_DIR)
5680N/ACLEANFILES += $(MODSTUBS_O)
5680N/AINC_PATH += -I$(UTSBASE)/common/pcmcia
906N/A
906N/A#
906N/A# For now, disable these lint checks; maintainers should endeavor
906N/A# to investigate and remove these for maximum lint coverage.
3470N/A# Please do not carry these forward to new Makefiles.
3470N/A#
3470N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
3470N/A
3470N/A#
3775N/A# Default build targets.
5983N/A#
5983N/A.KEEP_STATE:
5983N/A
3775N/Adef: $(DEF_DEPS)
3470N/A
906N/Aall: $(ALL_DEPS)
1389N/A
1389N/Aclean: $(CLEAN_DEPS)
5680N/A
906N/Aclobber: $(CLOBBER_DEPS)
3703N/A
3703N/Alint: $(LINT_DEPS)
906N/A
1389N/Amodlintlib: $(MODLINTLIB_DEPS)
1799N/A
906N/Aclean.lint: $(CLEAN_LINT_DEPS)
906N/A
906N/Ainstall: $(INSTALL_DEPS)
4959N/A
4959N/A#
4959N/A# Include common targets.
4959N/A#
6025N/Ainclude $(UTSBASE)/intel/Makefile.targ
5983N/A
906N/A