Makefile revision d62bc4badc1c1f1549c961cfb8b420e650e1272b
7212N/A#
7212N/A# CDDL HEADER START
7212N/A#
7212N/A# The contents of this file are subject to the terms of the
7212N/A# Common Development and Distribution License (the "License").
7212N/A# You may not use this file except in compliance with the License.
7212N/A#
7212N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7212N/A# or http://www.opensolaris.org/os/licensing.
7212N/A# See the License for the specific language governing permissions
7212N/A# and limitations under the License.
7212N/A#
7212N/A# When distributing Covered Code, include this CDDL HEADER in each
7212N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7212N/A# If applicable, add the following below this CDDL HEADER, with the
7212N/A# fields enclosed by brackets "[]" replaced with your own identifying
7212N/A# information: Portions Copyright [yyyy] [name of copyright owner]
7212N/A#
7212N/A# CDDL HEADER END
7212N/A#
7212N/A# uts/intel/dev/Makefile
7212N/A#
7212N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
7212N/A# Use is subject to license terms.
7212N/A#
7212N/A#ident "%Z%%M% %I% %E% SMI"
7212N/A#
7212N/A# This makefile drives the production of the dev file system
7212N/A# kernel module.
7212N/A#
7212N/A# intel architecture dependent
7212N/A#
7212N/A
7212N/A#
7212N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
7212N/A#
7212N/AUTSBASE = ../..
7212N/A
7212N/A#
7212N/A# Define the module and object file sets.
7230N/A#
7230N/AMODULE = dev
7230N/AOBJECTS = $(DEV_OBJS:%=$(OBJS_DIR)/%)
7212N/ALINTS = $(DEV_OBJS:%.o=$(LINTS_DIR)/%.ln)
7212N/AROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
7212N/A
7212N/A#
7212N/A# Include common rules.
7212N/A#
7212N/Ainclude $(UTSBASE)/intel/Makefile.intel
7212N/A
7212N/A#
7212N/A# Define targets
7212N/A#
7212N/AALL_TARGET = $(BINARY)
7212N/ALINT_TARGET = $(MODULE).lint
7212N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
7212N/A
7212N/A#
7212N/A# Override defaults to build a unique, local modstubs.o.
7212N/A#
7212N/AMODSTUBS_DIR = $(OBJS_DIR)
7212N/ACFLAGS += $(CCVERBOSE)
7212N/ALDFLAGS += -dy -Nfs/devfs -Nmisc/dls
7212N/A
7212N/A#
7212N/A# Default build targets.
7212N/A#
7212N/A.KEEP_STATE:
7212N/A
7212N/Adef: $(DEF_DEPS)
7212N/A
7212N/Aall: $(ALL_DEPS)
7212N/A
7212N/Aclean: $(CLEAN_DEPS)
7212N/A
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ