Makefile revision 1029
469N/A#
469N/A# CDDL HEADER START
469N/A#
1068N/A# The contents of this file are subject to the terms of the
1068N/A# Common Development and Distribution License, Version 1.0 only
1068N/A# (the "License"). You may not use this file except in compliance
1068N/A# with the License.
1068N/A#
1068N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1068N/A# or http://www.opensolaris.org/os/licensing.
1068N/A# See the License for the specific language governing permissions
1068N/A# and limitations under the License.
1068N/A#
469N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# uts/intel/md/Makefile
919N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
469N/A# Use is subject to license terms.
919N/A#
919N/A#ident "%Z%%M% %I% %E% SMI"
919N/A#
919N/A# This makefile drives the production of the md driver
919N/A#
919N/A# architecture independent
919N/A#
469N/A
469N/A#
1068N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
469N/A#
469N/AUTSBASE = ../..
469N/A
469N/A#
469N/A# Define the module and object file sets.
469N/A#
469N/AMODULE = md
1233N/AOBJECTS = $(MD_OBJS:%=$(OBJS_DIR)/%)
1233N/AOBJECTS += $(MD_COMMON_OBJS:%=$(OBJS_DIR)/%)
1233N/AOBJECTS += $(MD_DERIVED_OBJS:%=$(OBJS_DIR)/%)
1233N/ALINTS = $(MD_OBJS:%.o=$(LINTS_DIR)/%.ln)
1233N/ALINTS += $(MD_COMMON_OBJS:%.o=$(LINTS_DIR)/%.ln)
469N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
469N/ACONF_SRCDIR = $(UTSBASE)/common/io/lvm/md
469N/A
469N/A#
469N/A# Include common rules.
469N/A#
469N/Ainclude $(UTSBASE)/intel/Makefile.intel
469N/A
469N/A#
469N/A# Define targets
469N/A#
469N/AALL_TARGET = $(BINARY) $(SRC_CONFILE)
469N/ALINT_TARGET = $(MODULE).lint
469N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
469N/A
469N/A#
469N/A# Default build targets.
469N/A#
469N/A.KEEP_STATE:
469N/A
469N/Adef: derived_h .WAIT $(DEF_DEPS)
469N/A
469N/Aall: derived_h .WAIT $(ALL_DEPS)
469N/A
469N/Aclean: derived_h .WAIT $(CLEAN_DEPS)
469N/A
469N/Aclobber: derived_h .WAIT $(CLOBBER_DEPS)
469N/A
469N/Alint: $(LINT_DEPS)
469N/A
469N/Amodlintlib: derived_h .WAIT $(MODLINTLIB_DEPS)
469N/A
469N/Aclean.lint: derived_h .WAIT $(CLEAN_LINT_DEPS)
1233N/A
1233N/Ainstall: derived_h .WAIT $(INSTALL_DEPS)
1233N/A
1233N/Aderived_h:
1233N/A cd $(UTSBASE)/common/sys/lvm; pwd; $(MAKE) $(TARGET)
1233N/A
1233N/A#
469N/A# Include common targets.
1233N/A#
1233N/Ainclude $(UTSBASE)/intel/Makefile.targ
1233N/A