1*3253Smec# 2*3253Smec# CDDL HEADER START 3*3253Smec# 4*3253Smec# The contents of this file are subject to the terms of the 5*3253Smec# Common Development and Distribution License (the "License"). 6*3253Smec# You may not use this file except in compliance with the License. 7*3253Smec# 8*3253Smec# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*3253Smec# or http://www.opensolaris.org/os/licensing. 10*3253Smec# See the License for the specific language governing permissions 11*3253Smec# and limitations under the License. 12*3253Smec# 13*3253Smec# When distributing Covered Code, include this CDDL HEADER in each 14*3253Smec# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*3253Smec# If applicable, add the following below this CDDL HEADER, with the 16*3253Smec# fields enclosed by brackets "[]" replaced with your own identifying 17*3253Smec# information: Portions Copyright [yyyy] [name of copyright owner] 18*3253Smec# 19*3253Smec# CDDL HEADER END 20*3253Smec# 21*3253Smec# 22*3253Smec# uts/intel/physmem/Makefile 23*3253Smec# 24*3253Smec# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 25*3253Smec# Use is subject to license terms. 26*3253Smec# 27*3253Smec# ident "%Z%%M% %I% %E% SMI" 28*3253Smec# 29*3253Smec# This makefile drives the production of the physmem driver 30*3253Smec# 31*3253Smec# intel implementation architecture dependent 32*3253Smec# 33*3253Smec 34*3253Smec# 35*3253Smec# Path to the base of the uts directory tree (usually /usr/src/uts). 36*3253Smec# 37*3253SmecUTSBASE = ../.. 38*3253Smec 39*3253Smec# 40*3253Smec# Define the module and object file sets. 41*3253Smec# 42*3253SmecMODULE = physmem 43*3253SmecOBJECTS = $(PHYSMEM_OBJS:%=$(OBJS_DIR)/%) 44*3253SmecLINTS = $(PHYSMEM_OBJS:%.o=$(LINTS_DIR)/%.ln) 45*3253SmecROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 46*3253SmecCONF_SRCDIR = $(UTSBASE)/common/io 47*3253Smec 48*3253Smec# 49*3253Smec# Include common rules. 50*3253Smec# 51*3253Smecinclude $(UTSBASE)/intel/Makefile.intel 52*3253Smec 53*3253Smec# 54*3253Smec# Define targets 55*3253Smec# 56*3253SmecALL_TARGET = $(BINARY) $(SRC_CONFILE) 57*3253SmecLINT_TARGET = $(MODULE).lint 58*3253SmecINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 59*3253Smec 60*3253Smec# 61*3253Smec# Default build targets. 62*3253Smec# 63*3253Smec.KEEP_STATE: 64*3253Smec 65*3253Smecdef: $(DEF_DEPS) 66*3253Smec 67*3253Smecall: $(ALL_DEPS) 68*3253Smec 69*3253Smecclean: $(CLEAN_DEPS) 70*3253Smec 71*3253Smecclobber: $(CLOBBER_DEPS) 72*3253Smec 73*3253Smeclint: $(LINT_DEPS) 74*3253Smec 75*3253Smecmodlintlib: $(MODLINTLIB_DEPS) 76*3253Smec 77*3253Smecclean.lint: $(CLEAN_LINT_DEPS) 78*3253Smec 79*3253Smecinstall: $(INSTALL_DEPS) 80*3253Smec 81*3253Smec# 82*3253Smec# Include common targets. 83*3253Smec# 84*3253Smecinclude $(UTSBASE)/intel/Makefile.targ 85