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