19a5557fdSlucy wang - Sun Microsystems - Beijing China# 29a5557fdSlucy wang - Sun Microsystems - Beijing China# CDDL HEADER START 39a5557fdSlucy wang - Sun Microsystems - Beijing China# 49a5557fdSlucy wang - Sun Microsystems - Beijing China# The contents of this file are subject to the terms of the 59a5557fdSlucy wang - Sun Microsystems - Beijing China# Common Development and Distribution License (the "License"). 69a5557fdSlucy wang - Sun Microsystems - Beijing China# You may not use this file except in compliance with the License. 79a5557fdSlucy wang - Sun Microsystems - Beijing China# 89a5557fdSlucy wang - Sun Microsystems - Beijing China# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 99a5557fdSlucy wang - Sun Microsystems - Beijing China# or http://www.opensolaris.org/os/licensing. 109a5557fdSlucy wang - Sun Microsystems - Beijing China# See the License for the specific language governing permissions 119a5557fdSlucy wang - Sun Microsystems - Beijing China# and limitations under the License. 129a5557fdSlucy wang - Sun Microsystems - Beijing China# 139a5557fdSlucy wang - Sun Microsystems - Beijing China# When distributing Covered Code, include this CDDL HEADER in each 149a5557fdSlucy wang - Sun Microsystems - Beijing China# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 159a5557fdSlucy wang - Sun Microsystems - Beijing China# If applicable, add the following below this CDDL HEADER, with the 169a5557fdSlucy wang - Sun Microsystems - Beijing China# fields enclosed by brackets "[]" replaced with your own identifying 179a5557fdSlucy wang - Sun Microsystems - Beijing China# information: Portions Copyright [yyyy] [name of copyright owner] 189a5557fdSlucy wang - Sun Microsystems - Beijing China# 199a5557fdSlucy wang - Sun Microsystems - Beijing China# CDDL HEADER END 209a5557fdSlucy wang - Sun Microsystems - Beijing China# 219a5557fdSlucy wang - Sun Microsystems - Beijing China 229a5557fdSlucy wang - Sun Microsystems - Beijing China# 23*dda0720aSjing xiong ERI-SUN# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 249a5557fdSlucy wang - Sun Microsystems - Beijing China# Use is subject to license terms. 259a5557fdSlucy wang - Sun Microsystems - Beijing China# 269a5557fdSlucy wang - Sun Microsystems - Beijing China# 279a5557fdSlucy wang - Sun Microsystems - Beijing China# This makefile drives the production of the Neterion Xframe 289a5557fdSlucy wang - Sun Microsystems - Beijing China# 10G Ethernet (XGE) driver module in x86 systems 299a5557fdSlucy wang - Sun Microsystems - Beijing China# 309a5557fdSlucy wang - Sun Microsystems - Beijing China 319a5557fdSlucy wang - Sun Microsystems - Beijing China# 329a5557fdSlucy wang - Sun Microsystems - Beijing China# Paths to the base of the uts directory trees 339a5557fdSlucy wang - Sun Microsystems - Beijing China# 349a5557fdSlucy wang - Sun Microsystems - Beijing ChinaUTSBASE = ../.. 359a5557fdSlucy wang - Sun Microsystems - Beijing China 369a5557fdSlucy wang - Sun Microsystems - Beijing China# 379a5557fdSlucy wang - Sun Microsystems - Beijing China# Define the module and object file sets. 389a5557fdSlucy wang - Sun Microsystems - Beijing China# 399a5557fdSlucy wang - Sun Microsystems - Beijing ChinaMODULE = ntxn 409a5557fdSlucy wang - Sun Microsystems - Beijing ChinaOBJECTS = $(NTXN_OBJS:%=$(OBJS_DIR)/%) 419a5557fdSlucy wang - Sun Microsystems - Beijing ChinaLINTS = $(NTXN_OBJS:%.o=$(LINTS_DIR)/%.ln) 429a5557fdSlucy wang - Sun Microsystems - Beijing ChinaROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 43*dda0720aSjing xiong ERI-SUNCONF_SRCDIR = $(UTSBASE)/common/io/ntxn 449a5557fdSlucy wang - Sun Microsystems - Beijing China 459a5557fdSlucy wang - Sun Microsystems - Beijing China# 469a5557fdSlucy wang - Sun Microsystems - Beijing China# Include common rules. 479a5557fdSlucy wang - Sun Microsystems - Beijing China# 489a5557fdSlucy wang - Sun Microsystems - Beijing Chinainclude $(UTSBASE)/intel/Makefile.intel 499a5557fdSlucy wang - Sun Microsystems - Beijing China 509a5557fdSlucy wang - Sun Microsystems - Beijing China# 519a5557fdSlucy wang - Sun Microsystems - Beijing China# Define targets 529a5557fdSlucy wang - Sun Microsystems - Beijing China# 53*dda0720aSjing xiong ERI-SUNALL_TARGET = $(BINARY) $(SRC_CONFILE) 549a5557fdSlucy wang - Sun Microsystems - Beijing ChinaLINT_TARGET = $(MODULE).lint 55*dda0720aSjing xiong ERI-SUNINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 569a5557fdSlucy wang - Sun Microsystems - Beijing China 57*dda0720aSjing xiong ERI-SUNINC_PATH += -I$(CONF_SRCDIR) 589a5557fdSlucy wang - Sun Microsystems - Beijing China 599a5557fdSlucy wang - Sun Microsystems - Beijing ChinaCFLAGS += -DSOLARIS11 -xO4 609a5557fdSlucy wang - Sun Microsystems - Beijing ChinaCFLAGS64 += -DSOLARIS11 -xO -I./ 619a5557fdSlucy wang - Sun Microsystems - Beijing China 629a5557fdSlucy wang - Sun Microsystems - Beijing China# 639a5557fdSlucy wang - Sun Microsystems - Beijing China# Driver depends on MAC & IP 649a5557fdSlucy wang - Sun Microsystems - Beijing China# 659a5557fdSlucy wang - Sun Microsystems - Beijing ChinaLDFLAGS += -dy -N misc/mac -N drv/ip 669a5557fdSlucy wang - Sun Microsystems - Beijing China 679a5557fdSlucy wang - Sun Microsystems - Beijing China# Lint flag 689a5557fdSlucy wang - Sun Microsystems - Beijing China# 699a5557fdSlucy wang - Sun Microsystems - Beijing ChinaLINTFLAGS += $(NTXN_DFLAGS) $(NTXN_KFLAGS) 709a5557fdSlucy wang - Sun Microsystems - Beijing ChinaLINTFLAGS += -DSOLARIS11 719a5557fdSlucy wang - Sun Microsystems - Beijing China 729a5557fdSlucy wang - Sun Microsystems - Beijing China# 739a5557fdSlucy wang - Sun Microsystems - Beijing China# 749a5557fdSlucy wang - Sun Microsystems - Beijing China# Default build targets. 759a5557fdSlucy wang - Sun Microsystems - Beijing China# 769a5557fdSlucy wang - Sun Microsystems - Beijing China.KEEP_STATE: 779a5557fdSlucy wang - Sun Microsystems - Beijing China 789a5557fdSlucy wang - Sun Microsystems - Beijing Chinadef: $(DEF_DEPS) 799a5557fdSlucy wang - Sun Microsystems - Beijing China 809a5557fdSlucy wang - Sun Microsystems - Beijing Chinaall: $(ALL_DEPS) 819a5557fdSlucy wang - Sun Microsystems - Beijing China 829a5557fdSlucy wang - Sun Microsystems - Beijing Chinaclean: $(CLEAN_DEPS) 839a5557fdSlucy wang - Sun Microsystems - Beijing China 849a5557fdSlucy wang - Sun Microsystems - Beijing Chinaclobber: $(CLOBBER_DEPS) 859a5557fdSlucy wang - Sun Microsystems - Beijing China 869a5557fdSlucy wang - Sun Microsystems - Beijing Chinalint: $(LINT_DEPS) 879a5557fdSlucy wang - Sun Microsystems - Beijing China 889a5557fdSlucy wang - Sun Microsystems - Beijing Chinamodlintlib: $(MODLINTLIB_DEPS) 899a5557fdSlucy wang - Sun Microsystems - Beijing China 909a5557fdSlucy wang - Sun Microsystems - Beijing Chinaclean.lint: $(CLEAN_LINT_DEPS) 919a5557fdSlucy wang - Sun Microsystems - Beijing China 929a5557fdSlucy wang - Sun Microsystems - Beijing Chinainstall: $(INSTALL_DEPS) 939a5557fdSlucy wang - Sun Microsystems - Beijing China 949a5557fdSlucy wang - Sun Microsystems - Beijing China# 959a5557fdSlucy wang - Sun Microsystems - Beijing China# Include common targets. 969a5557fdSlucy wang - Sun Microsystems - Beijing China# 979a5557fdSlucy wang - Sun Microsystems - Beijing Chinainclude $(UTSBASE)/intel/Makefile.targ 98