Makefile revision 748:3a1ae73086e8
180785Sgshapiro# 238032Speter# CDDL HEADER START 373188Sgshapiro# 473188Sgshapiro# The contents of this file are subject to the terms of the 573188Sgshapiro# Common Development and Distribution License, Version 1.0 only 673188Sgshapiro# (the "License"). You may not use this file except in compliance 764562Sgshapiro# with the License. 864562Sgshapiro# 964562Sgshapiro# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 1080785Sgshapiro# or http://www.opensolaris.org/os/licensing. 1164562Sgshapiro# See the License for the specific language governing permissions 1273188Sgshapiro# and limitations under the License. 1373188Sgshapiro# 1473188Sgshapiro# When distributing Covered Code, include this CDDL HEADER in each 1573188Sgshapiro# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1680785Sgshapiro# If applicable, add the following below this CDDL HEADER, with the 1738032Speter# fields enclosed by brackets "[]" replaced with your own identifying 1864562Sgshapiro# information: Portions Copyright [yyyy] [name of copyright owner] 1938032Speter# 2073188Sgshapiro# CDDL HEADER END 2164562Sgshapiro# 2273188Sgshapiro# 2338032Speter# uts/i86pc/pci/Makefile 2473188Sgshapiro# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 2573188Sgshapiro# Use is subject to license terms. 2680785Sgshapiro# 2773188Sgshapiro#ident "%Z%%M% %I% %E% SMI" 2864562Sgshapiro# 2973188Sgshapiro# This makefile drives the production of the PCI nexus driver 3064562Sgshapiro# 3164562Sgshapiro# i86pc implementation architecture dependent 32# 33 34# 35# Path to the base of the uts directory tree (usually /usr/src/uts). 36# 37UTSBASE = ../.. 38 39# 40# Define the module and object file sets. 41# 42MODULE = pci 43OBJECTS = $(PCINEXUS_OBJS:%=$(OBJS_DIR)/%) 44LINTS = $(PCINEXUS_OBJS:%.o=$(LINTS_DIR)/%.ln) 45ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) 46 47# 48# Include common rules. 49# 50include $(UTSBASE)/i86pc/Makefile.i86pc 51 52# 53# Define targets 54# 55ALL_TARGET = $(BINARY) 56LINT_TARGET = $(MODULE).lint 57INSTALL_TARGET = $(BINARY) $(ROOTMODULE) 58 59# 60# depends on misc/pci_autoconfig misc/pcihp 61# 62LDFLAGS += -dy -Nmisc/pcihp 63 64# 65# Default build targets. 66# 67.KEEP_STATE: 68 69def: $(DEF_DEPS) 70 71all: $(ALL_DEPS) 72 73clean: $(CLEAN_DEPS) 74 75clobber: $(CLOBBER_DEPS) 76 77lint: $(LINT_DEPS) 78 79modlintlib: $(MODLINTLIB_DEPS) 80 81clean.lint: $(CLEAN_LINT_DEPS) 82 83install: $(INSTALL_DEPS) 84 85# 86# Include common targets. 87# 88include $(UTSBASE)/i86pc/Makefile.targ 89