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