1*e4b86885SCheng Sean Ye# 25cff7825Smh# CDDL HEADER START 35cff7825Smh# 45cff7825Smh# The contents of this file are subject to the terms of the 55cff7825Smh# Common Development and Distribution License (the "License"). 65cff7825Smh# You may not use this file except in compliance with the License. 75cff7825Smh# 85cff7825Smh# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 95cff7825Smh# or http://www.opensolaris.org/os/licensing. 105cff7825Smh# See the License for the specific language governing permissions 115cff7825Smh# and limitations under the License. 125cff7825Smh# 135cff7825Smh# When distributing Covered Code, include this CDDL HEADER in each 145cff7825Smh# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 155cff7825Smh# If applicable, add the following below this CDDL HEADER, with the 165cff7825Smh# fields enclosed by brackets "[]" replaced with your own identifying 175cff7825Smh# information: Portions Copyright [yyyy] [name of copyright owner] 185cff7825Smh# 195cff7825Smh# CDDL HEADER END 205cff7825Smh# 21*e4b86885SCheng Sean Ye 225cff7825Smh# 23*e4b86885SCheng Sean Ye# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 24*e4b86885SCheng Sean Ye# Use is subject to license terms. 255cff7825Smh# 265cff7825Smh 275cff7825Smh# 285cff7825Smh# Path to the base of the uts directory tree (usually /usr/src/uts). 295cff7825Smh# 30843e1988SjohnlevUTSBASE = ../.. 31843e1988Sjohnlev 32843e1988Sjohnlev# 33843e1988Sjohnlev# Define the module and object file sets. 34843e1988Sjohnlev# 35*e4b86885SCheng Sean YeMODULE = fm 36843e1988Sjohnlev# 37*e4b86885SCheng Sean YeOBJECTS = $(FM_OBJS:%=$(OBJS_DIR)/%) 38*e4b86885SCheng Sean YeROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 39*e4b86885SCheng Sean YeCONF_SRCDIR = $(UTSBASE)/common/io 405cff7825Smh 415cff7825Smh# 42843e1988Sjohnlev# Include common rules. 435cff7825Smh# 44*e4b86885SCheng Sean Yeinclude $(UTSBASE)/intel/Makefile.intel 455cff7825Smh 465cff7825Smh# 47843e1988Sjohnlev# Define targets 485cff7825Smh# 4920c794b3SgavinmALL_TARGET = $(BINARY) $(SRC_CONFFILE) 5020c794b3SgavinmINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 5120c794b3Sgavinm 52*e4b86885SCheng Sean Ye# For sys/cpu_module.h 53*e4b86885SCheng Sean YeCPPFLAGS += -I$(UTSBASE)/i86pc 545cff7825Smh 555cff7825Smh# 56843e1988Sjohnlev# Default build targets. 575cff7825Smh# 585cff7825Smh.KEEP_STATE: 595cff7825Smh 60843e1988Sjohnlevdef: $(DEF_DEPS) 615cff7825Smh 62843e1988Sjohnlevall: $(ALL_DEPS) 635cff7825Smh 64843e1988Sjohnlevclean: $(CLEAN_DEPS) 655cff7825Smh 66843e1988Sjohnlevclobber: $(CLOBBER_DEPS) 675cff7825Smh 68843e1988Sjohnlevinstall: $(INSTALL_DEPS) 695cff7825Smh 705cff7825Smh# 71843e1988Sjohnlev# Include common targets. 725cff7825Smh# 73843e1988Sjohnlevinclude ../Makefile.targ 74