Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
18727N/A#
13271N/A# CDDL HEADER START
13271N/A#
13271N/A# The contents of this file are subject to the terms of the
13271N/A# Common Development and Distribution License, Version 1.0 only
13271N/A# (the "License"). You may not use this file except in compliance
13271N/A# with the License.
13271N/A#
13271N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13271N/A# or http://www.opensolaris.org/os/licensing.
13271N/A# See the License for the specific language governing permissions
13271N/A# and limitations under the License.
13271N/A#
13271N/A# When distributing Covered Code, include this CDDL HEADER in each
13271N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
13271N/A# If applicable, add the following below this CDDL HEADER, with the
13271N/A# fields enclosed by brackets "[]" replaced with your own identifying
13271N/A# information: Portions Copyright [yyyy] [name of copyright owner]
13271N/A#
17719N/A# CDDL HEADER END
17719N/A#
17719N/A#
17719N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
17719N/A# Use is subject to license terms.
17719N/A#
17719N/A#pragma ident "%Z%%M% %I% %E% SMI"
17719N/A
13271N/A#
13271N/A# sparc architecture dependent
13271N/A#
13271N/A
13271N/A#
13271N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
13271N/A#
13271N/AUTSBASE = ../..
13271N/A
13271N/A#
17719N/A# Define the module and object file sets.
17719N/A#
17719N/AMODULE = fssnap
17719N/AOBJECTS = $(FSSNAP_OBJS:%=$(OBJS_DIR)/%)
17719N/ALINTS = $(FSSNAP_OBJS:%.o=$(LINTS_DIR)/%.ln)
17719N/AROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
17719N/ACONF_SRCDIR = $(UTSBASE)/common/io
17719N/A
17719N/A#
17719N/A# Include common rules.
17719N/A#
17719N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
17719N/A
17719N/A#
17719N/A# Define targets
17719N/A#
17719N/AALL_TARGET = $(BINARY) $(SRC_CONFILE)
17719N/ALINT_TARGET = $(MODULE).lint
17719N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
17719N/A
17719N/A#
17719N/A# Overrides and depends_on
13271N/A#
13271N/ACFLAGS += $(CCVERBOSE)
13271N/ALDFLAGS += -dy -Nmisc/fssnap_if -Nfs/ufs
17719N/A
17719N/A#
13271N/A# Default build targets.
17719N/A#
17719N/A.KEEP_STATE:
17719N/A
17719N/Aall: $(ALL_DEPS)
17719N/A
17719N/Adef: $(DEF_DEPS)
17719N/A
17719N/Aclean: $(CLEAN_DEPS)
17719N/A
17719N/Aclobber: $(CLOBBER_DEPS)
17719N/A
17719N/Alint: $(LINT_DEPS)
17719N/A
17719N/Amodlintlib: $(MODLINTLIB_DEPS)
17719N/A
17719N/Aclean.lint: $(CLEAN_LINT_DEPS)
17719N/A
17719N/Ainstall: $(INSTALL_DEPS)
17719N/A
17719N/A#
17719N/A# Include common targets.
17719N/A#
17719N/Ainclude $(UTSBASE)/sparc/Makefile.targ
17719N/A