Makefile revision ae115bc77f6fcde83175c75b4206dc2e50747966
2058N/A#
2058N/A# CDDL HEADER START
2058N/A#
2058N/A# The contents of this file are subject to the terms of the
2058N/A# Common Development and Distribution License (the "License").
2058N/A# You may not use this file except in compliance with the License.
2058N/A#
2058N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2058N/A# or http://www.opensolaris.org/os/licensing.
2058N/A# See the License for the specific language governing permissions
2058N/A# and limitations under the License.
2058N/A#
2058N/A# When distributing Covered Code, include this CDDL HEADER in each
2058N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2058N/A# If applicable, add the following below this CDDL HEADER, with the
2058N/A# fields enclosed by brackets "[]" replaced with your own identifying
2058N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2058N/A#
2058N/A# CDDL HEADER END
2058N/A#
3661N/A#
2058N/A# uts/intel/fdc/Makefile
2058N/A#
2058N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
2058N/A# Use is subject to license terms.
2058N/A#
2058N/A#ident "%Z%%M% %I% %E% SMI"
2058N/A#
2058N/A# This makefile drives the production of the floppy controller dirver
2058N/A#
2058N/A# intel architecture dependent
2058N/A#
2058N/A
2058N/A#
3661N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
3661N/A#
3778N/AUTSBASE = ../..
3778N/A
3778N/A#
2058N/A# Define the module and object file sets.
2058N/A#
2058N/AMODULE = fdc
2058N/AOBJECTS = $(FDC_OBJS:%=$(OBJS_DIR)/%)
2058N/ALINTS = $(FDC_OBJS:%.o=$(LINTS_DIR)/%.ln)
2058N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
2058N/ACONF_SRCDIR = $(UTSBASE)/common/io
2058N/A
2058N/A#
2058N/A# Include common rules.
2058N/A#
2058N/Ainclude $(UTSBASE)/intel/Makefile.intel
2058N/A
2058N/A#
2058N/A# Define targets
2058N/A#
2058N/AALL_TARGET = $(BINARY) $(CONFMOD)
2058N/ALINT_TARGET = $(MODULE).lint
2058N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides.
#
#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
#
LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ