15dfd244aSDaniel Beauregard# 25dfd244aSDaniel Beauregard# CDDL HEADER START 35dfd244aSDaniel Beauregard# 45dfd244aSDaniel Beauregard# The contents of this file are subject to the terms of the 55dfd244aSDaniel Beauregard# Common Development and Distribution License (the "License"). 65dfd244aSDaniel Beauregard# You may not use this file except in compliance with the License. 75dfd244aSDaniel Beauregard# 85dfd244aSDaniel Beauregard# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 95dfd244aSDaniel Beauregard# or http://www.opensolaris.org/os/licensing. 105dfd244aSDaniel Beauregard# See the License for the specific language governing permissions 115dfd244aSDaniel Beauregard# and limitations under the License. 125dfd244aSDaniel Beauregard# 135dfd244aSDaniel Beauregard# When distributing Covered Code, include this CDDL HEADER in each 145dfd244aSDaniel Beauregard# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 155dfd244aSDaniel Beauregard# If applicable, add the following below this CDDL HEADER, with the 165dfd244aSDaniel Beauregard# fields enclosed by brackets "[]" replaced with your own identifying 175dfd244aSDaniel Beauregard# information: Portions Copyright [yyyy] [name of copyright owner] 185dfd244aSDaniel Beauregard# 195dfd244aSDaniel Beauregard# CDDL HEADER END 205dfd244aSDaniel Beauregard# 215dfd244aSDaniel Beauregard# 225dfd244aSDaniel Beauregard# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 235dfd244aSDaniel Beauregard# Use is subject to license terms. 245dfd244aSDaniel Beauregard# 255dfd244aSDaniel Beauregard# This makefile drives the production of qlc_fw_8100 firmware module. 265dfd244aSDaniel Beauregard# 275dfd244aSDaniel Beauregard# Path to the base of the uts directory tree (usually /usr/src/uts). 285dfd244aSDaniel Beauregard# 295dfd244aSDaniel BeauregardUTSBASE = ../.. 305dfd244aSDaniel Beauregard 315dfd244aSDaniel Beauregard# 325dfd244aSDaniel Beauregard# Define the module and object file sets. 335dfd244aSDaniel Beauregard# 345dfd244aSDaniel BeauregardMODULE = qlc_fw_8100 355dfd244aSDaniel BeauregardOBJECTS = $(QLC_FW_8100_OBJS:%=$(OBJS_DIR)/%) 365dfd244aSDaniel BeauregardROOTMODULE = $(ROOT_QLC_FW_DIR)/$(MODULE) 375dfd244aSDaniel BeauregardCONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/qlc 385dfd244aSDaniel Beauregard 395dfd244aSDaniel Beauregard 405dfd244aSDaniel Beauregard# 415dfd244aSDaniel Beauregard# Include common rules. 425dfd244aSDaniel Beauregard# 435dfd244aSDaniel Beauregardinclude $(UTSBASE)/Makefile.uts 445dfd244aSDaniel Beauregardinclude $(UTSBASE)/intel/Makefile.intel 455dfd244aSDaniel Beauregard 465dfd244aSDaniel Beauregard# 475dfd244aSDaniel Beauregard# Define targets 485dfd244aSDaniel Beauregard# 495dfd244aSDaniel BeauregardALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD) 505dfd244aSDaniel BeauregardINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 515dfd244aSDaniel Beauregard 52*82d0151aSRichard LoweLDFLAGS += -Nmisc/fctl 535dfd244aSDaniel Beauregard 545dfd244aSDaniel Beauregard# 555dfd244aSDaniel Beauregard# Default build targets. 565dfd244aSDaniel Beauregard# 575dfd244aSDaniel Beauregard.KEEP_STATE: 585dfd244aSDaniel Beauregard 595dfd244aSDaniel Beauregarddef: $(DEF_DEPS) 605dfd244aSDaniel Beauregard 615dfd244aSDaniel Beauregardall: $(ALL_DEPS) 625dfd244aSDaniel Beauregard 635dfd244aSDaniel Beauregardclean: $(CLEAN_DEPS) 645dfd244aSDaniel Beauregard 655dfd244aSDaniel Beauregardclobber: $(CLOBBER_DEPS) 665dfd244aSDaniel Beauregard 675dfd244aSDaniel Beauregardinstall: $(INSTALL_DEPS) 685dfd244aSDaniel Beauregard 695dfd244aSDaniel Beauregard# 705dfd244aSDaniel Beauregard# Include common targets. 715dfd244aSDaniel Beauregard# 725dfd244aSDaniel Beauregardinclude $(UTSBASE)/intel/Makefile.targ 73