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