17eea693dSMark Johnson# 27eea693dSMark Johnson# CDDL HEADER START 37eea693dSMark Johnson# 47eea693dSMark Johnson# The contents of this file are subject to the terms of the 57eea693dSMark Johnson# Common Development and Distribution License (the "License"). 67eea693dSMark Johnson# You may not use this file except in compliance with the License. 77eea693dSMark Johnson# 87eea693dSMark Johnson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97eea693dSMark Johnson# or http://www.opensolaris.org/os/licensing. 107eea693dSMark Johnson# See the License for the specific language governing permissions 117eea693dSMark Johnson# and limitations under the License. 127eea693dSMark Johnson# 137eea693dSMark Johnson# When distributing Covered Code, include this CDDL HEADER in each 147eea693dSMark Johnson# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157eea693dSMark Johnson# If applicable, add the following below this CDDL HEADER, with the 167eea693dSMark Johnson# fields enclosed by brackets "[]" replaced with your own identifying 177eea693dSMark Johnson# information: Portions Copyright [yyyy] [name of copyright owner] 187eea693dSMark Johnson# 197eea693dSMark Johnson# CDDL HEADER END 207eea693dSMark Johnson# 217eea693dSMark Johnson 227eea693dSMark Johnson# 2360471b7bSTim Foster# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 247eea693dSMark Johnson# Use is subject to license terms. 257eea693dSMark Johnson# 267eea693dSMark Johnson 277eea693dSMark Johnson# 287eea693dSMark Johnson# This makefile drives the production of the xpvtap 297eea693dSMark Johnson# driver module. 307eea693dSMark Johnson# 317eea693dSMark Johnson# i86xpv architecture dependent 327eea693dSMark Johnson# 337eea693dSMark Johnson 347eea693dSMark Johnson# 357eea693dSMark Johnson# Path to the base of the uts directory tree (usually /usr/src/uts). 367eea693dSMark Johnson# 377eea693dSMark JohnsonUTSBASE = ../.. 387eea693dSMark Johnson 397eea693dSMark Johnson# 407eea693dSMark Johnson# Define the module and object file sets. 417eea693dSMark Johnson# 427eea693dSMark JohnsonMODULE = xpvtap 437eea693dSMark JohnsonOBJECTS = $(XPVTAP_OBJS:%=$(OBJS_DIR)/%) 447eea693dSMark JohnsonROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) 457eea693dSMark Johnson 467eea693dSMark Johnson# 477eea693dSMark Johnson# Include common rules. 487eea693dSMark Johnson# 497eea693dSMark Johnsoninclude $(UTSBASE)/i86xpv/Makefile.i86xpv 507eea693dSMark Johnson 517eea693dSMark Johnson# 527eea693dSMark Johnson# Define targets 537eea693dSMark Johnson# 547eea693dSMark JohnsonALL_TARGET = $(BINARY) 557eea693dSMark JohnsonINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 567eea693dSMark Johnson 5760471b7bSTim Foster# 5860471b7bSTim Foster# Overrides 5960471b7bSTim Foster# 6060471b7bSTim FosterDEF_BUILDS = $(DEF_BUILDS64) 6160471b7bSTim FosterALL_BUILDS = $(ALL_BUILDS64) 6260471b7bSTim Foster 637eea693dSMark Johnson# 647eea693dSMark Johnson# use Solaris specific code in xen public header files 657eea693dSMark Johnson# 667eea693dSMark JohnsonCFLAGS += -D_SOLARIS 677eea693dSMark Johnson 687eea693dSMark Johnson 697014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-label 707014882cSRichard Lowe 717eea693dSMark Johnson# 727eea693dSMark Johnson# Default build targets. 737eea693dSMark Johnson# 747eea693dSMark Johnson.KEEP_STATE: 757eea693dSMark Johnson 767eea693dSMark Johnsondef: $(DEF_DEPS) 777eea693dSMark Johnson 787eea693dSMark Johnsonall: $(ALL_DEPS) 797eea693dSMark Johnson 80*95cb2e31SToomas Soomeclean: $(CLEAN_DEPS) 817eea693dSMark Johnson 82*95cb2e31SToomas Soomeclobber: $(CLOBBER_DEPS) 837eea693dSMark Johnson 847eea693dSMark Johnsoninstall: $(INSTALL_DEPS) 857eea693dSMark Johnson 867eea693dSMark Johnson# 877eea693dSMark Johnson# Include common targets. 887eea693dSMark Johnson# 897eea693dSMark Johnsoninclude $(UTSBASE)/i86xpv/Makefile.targ 90