Makefile revision c8343062f6e25afd9c2a31b65df357030e69fa55
1258N/A#
1258N/A# CDDL HEADER START
1258N/A#
1258N/A# The contents of this file are subject to the terms of the
1258N/A# Common Development and Distribution License, Version 1.0 only
1258N/A# (the "License"). You may not use this file except in compliance
1258N/A# with the License.
1258N/A#
1258N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1258N/A# or http://www.opensolaris.org/os/licensing.
1258N/A# See the License for the specific language governing permissions
1258N/A# and limitations under the License.
1258N/A#
1258N/A# When distributing Covered Code, include this CDDL HEADER in each
1258N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1258N/A# If applicable, add the following below this CDDL HEADER, with the
1258N/A# fields enclosed by brackets "[]" replaced with your own identifying
1258N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1258N/A#
1258N/A# CDDL HEADER END
1258N/A#
1258N/A#
1258N/A# uts/sparc/pcram/Makefile
1258N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
1258N/A# Use is subject to license terms.
1258N/A#
1258N/A#pragma ident "%Z%%M% %I% %E% SMI"
1258N/A#
1258N/A# This makefile drives the production of the pcram driver kernel module.
1258N/A#
1258N/A
1258N/A#
1258N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
1258N/A#
1258N/AUTSBASE = ../..
1258N/A
1258N/A#
1258N/A# Define the module and object file sets.
1258N/A#
1258N/AMODULE = pcram
1258N/AOBJECTS = $(PCRAM_OBJS:%=$(OBJS_DIR)/%)
1258N/ALINTS = $(PCRAM_OBJS:%.o=$(LINTS_DIR)/%.ln)
1258N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
# Include common rules.
#
include $(UTSBASE)/sparc/Makefile.sparc
#
# Define targets
#
ALL_TARGET = $(BINARY)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Override defaults to build a unique, local modstubs.o.
#
MODSTUBS_DIR = $(OBJS_DIR)
CLEANFILES += $(MODSTUBS_O)
INC_PATH += -I$(UTSBASE)/common/pcmcia
#
# lint pass one enforcement
#
CFLAGS += $(CCVERBOSE)
#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS) lint64
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/sparc/Makefile.targ