1*70025d76Sjohnny# 2*70025d76Sjohnny# CDDL HEADER START 3*70025d76Sjohnny# 4*70025d76Sjohnny# The contents of this file are subject to the terms of the 5*70025d76Sjohnny# Common Development and Distribution License, Version 1.0 only 6*70025d76Sjohnny# (the "License"). You may not use this file except in compliance 7*70025d76Sjohnny# with the License. 8*70025d76Sjohnny# 9*70025d76Sjohnny# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*70025d76Sjohnny# or http://www.opensolaris.org/os/licensing. 11*70025d76Sjohnny# See the License for the specific language governing permissions 12*70025d76Sjohnny# and limitations under the License. 13*70025d76Sjohnny# 14*70025d76Sjohnny# When distributing Covered Code, include this CDDL HEADER in each 15*70025d76Sjohnny# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*70025d76Sjohnny# If applicable, add the following below this CDDL HEADER, with the 17*70025d76Sjohnny# fields enclosed by brackets "[]" replaced with your own identifying 18*70025d76Sjohnny# information: Portions Copyright [yyyy] [name of copyright owner] 19*70025d76Sjohnny# 20*70025d76Sjohnny# CDDL HEADER END 21*70025d76Sjohnny# 22*70025d76Sjohnny# 23*70025d76Sjohnny# uts/i86pc/npe/Makefile 24*70025d76Sjohnny# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 25*70025d76Sjohnny# Use is subject to license terms. 26*70025d76Sjohnny# 27*70025d76Sjohnny#ident "%Z%%M% %I% %E% SMI" 28*70025d76Sjohnny# 29*70025d76Sjohnny# This makefile drives the production of the PCI-E nexus driver 30*70025d76Sjohnny# 31*70025d76Sjohnny# i86pc implementation architecture dependent 32*70025d76Sjohnny# 33*70025d76Sjohnny 34*70025d76Sjohnny# 35*70025d76Sjohnny# Path to the base of the uts directory tree (usually /usr/src/uts). 36*70025d76Sjohnny# 37*70025d76SjohnnyUTSBASE = ../.. 38*70025d76Sjohnny 39*70025d76Sjohnny# 40*70025d76Sjohnny# Define the module and object file sets. 41*70025d76Sjohnny# 42*70025d76SjohnnyMODULE = npe 43*70025d76SjohnnyOBJECTS = $(PCI_E_NEXUS_OBJS:%=$(OBJS_DIR)/%) 44*70025d76SjohnnyLINTS = $(PCI_E_NEXUS_OBJS:%.o=$(LINTS_DIR)/%.ln) 45*70025d76SjohnnyROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) 46*70025d76Sjohnny 47*70025d76Sjohnny# 48*70025d76Sjohnny# Include common rules. 49*70025d76Sjohnny# 50*70025d76Sjohnnyinclude $(UTSBASE)/i86pc/Makefile.i86pc 51*70025d76Sjohnny 52*70025d76Sjohnny# 53*70025d76Sjohnny# Define targets 54*70025d76Sjohnny# 55*70025d76SjohnnyALL_TARGET = $(BINARY) 56*70025d76SjohnnyLINT_TARGET = $(MODULE).lint 57*70025d76SjohnnyINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 58*70025d76Sjohnny 59*70025d76Sjohnny# 60*70025d76Sjohnny# depends on misc/pcihp misc/acpica 61*70025d76Sjohnny# 62*70025d76Sjohnny# For PCI Hotplug support, the misc/pcihp module provides devctl control 63*70025d76Sjohnny# device and cb_ops functions to support hotplug operations. 64*70025d76Sjohnny# 65*70025d76Sjohnny# acpica supplies ACPI access routines 66*70025d76Sjohnny# 67*70025d76SjohnnyLDFLAGS += -dy -Nmisc/pcihp -Nmisc/acpica 68*70025d76Sjohnny 69*70025d76Sjohnny# 70*70025d76Sjohnny# Default build targets. 71*70025d76Sjohnny# 72*70025d76Sjohnny.KEEP_STATE: 73*70025d76Sjohnny 74*70025d76Sjohnnydef: $(DEF_DEPS) 75*70025d76Sjohnny 76*70025d76Sjohnnyall: $(ALL_DEPS) 77*70025d76Sjohnny 78*70025d76Sjohnnyclean: $(CLEAN_DEPS) 79*70025d76Sjohnny 80*70025d76Sjohnnyclobber: $(CLOBBER_DEPS) 81*70025d76Sjohnny 82*70025d76Sjohnnylint: $(LINT_DEPS) 83*70025d76Sjohnny 84*70025d76Sjohnnymodlintlib: $(MODLINTLIB_DEPS) 85*70025d76Sjohnny 86*70025d76Sjohnnyclean.lint: $(CLEAN_LINT_DEPS) 87*70025d76Sjohnny 88*70025d76Sjohnnyinstall: $(INSTALL_DEPS) 89*70025d76Sjohnny 90*70025d76Sjohnny# 91*70025d76Sjohnny# Include common targets. 92*70025d76Sjohnny# 93*70025d76Sjohnnyinclude $(UTSBASE)/i86pc/Makefile.targ 94