xref: /titanic_50/usr/src/uts/sun4u/seattle/su/Makefile (revision f63f7506be0210195779706f51c58646e568cc40)
1*f63f7506Sanovick#
2*f63f7506Sanovick# CDDL HEADER START
3*f63f7506Sanovick#
4*f63f7506Sanovick# The contents of this file are subject to the terms of the
5*f63f7506Sanovick# Common Development and Distribution License (the "License").
6*f63f7506Sanovick# You may not use this file except in compliance with the License.
7*f63f7506Sanovick#
8*f63f7506Sanovick# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*f63f7506Sanovick# or http://www.opensolaris.org/os/licensing.
10*f63f7506Sanovick# See the License for the specific language governing permissions
11*f63f7506Sanovick# and limitations under the License.
12*f63f7506Sanovick#
13*f63f7506Sanovick# When distributing Covered Code, include this CDDL HEADER in each
14*f63f7506Sanovick# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*f63f7506Sanovick# If applicable, add the following below this CDDL HEADER, with the
16*f63f7506Sanovick# fields enclosed by brackets "[]" replaced with your own identifying
17*f63f7506Sanovick# information: Portions Copyright [yyyy] [name of copyright owner]
18*f63f7506Sanovick#
19*f63f7506Sanovick# CDDL HEADER END
20*f63f7506Sanovick#
21*f63f7506Sanovick
22*f63f7506Sanovick#
23*f63f7506Sanovick# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
24*f63f7506Sanovick# Use is subject to license terms.
25*f63f7506Sanovick#
26*f63f7506Sanovick# ident	"%Z%%M%	%I%	%E% SMI"
27*f63f7506Sanovick#
28*f63f7506Sanovick# uts/sun4u/seattle/su/Makefile
29*f63f7506Sanovick#
30*f63f7506Sanovick#	This makefile drives the install of the platform su.conf
31*f63f7506Sanovick#	driver configuration file in the sun4u Seattle system.
32*f63f7506Sanovick#
33*f63f7506Sanovick
34*f63f7506Sanovick#
35*f63f7506Sanovick#	Path to the base of the uts directory tree (usually /usr/src/uts).
36*f63f7506Sanovick#
37*f63f7506SanovickUTSBASE	= ../../..
38*f63f7506Sanovick
39*f63f7506Sanovick#
40*f63f7506Sanovick#	Define the module and file sets.
41*f63f7506Sanovick#
42*f63f7506SanovickMODULE		= su
43*f63f7506SanovickROOTMODULE	= $(ROOT_SEATTLE_DRV_DIR)/$(MODULE)
44*f63f7506SanovickCONF_SRCDIR	= $(UTSBASE)/sun4u/seattle/io
45*f63f7506Sanovick
46*f63f7506Sanovick#
47*f63f7506Sanovick#	Include common rules.
48*f63f7506Sanovick#
49*f63f7506Sanovickinclude $(UTSBASE)/sun4u/seattle/Makefile.seattle
50*f63f7506Sanovick
51*f63f7506Sanovick
52*f63f7506Sanovick#
53*f63f7506Sanovick# Define targets
54*f63f7506Sanovick#
55*f63f7506SanovickALL_TARGET	= $(SRC_CONFILE)
56*f63f7506SanovickINSTALL_TARGET	= $(ROOT_CONFFILE)
57*f63f7506Sanovick
58*f63f7506Sanovick#
59*f63f7506Sanovick# The only thing we do from here is install the .conf file
60*f63f7506Sanovick#
61*f63f7506SanovickCONF_INSTALL_TARGS	= conf_install
62*f63f7506SanovickCONF_INSTALL_OBJ	= $(CONF_INSTALL_TARGS)
63*f63f7506Sanovick
64*f63f7506Sanovick$(CONF_INSTALL_OBJ):	FRC
65*f63f7506Sanovick	$(MAKE) $(INSTALL_TARGET)
66*f63f7506Sanovick
67*f63f7506Sanovick#
68*f63f7506Sanovick#	Default build targets.
69*f63f7506Sanovick#
70*f63f7506Sanovick.KEEP_STATE:
71*f63f7506Sanovick
72*f63f7506Sanovickdef all clean clobber lint modlintlib clean.lint:
73*f63f7506Sanovick
74*f63f7506Sanovickinstall:	$(INSTALL_TARGET)
75*f63f7506Sanovick
76*f63f7506Sanovick#
77*f63f7506Sanovick#	Include common targets.
78*f63f7506Sanovick#
79*f63f7506Sanovickinclude $(UTSBASE)/sun4u/seattle/Makefile.targ
80