xref: /titanic_50/usr/src/uts/sparc/qfe/Makefile (revision f2cd0f027a2c872a297e602d646cc147ce718534)
1*f2cd0f02Sgd78059#
2*f2cd0f02Sgd78059# CDDL HEADER START
3*f2cd0f02Sgd78059#
4*f2cd0f02Sgd78059# The contents of this file are subject to the terms of the
5*f2cd0f02Sgd78059# Common Development and Distribution License (the "License").
6*f2cd0f02Sgd78059# You may not use this file except in compliance with the License.
7*f2cd0f02Sgd78059#
8*f2cd0f02Sgd78059# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*f2cd0f02Sgd78059# or http://www.opensolaris.org/os/licensing.
10*f2cd0f02Sgd78059# See the License for the specific language governing permissions
11*f2cd0f02Sgd78059# and limitations under the License.
12*f2cd0f02Sgd78059#
13*f2cd0f02Sgd78059# When distributing Covered Code, include this CDDL HEADER in each
14*f2cd0f02Sgd78059# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*f2cd0f02Sgd78059# If applicable, add the following below this CDDL HEADER, with the
16*f2cd0f02Sgd78059# fields enclosed by brackets "[]" replaced with your own identifying
17*f2cd0f02Sgd78059# information: Portions Copyright [yyyy] [name of copyright owner]
18*f2cd0f02Sgd78059#
19*f2cd0f02Sgd78059# CDDL HEADER END
20*f2cd0f02Sgd78059#
21*f2cd0f02Sgd78059#
22*f2cd0f02Sgd78059# uts/sparc/qfe/Makefile
23*f2cd0f02Sgd78059#
24*f2cd0f02Sgd78059# ident	"%Z%%M%	%I%	%E% SMI"
25*f2cd0f02Sgd78059#
26*f2cd0f02Sgd78059# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
27*f2cd0f02Sgd78059# Use is subject to license terms.
28*f2cd0f02Sgd78059#
29*f2cd0f02Sgd78059#	This makefile drives the production of the qfe driver
30*f2cd0f02Sgd78059#	kernel module.
31*f2cd0f02Sgd78059#
32*f2cd0f02Sgd78059
33*f2cd0f02Sgd78059#
34*f2cd0f02Sgd78059#	Path to the base of the uts directory tree (usually /usr/src/uts).
35*f2cd0f02Sgd78059#
36*f2cd0f02Sgd78059UTSBASE	= ../..
37*f2cd0f02Sgd78059
38*f2cd0f02Sgd78059#
39*f2cd0f02Sgd78059#	Define the module and object file sets.
40*f2cd0f02Sgd78059#
41*f2cd0f02Sgd78059MODULE		= qfe
42*f2cd0f02Sgd78059OBJECTS		= $(QFE_OBJS:%=$(OBJS_DIR)/%)
43*f2cd0f02Sgd78059LINTS		= $(QFE_OBJS:%.o=$(LINTS_DIR)/%.ln)
44*f2cd0f02Sgd78059ROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
45*f2cd0f02Sgd78059
46*f2cd0f02Sgd78059#
47*f2cd0f02Sgd78059#	Include common rules.
48*f2cd0f02Sgd78059#
49*f2cd0f02Sgd78059include $(UTSBASE)/sparc/Makefile.sparc
50*f2cd0f02Sgd78059
51*f2cd0f02Sgd78059#
52*f2cd0f02Sgd78059#	Define targets
53*f2cd0f02Sgd78059#
54*f2cd0f02Sgd78059ALL_TARGET	= $(BINARY)
55*f2cd0f02Sgd78059LINT_TARGET	= $(MODULE).lint
56*f2cd0f02Sgd78059INSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
57*f2cd0f02Sgd78059
58*f2cd0f02Sgd78059#
59*f2cd0f02Sgd78059#	Overrides.
60*f2cd0f02Sgd78059#
61*f2cd0f02Sgd78059CFLAGS		+= $(CCVERBOSE)
62*f2cd0f02Sgd78059LDFLAGS		+= -dy -Nmisc/mac -Ndrv/hme
63*f2cd0f02Sgd78059
64*f2cd0f02Sgd78059#
65*f2cd0f02Sgd78059#	Default build targets.
66*f2cd0f02Sgd78059#
67*f2cd0f02Sgd78059.KEEP_STATE:
68*f2cd0f02Sgd78059
69*f2cd0f02Sgd78059def:		$(DEF_DEPS)
70*f2cd0f02Sgd78059
71*f2cd0f02Sgd78059all:		$(ALL_DEPS)
72*f2cd0f02Sgd78059
73*f2cd0f02Sgd78059clean:		$(CLEAN_DEPS)
74*f2cd0f02Sgd78059
75*f2cd0f02Sgd78059clobber:	$(CLOBBER_DEPS)
76*f2cd0f02Sgd78059
77*f2cd0f02Sgd78059lint:		$(LINT_DEPS)
78*f2cd0f02Sgd78059
79*f2cd0f02Sgd78059modlintlib:	$(MODLINTLIB_DEPS)
80*f2cd0f02Sgd78059
81*f2cd0f02Sgd78059clean.lint:	$(CLEAN_LINT_DEPS)
82*f2cd0f02Sgd78059
83*f2cd0f02Sgd78059install:	$(INSTALL_DEPS)
84*f2cd0f02Sgd78059
85*f2cd0f02Sgd78059#
86*f2cd0f02Sgd78059#	Include common targets.
87*f2cd0f02Sgd78059#
88*f2cd0f02Sgd78059include $(UTSBASE)/sparc/Makefile.targ
89