xref: /illumos-gate/usr/src/uts/sun4u/epic/Makefile (revision 08219281)
1*d58fda43Sjbeloro#
2*d58fda43Sjbeloro# CDDL HEADER START
3*d58fda43Sjbeloro#
4*d58fda43Sjbeloro# The contents of this file are subject to the terms of the
5*d58fda43Sjbeloro# Common Development and Distribution License, Version 1.0 only
6*d58fda43Sjbeloro# (the "License").  You may not use this file except in compliance
7*d58fda43Sjbeloro# with the License.
8*d58fda43Sjbeloro#
9*d58fda43Sjbeloro# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*d58fda43Sjbeloro# or http://www.opensolaris.org/os/licensing.
11*d58fda43Sjbeloro# See the License for the specific language governing permissions
12*d58fda43Sjbeloro# and limitations under the License.
13*d58fda43Sjbeloro#
14*d58fda43Sjbeloro# When distributing Covered Code, include this CDDL HEADER in each
15*d58fda43Sjbeloro# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*d58fda43Sjbeloro# If applicable, add the following below this CDDL HEADER, with the
17*d58fda43Sjbeloro# fields enclosed by brackets "[]" replaced with your own identifying
18*d58fda43Sjbeloro# information: Portions Copyright [yyyy] [name of copyright owner]
19*d58fda43Sjbeloro#
20*d58fda43Sjbeloro# CDDL HEADER END
21*d58fda43Sjbeloro#
22*d58fda43Sjbeloro#
23*d58fda43Sjbeloro# uts/sun4u/epic/Makefile
24*d58fda43Sjbeloro# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
25*d58fda43Sjbeloro# Use is subject to license terms.
26*d58fda43Sjbeloro#
27*d58fda43Sjbeloro#	This makefile drives the production of the epic driver
28*d58fda43Sjbeloro#
29*d58fda43Sjbeloro#	sun4u implementation architecture dependent
30*d58fda43Sjbeloro#
31*d58fda43Sjbeloro
32*d58fda43Sjbeloro#
33*d58fda43Sjbeloro#	Path to the base of the uts directory tree (usually /usr/src/uts).
34*d58fda43Sjbeloro#
35*d58fda43SjbeloroUTSBASE	= ../..
36*d58fda43Sjbeloro
37*d58fda43Sjbeloro#
38*d58fda43Sjbeloro#	Define the module and object file sets.
39*d58fda43Sjbeloro#
40*d58fda43SjbeloroMODULE		= epic
41*d58fda43SjbeloroOBJECTS		= $(EPIC_OBJS:%=$(OBJS_DIR)/%)
42*d58fda43SjbeloroROOTMODULE	= $(ROOT_PSM_DRV_DIR)/$(MODULE)
43*d58fda43Sjbeloro
44*d58fda43Sjbeloro#
45*d58fda43Sjbeloro#	Include common rules.
46*d58fda43Sjbeloro#
47*d58fda43Sjbeloroinclude $(UTSBASE)/sun4u/Makefile.sun4u
48*d58fda43Sjbeloro
49*d58fda43Sjbeloro#
50*d58fda43Sjbeloro#	Define targets
51*d58fda43Sjbeloro#
52*d58fda43SjbeloroALL_TARGET	= $(BINARY)
53*d58fda43SjbeloroINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
54*d58fda43Sjbeloro
55*d58fda43Sjbeloro#
56*d58fda43Sjbeloro# Turn on doubleword alignment for 64 bit registers
57*d58fda43Sjbeloro#
58*d58fda43SjbeloroCFLAGS += -dalign
59*d58fda43Sjbeloro
60*d58fda43Sjbeloro#
61*d58fda43Sjbeloro#	Default build targets.
62*d58fda43Sjbeloro#
63*d58fda43Sjbeloro.KEEP_STATE:
64*d58fda43Sjbeloro
65*d58fda43Sjbelorodef:		$(DEF_DEPS)
66*d58fda43Sjbeloro
67*d58fda43Sjbeloroall:		$(ALL_DEPS)
68*d58fda43Sjbeloro
69*d58fda43Sjbeloroclean:		$(CLEAN_DEPS)
70*d58fda43Sjbeloro
71*d58fda43Sjbeloroclobber:	$(CLOBBER_DEPS)
72*d58fda43Sjbeloro
73*d58fda43Sjbeloroinstall:	$(INSTALL_DEPS)
74*d58fda43Sjbeloro
75*d58fda43Sjbeloro#
76*d58fda43Sjbeloro#	Include common targets.
77*d58fda43Sjbeloro#
78*d58fda43Sjbeloroinclude $(UTSBASE)/sun4u/Makefile.targ
79