18b464eb8Smec# 28b464eb8Smec# CDDL HEADER START 38b464eb8Smec# 48b464eb8Smec# The contents of this file are subject to the terms of the 58b464eb8Smec# Common Development and Distribution License (the "License"). 68b464eb8Smec# You may not use this file except in compliance with the License. 78b464eb8Smec# 88b464eb8Smec# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 98b464eb8Smec# or http://www.opensolaris.org/os/licensing. 108b464eb8Smec# See the License for the specific language governing permissions 118b464eb8Smec# and limitations under the License. 128b464eb8Smec# 138b464eb8Smec# When distributing Covered Code, include this CDDL HEADER in each 148b464eb8Smec# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 158b464eb8Smec# If applicable, add the following below this CDDL HEADER, with the 168b464eb8Smec# fields enclosed by brackets "[]" replaced with your own identifying 178b464eb8Smec# information: Portions Copyright [yyyy] [name of copyright owner] 188b464eb8Smec# 198b464eb8Smec# CDDL HEADER END 208b464eb8Smec# 218b464eb8Smec# 228b464eb8Smec# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 238b464eb8Smec# Use is subject to license terms. 248b464eb8Smec# 25*0aaef2f5SRichard Lowe 268b464eb8Smec# 278b464eb8Smec# This makefile drives the production of the physmem driver 288b464eb8Smec# 298b464eb8Smec# intel implementation architecture dependent 308b464eb8Smec# 318b464eb8Smec 328b464eb8Smec# 338b464eb8Smec# Path to the base of the uts directory tree (usually /usr/src/uts). 348b464eb8Smec# 358b464eb8SmecUTSBASE = ../.. 368b464eb8Smec 378b464eb8Smec# 388b464eb8Smec# Define the module and object file sets. 398b464eb8Smec# 408b464eb8SmecMODULE = physmem 418b464eb8SmecOBJECTS = $(PHYSMEM_OBJS:%=$(OBJS_DIR)/%) 428b464eb8SmecROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 438b464eb8SmecCONF_SRCDIR = $(UTSBASE)/common/io 448b464eb8Smec 458b464eb8Smec# 468b464eb8Smec# Include common rules. 478b464eb8Smec# 488b464eb8Smecinclude $(UTSBASE)/intel/Makefile.intel 498b464eb8Smec 508b464eb8Smec# 518b464eb8Smec# Define targets 528b464eb8Smec# 538b464eb8SmecALL_TARGET = $(BINARY) $(SRC_CONFILE) 548b464eb8SmecINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 558b464eb8Smec 568b464eb8Smec# 578b464eb8Smec# Default build targets. 588b464eb8Smec# 598b464eb8Smec.KEEP_STATE: 608b464eb8Smec 618b464eb8Smecdef: $(DEF_DEPS) 628b464eb8Smec 638b464eb8Smecall: $(ALL_DEPS) 648b464eb8Smec 658b464eb8Smecclean: $(CLEAN_DEPS) 668b464eb8Smec 678b464eb8Smecclobber: $(CLOBBER_DEPS) 688b464eb8Smec 698b464eb8Smecinstall: $(INSTALL_DEPS) 708b464eb8Smec 718b464eb8Smec# 728b464eb8Smec# Include common targets. 738b464eb8Smec# 748b464eb8Smecinclude $(UTSBASE)/intel/Makefile.targ 75