13db86aabSstevel# 23db86aabSstevel# CDDL HEADER START 33db86aabSstevel# 43db86aabSstevel# The contents of this file are subject to the terms of the 53db86aabSstevel# Common Development and Distribution License (the "License"). 63db86aabSstevel# You may not use this file except in compliance with the License. 73db86aabSstevel# 83db86aabSstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 93db86aabSstevel# or http://www.opensolaris.org/os/licensing. 103db86aabSstevel# See the License for the specific language governing permissions 113db86aabSstevel# and limitations under the License. 123db86aabSstevel# 133db86aabSstevel# When distributing Covered Code, include this CDDL HEADER in each 143db86aabSstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 153db86aabSstevel# If applicable, add the following below this CDDL HEADER, with the 163db86aabSstevel# fields enclosed by brackets "[]" replaced with your own identifying 173db86aabSstevel# information: Portions Copyright [yyyy] [name of copyright owner] 183db86aabSstevel# 193db86aabSstevel# CDDL HEADER END 203db86aabSstevel# 213db86aabSstevel 223db86aabSstevel# 233db86aabSstevel# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 243db86aabSstevel# Use is subject to license terms. 253db86aabSstevel# 263db86aabSstevel 273db86aabSstevel#ident "%Z%%M% %I% %E% SMI" 283db86aabSstevel# 293db86aabSstevel# This makefile drives the production of the PCIC driver kernel module. 303db86aabSstevel# 313db86aabSstevel# sparc architecture dependent 323db86aabSstevel# 333db86aabSstevel 343db86aabSstevel# 353db86aabSstevel# Path to the base of the uts directory tree (usually /usr/src/uts). 363db86aabSstevel# 373db86aabSstevelUTSBASE = ../.. 383db86aabSstevel 393db86aabSstevel# 403db86aabSstevel# Define the module and object file sets. 413db86aabSstevel# 423db86aabSstevelMODULE = pcic 433db86aabSstevelOBJECTS = $(PCIC_OBJS:%=$(OBJS_DIR)/%) 443db86aabSstevelLINTS = $(PCIC_OBJS:%.o=$(LINTS_DIR)/%.ln) 453db86aabSstevelROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 463db86aabSstevelCONF_SRCDIR = $(UTSBASE)/common/io 473db86aabSstevel 483db86aabSstevel# 493db86aabSstevel# Include common rules. 503db86aabSstevel# 513db86aabSstevelinclude $(UTSBASE)/sparc/Makefile.sparc 523db86aabSstevel 533db86aabSstevel# 543db86aabSstevel# Define targets 553db86aabSstevel# 563db86aabSstevelALL_TARGET = $(BINARY) $(SRC_CONFILE) 573db86aabSstevelLINT_TARGET = $(MODULE).lint 583db86aabSstevelINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 593db86aabSstevel 603db86aabSstevel# 613db86aabSstevel# Include sun4u specific header files 623db86aabSstevel# 633db86aabSstevelINC_PATH += -I$(UTSBASE)/sun4u 643db86aabSstevel 653db86aabSstevel# 663db86aabSstevel# Overrides 673db86aabSstevel# 683db86aabSstevelDEF_BUILDS = $(DEF_BUILDS64) 693db86aabSstevelALL_BUILDS = $(ALL_BUILDS64) 703db86aabSstevelCLEANLINTFILES += $(LINT64_FILES) 713db86aabSstevel 723db86aabSstevel# 733db86aabSstevel# lint pass one enforcement 743db86aabSstevel# 753db86aabSstevelCFLAGS += $(CCVERBOSE) 76*0d282d13Srw148561CPPFLAGS += -DCARDBUS -DHOTPLUG 773db86aabSstevel 783db86aabSstevel# dependency 793db86aabSstevelLDFLAGS += -dy -Nmisc/busra -Nmisc/pcmcia -Nmisc/cardbus 803db86aabSstevel 813db86aabSstevel# 823db86aabSstevel# Default build targets. 833db86aabSstevel# 843db86aabSstevel.KEEP_STATE: 853db86aabSstevel 863db86aabSsteveldef: $(DEF_DEPS) 873db86aabSstevel 883db86aabSstevelall: $(ALL_DEPS) 893db86aabSstevel 903db86aabSstevelclean: $(CLEAN_DEPS) 913db86aabSstevel 923db86aabSstevelclobber: $(CLOBBER_DEPS) 933db86aabSstevel 943db86aabSstevellint: $(LINT_DEPS) 953db86aabSstevel 963db86aabSstevelmodlintlib: $(MODLINTLIB_DEPS) lint64 973db86aabSstevel 983db86aabSstevelclean.lint: $(CLEAN_LINT_DEPS) 993db86aabSstevel 1003db86aabSstevelinstall: $(INSTALL_DEPS) 1013db86aabSstevel 1023db86aabSstevel# Include common targets. 1033db86aabSstevel# 1043db86aabSstevelinclude $(UTSBASE)/sparc/Makefile.targ 105