327N/A#
327N/A# CDDL HEADER START
327N/A#
327N/A# The contents of this file are subject to the terms of the
327N/A# Common Development and Distribution License (the "License").
327N/A# You may not use this file except in compliance with the License.
327N/A#
327N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
327N/A# or http://www.opensolaris.org/os/licensing.
327N/A# See the License for the specific language governing permissions
327N/A# and limitations under the License.
327N/A#
327N/A# When distributing Covered Code, include this CDDL HEADER in each
327N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
327N/A# If applicable, add the following below this CDDL HEADER, with the
327N/A# fields enclosed by brackets "[]" replaced with your own identifying
327N/A# information: Portions Copyright [yyyy] [name of copyright owner]
327N/A#
327N/A# CDDL HEADER END
327N/A#
327N/A#
327N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
2899N/A# Use is subject to license terms.
327N/A#
327N/A#ident "%Z%%M% %I% %E% SMI"
327N/A#
327N/A# This makefile drives the production of the pcf8591 driver kernel module
864N/A#
864N/A# sun4u implementation architecture dependent
327N/A#
824N/A
327N/A#
618N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
327N/A#
844N/AUTSBASE = ../../..
844N/A
327N/A#
1258N/A# Define the module and object file sets.
327N/A#
2899N/AMODULE = pcf8591
2899N/AOBJECTS = $(PCF8591_NCT_OBJS:%=$(OBJS_DIR)/%)
327N/ALINTS = $(PCF8591_NCT_OBJS:%.o=$(LINTS_DIR)/%.ln)
327N/AROOTMODULE = $(ROOT_MONTECARLO_DRV_DIR)/$(MODULE)
327N/A
327N/A#
327N/A# Include common rules.
327N/A#
327N/Ainclude $(UTSBASE)/sun4u/montecarlo/Makefile.montecarlo
327N/A
327N/A#
327N/A# Define targets
327N/A#
327N/AALL_TARGET = $(BINARY)
327N/ALINT_TARGET = $(MODULE).lint
327N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
327N/A
327N/A#
327N/A# lint pass one enforcement
327N/A#
327N/ACFLAGS += $(CCVERBOSE)
327N/A
327N/A#
327N/A# Turn on doubleword alignment for 64 bit registers
327N/A#
327N/ACFLAGS += -dalign
327N/A
327N/A#
824N/A# Add our depedencies to LDFLAGS
327N/A#
327N/ALDFLAGS += -dy -Nmisc/i2c_svc -Ndrv/scsb
327N/A
327N/A#
327N/A# Default build targets.
327N/A#
327N/A.KEEP_STATE:
327N/A
327N/Adef: $(DEF_DEPS)
327N/A
1938N/Aall: $(ALL_DEPS)
327N/A
327N/Aclean: $(CLEAN_DEPS)
2023N/A
327N/Aclobber: $(CLOBBER_DEPS)
2023N/A
327N/Alint: $(LINT_DEPS)
2023N/A
327N/Amodlintlib: $(MODLINTLIB_DEPS)
327N/A
327N/Aclean.lint: $(CLEAN_LINT_DEPS)
327N/A
install: $(INSTALL_DEPS)
LINT_LIB_DIR = $(MONTECARLO_LINT_LIB_DIR)
#
# Include common targets.
#
include $(UTSBASE)/sun4u/montecarlo/Makefile.targ