xref: /onnv-gate/usr/src/uts/intel/fd/Makefile (revision 3446:5903aece022d)
1*3446Smrj#
2*3446Smrj# CDDL HEADER START
3*3446Smrj#
4*3446Smrj# The contents of this file are subject to the terms of the
5*3446Smrj# Common Development and Distribution License (the "License").
6*3446Smrj# You may not use this file except in compliance with the License.
7*3446Smrj#
8*3446Smrj# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*3446Smrj# or http://www.opensolaris.org/os/licensing.
10*3446Smrj# See the License for the specific language governing permissions
11*3446Smrj# and limitations under the License.
12*3446Smrj#
13*3446Smrj# When distributing Covered Code, include this CDDL HEADER in each
14*3446Smrj# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*3446Smrj# If applicable, add the following below this CDDL HEADER, with the
16*3446Smrj# fields enclosed by brackets "[]" replaced with your own identifying
17*3446Smrj# information: Portions Copyright [yyyy] [name of copyright owner]
18*3446Smrj#
19*3446Smrj# CDDL HEADER END
20*3446Smrj#
21*3446Smrj#
22*3446Smrj# uts/intel/fd/Makefile
23*3446Smrj#
24*3446Smrj# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
25*3446Smrj# Use is subject to license terms.
26*3446Smrj#
27*3446Smrj#ident	"%Z%%M%	%I%	%E% SMI"
28*3446Smrj#
29*3446Smrj#	This makefile drives the production of the floppy driver
30*3446Smrj#
31*3446Smrj#	intel architecture dependent
32*3446Smrj#
33*3446Smrj
34*3446Smrj#
35*3446Smrj#	Path to the base of the uts directory tree (usually /usr/src/uts).
36*3446Smrj#
37*3446SmrjUTSBASE	= ../..
38*3446Smrj
39*3446Smrj#
40*3446Smrj#	Define the module and object file sets.
41*3446Smrj#
42*3446SmrjMODULE		= fd
43*3446SmrjOBJECTS		= $(FD_OBJS:%=$(OBJS_DIR)/%)
44*3446SmrjLINTS		= $(FD_OBJS:%.o=$(LINTS_DIR)/%.ln)
45*3446SmrjROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
46*3446SmrjCONF_SRCDIR	= $(UTSBASE)/intel/io
47*3446Smrj
48*3446Smrj#
49*3446Smrj#	Include common rules.
50*3446Smrj#
51*3446Smrjinclude $(UTSBASE)/intel/Makefile.intel
52*3446Smrj
53*3446Smrj#
54*3446Smrj#	Define targets
55*3446Smrj#
56*3446SmrjALL_TARGET	= $(BINARY) $(CONFMOD)
57*3446SmrjLINT_TARGET	= $(MODULE).lint
58*3446SmrjINSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
59*3446Smrj
60*3446Smrj#
61*3446Smrj#	Overrides.
62*3446Smrj#
63*3446Smrj
64*3446Smrj#
65*3446Smrj# For now, disable these lint checks; maintainers should endeavor
66*3446Smrj# to investigate and remove these for maximum lint coverage.
67*3446Smrj# Please do not carry these forward to new Makefiles.
68*3446Smrj#
69*3446SmrjLINTTAGS	+= -erroff=E_SUSPICIOUS_COMPARISON
70*3446SmrjLINTTAGS	+= -erroff=E_BAD_PTR_CAST_ALIGN
71*3446SmrjLINTTAGS	+= -erroff=E_ASSIGN_NARROW_CONV
72*3446Smrj
73*3446Smrj#
74*3446Smrj#	Default build targets.
75*3446Smrj#
76*3446Smrj.KEEP_STATE:
77*3446Smrj
78*3446Smrjdef:		$(DEF_DEPS)
79*3446Smrj
80*3446Smrjall:		$(ALL_DEPS)
81*3446Smrj
82*3446Smrjclean:		$(CLEAN_DEPS)
83*3446Smrj
84*3446Smrjclobber:	$(CLOBBER_DEPS)
85*3446Smrj
86*3446Smrjlint:		$(LINT_DEPS)
87*3446Smrj
88*3446Smrjmodlintlib:	$(MODLINTLIB_DEPS)
89*3446Smrj
90*3446Smrjclean.lint:	$(CLEAN_LINT_DEPS)
91*3446Smrj
92*3446Smrjinstall:	$(INSTALL_DEPS)
93*3446Smrj
94*3446Smrj#
95*3446Smrj#	Include common targets.
96*3446Smrj#
97*3446Smrjinclude $(UTSBASE)/intel/Makefile.targ
98