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