15cff7825Smh# 25cff7825Smh# CDDL HEADER START 35cff7825Smh# 45cff7825Smh# The contents of this file are subject to the terms of the 55cff7825Smh# Common Development and Distribution License (the "License"). 65cff7825Smh# You may not use this file except in compliance with the License. 75cff7825Smh# 85cff7825Smh# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 95cff7825Smh# or http://www.opensolaris.org/os/licensing. 105cff7825Smh# See the License for the specific language governing permissions 115cff7825Smh# and limitations under the License. 125cff7825Smh# 135cff7825Smh# When distributing Covered Code, include this CDDL HEADER in each 145cff7825Smh# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 155cff7825Smh# If applicable, add the following below this CDDL HEADER, with the 165cff7825Smh# fields enclosed by brackets "[]" replaced with your own identifying 175cff7825Smh# information: Portions Copyright [yyyy] [name of copyright owner] 185cff7825Smh# 195cff7825Smh# CDDL HEADER END 205cff7825Smh# 21843e1988Sjohnlev 22843e1988Sjohnlev# 23843e1988Sjohnlev# uts/i86xpv/xdb/Makefile 245cff7825Smh# 2560471b7bSTim Foster# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 265cff7825Smh# Use is subject to license terms. 275cff7825Smh# 285cff7825Smh# 29843e1988Sjohnlev# i86xpv architecture dependent 305cff7825Smh# 315cff7825Smh# 325cff7825Smh# Path to the base of the uts directory tree (usually /usr/src/uts). 335cff7825Smh# 34843e1988SjohnlevUTSBASE = ../.. 355cff7825Smh 365cff7825Smh# 375cff7825Smh# Define the module and object file sets. 385cff7825Smh# 39843e1988SjohnlevMODULE = xdb 40843e1988SjohnlevOBJECTS = $(XDB_OBJS:%=$(OBJS_DIR)/%) 41843e1988SjohnlevLINTS = $(XDB_OBJS:%.o=$(LINTS_DIR)/%.ln) 425cff7825SmhROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) 435cff7825Smh 445cff7825Smh# 455cff7825Smh# Include common rules. 465cff7825Smh# 47843e1988Sjohnlevinclude $(UTSBASE)/i86xpv/Makefile.i86xpv 485cff7825Smh 495cff7825Smh# 505cff7825Smh# Define targets 515cff7825Smh# 525cff7825SmhALL_TARGET = $(BINARY) 535cff7825SmhLINT_TARGET = $(MODULE).lint 545cff7825SmhINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 555cff7825Smh 56843e1988SjohnlevLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN 57843e1988Sjohnlev 587014882cSRichard LoweCERRWARN += -_gcc=-Wno-switch 5960471b7bSTim Foster 6060471b7bSTim Foster# 6160471b7bSTim Foster# Overrides 6260471b7bSTim Foster# 6360471b7bSTim FosterDEF_BUILDS = $(DEF_BUILDS64) 6460471b7bSTim FosterALL_BUILDS = $(ALL_BUILDS64) 6560471b7bSTim Foster 665cff7825Smh# 675cff7825Smh# Default build targets. 685cff7825Smh# 695cff7825Smh.KEEP_STATE: 705cff7825Smh 715cff7825Smhdef: $(DEF_DEPS) 725cff7825Smh 735cff7825Smhall: $(ALL_DEPS) 745cff7825Smh 75*95cb2e31SToomas Soomeclean: $(CLEAN_DEPS) 765cff7825Smh 77*95cb2e31SToomas Soomeclobber: $(CLOBBER_DEPS) 785cff7825Smh 795cff7825Smhlint: $(LINT_DEPS) 805cff7825Smh 81*95cb2e31SToomas Soomemodlintlib: $(MODLINTLIB_DEPS) 825cff7825Smh 835cff7825Smhclean.lint: $(CLEAN_LINT_DEPS) 845cff7825Smh 855cff7825Smhinstall: $(INSTALL_DEPS) 865cff7825Smh 875cff7825Smh# 885cff7825Smh# Include common targets. 895cff7825Smh# 90843e1988Sjohnlevinclude $(UTSBASE)/i86xpv/Makefile.targ 91