Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
418N/A#
418N/A# CDDL HEADER START
605N/A#
418N/A# The contents of this file are subject to the terms of the
1063N/A# Common Development and Distribution License, Version 1.0 only
418N/A# (the "License"). You may not use this file except in compliance
418N/A# with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# uts/sparc/pcmem/Makefile
919N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
418N/A# Use is subject to license terms.
418N/A#
418N/A#ident "%Z%%M% %I% %E% SMI"
418N/A#
493N/A# This makefile drives the production of the pcmem driver kernel module.
418N/A#
970N/A
970N/A#
970N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
970N/A#
970N/AUTSBASE = ../..
970N/A
970N/A#
970N/A# Define the module and object file sets.
970N/A#
970N/AMODULE = pcmem
970N/AOBJECTS = $(PCMEM_OBJS:%=$(OBJS_DIR)/%)
970N/ALINTS = $(PCMEM_OBJS:%.o=$(LINTS_DIR)/%.ln)
970N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
418N/AITU_SRCDIR = $(UTSBASE)/common/io/pcmcia
1063N/A
418N/A
911N/A#
1063N/A# Include common rules.
1063N/A#
911N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
418N/A
553N/A#
418N/A# Define targets
553N/A#
553N/AALL_TARGET = $(BINARY) $(ITUMOD)
553N/ALINT_TARGET = $(MODULE).lint
553N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_ITUFILE)
418N/A
418N/A#
418N/A# Override defaults to build a unique, local modstubs.o.
857N/A#
418N/AMODSTUBS_DIR = $(OBJS_DIR)
418N/ACLEANFILES += $(MODSTUBS_O)
418N/AINC_PATH += -I$(UTSBASE)/common/pcmcia
493N/A
418N/A#
418N/A# lint pass one enforcement
418N/A#
851N/ACFLAGS += $(CCVERBOSE)
418N/A
851N/A#
418N/A# Default build targets.
418N/A#
493N/A.KEEP_STATE:
418N/A
857N/Adef: $(DEF_DEPS)
851N/A
851N/Aall: $(ALL_DEPS)
672N/A
418N/Aclean: $(CLEAN_DEPS)
857N/A
857N/Aclobber: $(CLOBBER_DEPS)
857N/A
857N/Alint: $(LINT_DEPS)
857N/A
857N/Amodlintlib: $(MODLINTLIB_DEPS) lint64
857N/A
418N/Aclean.lint: $(CLEAN_LINT_DEPS)
851N/A
418N/Ainstall: $(INSTALL_DEPS)
857N/A
857N/A#
857N/A# Include common targets.
970N/A#
970N/Ainclude $(UTSBASE)/sparc/Makefile.targ
970N/A
418N/A