1c7158ae9Stariq# 2c7158ae9Stariq# CDDL HEADER START 3c7158ae9Stariq# 4c7158ae9Stariq# The contents of this file are subject to the terms of the 5c7158ae9Stariq# Common Development and Distribution License (the "License"). 6c7158ae9Stariq# You may not use this file except in compliance with the License. 7c7158ae9Stariq# 8c7158ae9Stariq# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9c7158ae9Stariq# or http://www.opensolaris.org/os/licensing. 10c7158ae9Stariq# See the License for the specific language governing permissions 11c7158ae9Stariq# and limitations under the License. 12c7158ae9Stariq# 13c7158ae9Stariq# When distributing Covered Code, include this CDDL HEADER in each 14c7158ae9Stariq# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15c7158ae9Stariq# If applicable, add the following below this CDDL HEADER, with the 16c7158ae9Stariq# fields enclosed by brackets "[]" replaced with your own identifying 17c7158ae9Stariq# information: Portions Copyright [yyyy] [name of copyright owner] 18c7158ae9Stariq# 19c7158ae9Stariq# CDDL HEADER END 20c7158ae9Stariq# 21c7158ae9Stariq 22c7158ae9Stariq# 23c7158ae9Stariq# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 24c7158ae9Stariq# Use is subject to license terms. 25c7158ae9Stariq# 26c7158ae9Stariq 27c7158ae9StariqUTSBASE = ../.. 28c7158ae9Stariq 29c7158ae9StariqMODULE = xdt 30c7158ae9StariqOBJECTS = $(XDT_OBJS:%=$(OBJS_DIR)/%) 31c7158ae9StariqLINTS = $(XDT_OBJS:%.o=$(LINTS_DIR)/%.ln) 32c7158ae9StariqROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) 33c7158ae9StariqCONF_SRCDIR = $(UTSBASE)/common/xen/dtrace 34c7158ae9Stariq 35c7158ae9Stariqinclude $(UTSBASE)/i86xpv/Makefile.i86xpv 36c7158ae9Stariq 37c7158ae9StariqALL_TARGET = $(BINARY) $(SRC_CONFFILE) 38c7158ae9StariqLINT_TARGET = $(MODULE).lint 39c7158ae9StariqINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 40c7158ae9Stariq 41c7158ae9StariqLDFLAGS += -dy -Ndrv/dtrace 42c7158ae9Stariq 43*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized 44*7014882cSRichard Lowe 45c7158ae9Stariq.KEEP_STATE: 46c7158ae9Stariq 47c7158ae9Stariqdef: $(DEF_DEPS) 48c7158ae9Stariq 49c7158ae9Stariqall: $(ALL_DEPS) 50c7158ae9Stariq 51c7158ae9Stariqclean: $(CLEAN_DEPS) 52c7158ae9Stariq 53c7158ae9Stariqclobber: $(CLOBBER_DEPS) 54c7158ae9Stariq 55c7158ae9Stariqlint: $(LINT_DEPS) 56c7158ae9Stariq 57c7158ae9Stariqmodlintlib: $(MODLINTLIB_DEPS) 58c7158ae9Stariq 59c7158ae9Stariqclean.lint: $(CLEAN_LINT_DEPS) 60c7158ae9Stariq 61c7158ae9Stariqinstall: $(INSTALL_DEPS) 62c7158ae9Stariq 63c7158ae9Stariqinclude $(UTSBASE)/i86xpv/Makefile.targ 64