Makefile revision 56b2bdd1f04d465cfe4a95b88ae5cba5884154e4
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh Nagabhushana# This file and its contents are supplied under the terms of the
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh Nagabhushana# Common Development and Distribution License ("CDDL"), version 1.0.
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh Nagabhushana# You may only use this file in accordance with the terms of version
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh Nagabhushana# 1.0 of the CDDL.
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh Nagabhushana# A full copy of the text of the CDDL should have accompanied this
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh Nagabhushana# source. A copy of the CDDL is also available via the Internet at
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh Nagabhushana# Copyright (c) 2013 by Chelsio Communications, Inc. All rights reserved.
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh Nagabhushana# This makefile drives the production of the Chelsio Terminator 4 10G Ethernet
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh Nagabhushana# (CXGBE) driver nexus modules on x86 systems.
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh Nagabhushana# Paths to the base of the uts directory trees
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh Nagabhushana# Define the module and object file sets.
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh NagabhushanaOBJECTS = $(CXGBE_COM_OBJS:%=$(OBJS_DIR)/%) \
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh NagabhushanaLINTS = $(CXGBE_COM_OBJS:%.o=$(LINTS_DIR)/%.ln) \
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh Nagabhushana $(CXGBE_FW_OBJS:%.o=$(LINTS_DIR)/%.ln) \
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh Nagabhushana $(CXGBE_NEX_OBJS:%.o=$(LINTS_DIR)/%.ln)
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh Nagabhushana# Include common rules
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh Nagabhushana# Define targets
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh NagabhushanaINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh NagabhushanaCFLAGS += -g -I$(UTSBASE)/common/io/cxgbe -I$(UTSBASE)/common/io/cxgbe/common \
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh Nagabhushana -I$(UTSBASE)/common/io/cxgbe/t4nex -I$(UTSBASE)/common/io/cxgbe/shared \
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh Nagabhushana# Driver depends
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh NagabhushanaLINTFLAGS += -I$(UTSBASE)/common/io/cxgbe -I$(UTSBASE)/common/io/cxgbe/common \
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh Nagabhushana -I$(UTSBASE)/common/io/cxgbe/t4nex -I$(UTSBASE)/common/io/cxgbe/shared \
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh Nagabhushana# Default build targets.
56b2bdd1f04d465cfe4a95b88ae5cba5884154e4Gireesh Nagabhushana# Include common targets.