Makefile revision e4b86885570d77af552e9cf94f142f4d744fb8c8
255a89789d3d5b19f6a8c96bf6c260a96158ef6dJonathan von Schroeder#
255a89789d3d5b19f6a8c96bf6c260a96158ef6dJonathan von Schroeder# CDDL HEADER START
255a89789d3d5b19f6a8c96bf6c260a96158ef6dJonathan von Schroeder#
255a89789d3d5b19f6a8c96bf6c260a96158ef6dJonathan von Schroeder# The contents of this file are subject to the terms of the
255a89789d3d5b19f6a8c96bf6c260a96158ef6dJonathan von Schroeder# Common Development and Distribution License (the "License").
255a89789d3d5b19f6a8c96bf6c260a96158ef6dJonathan von Schroeder# You may not use this file except in compliance with the License.
255a89789d3d5b19f6a8c96bf6c260a96158ef6dJonathan von Schroeder#
255a89789d3d5b19f6a8c96bf6c260a96158ef6dJonathan von Schroeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b2ffbb0cced4c2e4cc1ec3266847881a17f32d34Jonathan von Schroeder# or http://www.opensolaris.org/os/licensing.
b2ffbb0cced4c2e4cc1ec3266847881a17f32d34Jonathan von Schroeder# See the License for the specific language governing permissions
b2ffbb0cced4c2e4cc1ec3266847881a17f32d34Jonathan von Schroeder# and limitations under the License.
b2ffbb0cced4c2e4cc1ec3266847881a17f32d34Jonathan von Schroeder#
b2ffbb0cced4c2e4cc1ec3266847881a17f32d34Jonathan von Schroeder# When distributing Covered Code, include this CDDL HEADER in each
b2ffbb0cced4c2e4cc1ec3266847881a17f32d34Jonathan von Schroeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b2ffbb0cced4c2e4cc1ec3266847881a17f32d34Jonathan von Schroeder# If applicable, add the following below this CDDL HEADER, with the
b2ffbb0cced4c2e4cc1ec3266847881a17f32d34Jonathan von Schroeder# fields enclosed by brackets "[]" replaced with your own identifying
b2ffbb0cced4c2e4cc1ec3266847881a17f32d34Jonathan von Schroeder# information: Portions Copyright [yyyy] [name of copyright owner]
255a89789d3d5b19f6a8c96bf6c260a96158ef6dJonathan von Schroeder#
255a89789d3d5b19f6a8c96bf6c260a96158ef6dJonathan von Schroeder# CDDL HEADER END
b2ffbb0cced4c2e4cc1ec3266847881a17f32d34Jonathan von Schroeder#
255a89789d3d5b19f6a8c96bf6c260a96158ef6dJonathan von Schroeder
255a89789d3d5b19f6a8c96bf6c260a96158ef6dJonathan von Schroeder#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
#
# Define the module and object file sets.
#
MODULE = fm
#
OBJECTS = $(FM_OBJS:%=$(OBJS_DIR)/%)
LINTS = $(FM_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
CONF_SRCDIR = $(UTSBASE)/common/io
#
# Include common rules.
#
include $(UTSBASE)/sparc/Makefile.sparc
#
# Define targets
#
ALL_TARGET = $(BINARY) $(SRC_CONFFILE)
LINT_TARGET = $(LINT_MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include ../Makefile.targ