13db86aabSstevel# 23db86aabSstevel# CDDL HEADER START 33db86aabSstevel# 43db86aabSstevel# The contents of this file are subject to the terms of the 53db86aabSstevel# Common Development and Distribution License (the "License"). 63db86aabSstevel# You may not use this file except in compliance with the License. 73db86aabSstevel# 83db86aabSstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 93db86aabSstevel# or http://www.opensolaris.org/os/licensing. 103db86aabSstevel# See the License for the specific language governing permissions 113db86aabSstevel# and limitations under the License. 123db86aabSstevel# 133db86aabSstevel# When distributing Covered Code, include this CDDL HEADER in each 143db86aabSstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 153db86aabSstevel# If applicable, add the following below this CDDL HEADER, with the 163db86aabSstevel# fields enclosed by brackets "[]" replaced with your own identifying 173db86aabSstevel# information: Portions Copyright [yyyy] [name of copyright owner] 183db86aabSstevel# 193db86aabSstevel# CDDL HEADER END 203db86aabSstevel# 213db86aabSstevel 223db86aabSstevel# 233db86aabSstevel# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 243db86aabSstevel# Use is subject to license terms. 253db86aabSstevel# 26*7014882cSRichard Lowe 273db86aabSstevel# 283db86aabSstevel# This makefile drives the production of the envctrltwo driver kernel 293db86aabSstevel# module in the sun4u javelin systems. 303db86aabSstevel# 313db86aabSstevel 323db86aabSstevel# 333db86aabSstevel# Path to the base of the uts directory tree (usually /usr/src/uts). 343db86aabSstevel# 353db86aabSstevelUTSBASE = ../../.. 363db86aabSstevel 373db86aabSstevel# 383db86aabSstevel# Define the module and object file sets. 393db86aabSstevel# 403db86aabSstevelMODULE = envctrltwo 413db86aabSstevelOBJECTS = $(ENVCTRLTWO_OBJS:%=$(OBJS_DIR)/%) 423db86aabSstevelLINTS = $(ENVCTRLTWO_OBJS:%.o=$(LINTS_DIR)/%.ln) 433db86aabSstevelROOTMODULE = $(ROOT_JAVELIN_DRV_DIR)/$(MODULE) 443db86aabSstevel 453db86aabSstevel# 463db86aabSstevel# Include common rules. 473db86aabSstevel# 483db86aabSstevelinclude $(UTSBASE)/sun4u/javelin/Makefile.javelin 493db86aabSstevel 503db86aabSstevel# 513db86aabSstevel# Define targets 523db86aabSstevel# 533db86aabSstevelALL_TARGET = $(BINARY) 543db86aabSstevelLINT_TARGET = $(MODULE).lint 553db86aabSstevelINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 563db86aabSstevel 573db86aabSstevel# 583db86aabSstevel# lint pass one enforcement 593db86aabSstevel# 603db86aabSstevelCFLAGS += $(CCVERBOSE) 61*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-parentheses 62*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized 633db86aabSstevel 643db86aabSstevel# 653db86aabSstevel# Turn on doubleword alignment for 64 bit registers 663db86aabSstevel# 673db86aabSstevelCFLAGS += -dalign 683db86aabSstevel 693db86aabSstevelLDFLAGS += -dy -Ndrv/pcipsy 703db86aabSstevel 713db86aabSstevel# 723db86aabSstevel# Default build targets. 733db86aabSstevel# 743db86aabSstevel.KEEP_STATE: 753db86aabSstevel 763db86aabSsteveldef: $(DEF_DEPS) 773db86aabSstevel 783db86aabSstevelall: $(ALL_DEPS) 793db86aabSstevel 803db86aabSstevelclean: $(CLEAN_DEPS) 813db86aabSstevel 823db86aabSstevelclobber: $(CLOBBER_DEPS) 833db86aabSstevel 843db86aabSstevellint: $(LINT_DEPS) 853db86aabSstevel 863db86aabSstevelmodlintlib: $(MODLINTLIB_DEPS) 873db86aabSstevel 883db86aabSstevelclean.lint: $(CLEAN_LINT_DEPS) 893db86aabSstevel 903db86aabSstevelinstall: $(INSTALL_DEPS) 913db86aabSstevel 923db86aabSstevelLINT_LIB_DIR = $(JAVELIN_LINT_LIB_DIR) 933db86aabSstevel 943db86aabSstevel# 953db86aabSstevel# Include common targets. 963db86aabSstevel# 973db86aabSstevelinclude $(UTSBASE)/sun4u/javelin/Makefile.targ 98