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