Makefile revision b127ac411761a3d8d642d9342d9cac2785e1faaa
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER START
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# The contents of this file are subject to the terms of the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Common Development and Distribution License (the "License").
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You may not use this file except in compliance with the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# or http://www.opensolaris.org/os/licensing.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# See the License for the specific language governing permissions
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# and limitations under the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# When distributing Covered Code, include this CDDL HEADER in each
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# If applicable, add the following below this CDDL HEADER, with the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# fields enclosed by brackets "[]" replaced with your own identifying
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# information: Portions Copyright [yyyy] [name of copyright owner]
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER END
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
037cac007b685e7ea79f6ef7e8e62bfd342a4d56joyce mcintosh# Use is subject to license terms.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# uts/sparc/dev/Makefile
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# This makefile drives the production of the /dev file system
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# kernel module.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# sparc implementation architecture dependent
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Path to the base of the uts directory tree (usually /usr/src/uts).
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwUTSBASE = ../..
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
3db3f65c6274eb042354801a308c8e9bc4994553amw# Define the module and object file sets.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
3db3f65c6274eb042354801a308c8e9bc4994553amwMODULE = dev
3db3f65c6274eb042354801a308c8e9bc4994553amwOBJECTS = $(DEV_OBJS:%=$(OBJS_DIR)/%)
3db3f65c6274eb042354801a308c8e9bc4994553amwLINTS = $(DEV_OBJS:%.o=$(LINTS_DIR)/%.ln)
3db3f65c6274eb042354801a308c8e9bc4994553amwROOTMODULE = $(ROOT_FS_DIR)/$(MODULE)
3db3f65c6274eb042354801a308c8e9bc4994553amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
3db3f65c6274eb042354801a308c8e9bc4994553amw# Include common rules.
3db3f65c6274eb042354801a308c8e9bc4994553amw#
3db3f65c6274eb042354801a308c8e9bc4994553amwinclude $(UTSBASE)/sparc/Makefile.sparc
3db3f65c6274eb042354801a308c8e9bc4994553amw
3db3f65c6274eb042354801a308c8e9bc4994553amw#
3db3f65c6274eb042354801a308c8e9bc4994553amw# Define targets
3db3f65c6274eb042354801a308c8e9bc4994553amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwALL_TARGET = $(BINARY)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwLINT_TARGET = $(MODULE).lint
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
3db3f65c6274eb042354801a308c8e9bc4994553amw#
3db3f65c6274eb042354801a308c8e9bc4994553amw# Overrides.
3db3f65c6274eb042354801a308c8e9bc4994553amw#
3db3f65c6274eb042354801a308c8e9bc4994553amwMODSTUBS_DIR = $(OBJS_DIR)
3db3f65c6274eb042354801a308c8e9bc4994553amw# $(MODSTUBS_O) := AS_CPPFLAGS += -DDEVFS_MODULE
3db3f65c6274eb042354801a308c8e9bc4994553amw# CLEANFILES += $(MODSTUBS_O)
3db3f65c6274eb042354801a308c8e9bc4994553amwCFLAGS += $(CCVERBOSE)
3db3f65c6274eb042354801a308c8e9bc4994553amwLDFLAGS += -dy -Nfs/devfs -Nmisc/dls
037cac007b685e7ea79f6ef7e8e62bfd342a4d56joyce mcintosh
3db3f65c6274eb042354801a308c8e9bc4994553amw#
3db3f65c6274eb042354801a308c8e9bc4994553amw# Default build targets.
3db3f65c6274eb042354801a308c8e9bc4994553amw#
3db3f65c6274eb042354801a308c8e9bc4994553amw.KEEP_STATE:
3db3f65c6274eb042354801a308c8e9bc4994553amw
3db3f65c6274eb042354801a308c8e9bc4994553amwdef: $(DEF_DEPS)
3db3f65c6274eb042354801a308c8e9bc4994553amw
3db3f65c6274eb042354801a308c8e9bc4994553amwall: $(ALL_DEPS)
3db3f65c6274eb042354801a308c8e9bc4994553amw
3db3f65c6274eb042354801a308c8e9bc4994553amwclean: $(CLEAN_DEPS)
3db3f65c6274eb042354801a308c8e9bc4994553amw
3db3f65c6274eb042354801a308c8e9bc4994553amwclobber: $(CLOBBER_DEPS)
3db3f65c6274eb042354801a308c8e9bc4994553amw
3db3f65c6274eb042354801a308c8e9bc4994553amwlint: $(LINT_DEPS)
3db3f65c6274eb042354801a308c8e9bc4994553amw
3db3f65c6274eb042354801a308c8e9bc4994553amwmodlintlib: $(MODLINTLIB_DEPS)
037cac007b685e7ea79f6ef7e8e62bfd342a4d56joyce mcintosh
037cac007b685e7ea79f6ef7e8e62bfd342a4d56joyce mcintoshclean.lint: $(CLEAN_LINT_DEPS)
3db3f65c6274eb042354801a308c8e9bc4994553amw
3db3f65c6274eb042354801a308c8e9bc4994553amwinstall: $(INSTALL_DEPS)
3db3f65c6274eb042354801a308c8e9bc4994553amw
3db3f65c6274eb042354801a308c8e9bc4994553amw#
3db3f65c6274eb042354801a308c8e9bc4994553amw# Include common targets.
3db3f65c6274eb042354801a308c8e9bc4994553amw#
3db3f65c6274eb042354801a308c8e9bc4994553amwinclude $(UTSBASE)/sparc/Makefile.targ
3db3f65c6274eb042354801a308c8e9bc4994553amw