xref: /illumos-gate/usr/src/uts/sun4u/max1617/Makefile (revision 01e7b7f0)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22
23#
24# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
25# Use is subject to license terms.
26
27#	This makefile drives the max1617 build.
28#
29#	Path to the base of the uts directory tree (usually /usr/src/uts).
30
31UTSBASE	= ../..
32
33#
34#	Define the module and object file sets.
35#
36MODULE		= max1617
37OBJECTS		= $(MAX1617_OBJS:%=$(OBJS_DIR)/%)
38ROOTMODULE	= $(ROOT_PSM_DRV_DIR)/$(MODULE)
39
40#
41#	Include common rules.
42#
43include $(UTSBASE)/sun4u/Makefile.sun4u
44
45CERRWARN	+= -_gcc=-Wno-unused-label
46
47LDFLAGS += -dy -N misc/i2c_svc
48
49#
50#	Define targets
51#
52ALL_TARGET	= $(BINARY)
53INSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
54
55.KEEP_STATE:
56
57def:		$(DEF_DEPS)
58
59all:		$(ALL_DEPS)
60
61clean:		$(CLEAN_DEPS)
62
63clobber:	$(CLOBBER_DEPS)
64
65install:	$(INSTALL_DEPS)
66
67#
68#	Include common targets.
69#
70include $(UTSBASE)/sun4u/Makefile.targ
71