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