Makefile revision 93c20f2609342fd05f6625f16dfcb9348e7977f2
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# CDDL HEADER START
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# The contents of this file are subject to the terms of the
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Common Development and Distribution License (the "License").
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# You may not use this file except in compliance with the License.
188690149b54145e1936898e565eb9eec139bbfeEvan Hunt# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
188690149b54145e1936898e565eb9eec139bbfeEvan Hunt# See the License for the specific language governing permissions
188690149b54145e1936898e565eb9eec139bbfeEvan Hunt# and limitations under the License.
188690149b54145e1936898e565eb9eec139bbfeEvan Hunt# When distributing Covered Code, include this CDDL HEADER in each
188690149b54145e1936898e565eb9eec139bbfeEvan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
188690149b54145e1936898e565eb9eec139bbfeEvan Hunt# If applicable, add the following below this CDDL HEADER, with the
188690149b54145e1936898e565eb9eec139bbfeEvan Hunt# fields enclosed by brackets "[]" replaced with your own identifying
188690149b54145e1936898e565eb9eec139bbfeEvan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
188690149b54145e1936898e565eb9eec139bbfeEvan Hunt# CDDL HEADER END
c40906dfad6dd6e3a3e3c94b8c8847bc9bc064e5Mark Andrews# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
c40906dfad6dd6e3a3e3c94b8c8847bc9bc064e5Mark Andrews# Use is subject to license terms.
188690149b54145e1936898e565eb9eec139bbfeEvan Hunt# This makefile drives the production of qlc driver kernel module.
188690149b54145e1936898e565eb9eec139bbfeEvan Hunt# Path to the base of the uts directory tree (usually /usr/src/uts).
188690149b54145e1936898e565eb9eec139bbfeEvan Hunt# Define the module and object file sets.
188690149b54145e1936898e565eb9eec139bbfeEvan HuntCONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc
188690149b54145e1936898e565eb9eec139bbfeEvan Hunt# Include common rules.
188690149b54145e1936898e565eb9eec139bbfeEvan Hunt# Define targets
188690149b54145e1936898e565eb9eec139bbfeEvan HuntINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
188690149b54145e1936898e565eb9eec139bbfeEvan Hunt# header file directories
188690149b54145e1936898e565eb9eec139bbfeEvan HuntINC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/ulp
188690149b54145e1936898e565eb9eec139bbfeEvan HuntINC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/fca/qlc
188690149b54145e1936898e565eb9eec139bbfeEvan HuntINC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/impl
188690149b54145e1936898e565eb9eec139bbfeEvan HuntFWMODULES_SRC = $(FWIMAGES:%=$(SRC)/uts/common/io/fibre-channel/fca/qlc/ql_fw_%.c)
188690149b54145e1936898e565eb9eec139bbfeEvan Hunt# Default build targets.
c40906dfad6dd6e3a3e3c94b8c8847bc9bc064e5Mark Andrewsall: $(SRC)/uts/common/io/fibre-channel/fca/qlc/ql_fw_table.c $(ALL_DEPS)
188690149b54145e1936898e565eb9eec139bbfeEvan Huntdef: $(SRC)/uts/common/io/fibre-channel/fca/qlc/ql_fw_table.c $(DEF_DEPS)
188690149b54145e1936898e565eb9eec139bbfeEvan Huntclean: $(SRC)/uts/common/io/fibre-channel/fca/qlc/ql_fw_table.c $(CLEAN_DEPS)
188690149b54145e1936898e565eb9eec139bbfeEvan Huntclobber: $(SRC)/uts/common/io/fibre-channel/fca/qlc/ql_fw_table.c $(CLOBBER_DEPS)
echo '#include <ql_apps.h>' >> $@
echo '#include <ql_api.h>' >> $@