8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
8eea8e29cc4374d1ee24c25a07f45af132db3499ap# CDDL HEADER START
8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
8eea8e29cc4374d1ee24c25a07f45af132db3499ap# The contents of this file are subject to the terms of the
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# Common Development and Distribution License (the "License").
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# You may not use this file except in compliance with the License.
8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
8eea8e29cc4374d1ee24c25a07f45af132db3499ap# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8eea8e29cc4374d1ee24c25a07f45af132db3499ap# or http://www.opensolaris.org/os/licensing.
8eea8e29cc4374d1ee24c25a07f45af132db3499ap# See the License for the specific language governing permissions
8eea8e29cc4374d1ee24c25a07f45af132db3499ap# and limitations under the License.
8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
8eea8e29cc4374d1ee24c25a07f45af132db3499ap# When distributing Covered Code, include this CDDL HEADER in each
8eea8e29cc4374d1ee24c25a07f45af132db3499ap# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8eea8e29cc4374d1ee24c25a07f45af132db3499ap# If applicable, add the following below this CDDL HEADER, with the
8eea8e29cc4374d1ee24c25a07f45af132db3499ap# fields enclosed by brackets "[]" replaced with your own identifying
8eea8e29cc4374d1ee24c25a07f45af132db3499ap# information: Portions Copyright [yyyy] [name of copyright owner]
8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
8eea8e29cc4374d1ee24c25a07f45af132db3499ap# CDDL HEADER END
8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
8eea8e29cc4374d1ee24c25a07f45af132db3499ap# Use is subject to license terms.
8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
8eea8e29cc4374d1ee24c25a07f45af132db3499ap
8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
8eea8e29cc4374d1ee24c25a07f45af132db3499ap# Path to the base of the uts directory tree (usually /usr/src/uts).
8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
8eea8e29cc4374d1ee24c25a07f45af132db3499apUTSBASE = ../..
8eea8e29cc4374d1ee24c25a07f45af132db3499ap
8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
8eea8e29cc4374d1ee24c25a07f45af132db3499ap# Define the module and object file sets.
8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
8eea8e29cc4374d1ee24c25a07f45af132db3499apMODULE = dcam1394
8eea8e29cc4374d1ee24c25a07f45af132db3499apOBJECTS = $(DCAM1394_OBJS:%=$(OBJS_DIR)/%)
8eea8e29cc4374d1ee24c25a07f45af132db3499apLINTS = $(DCAM1394_OBJS:%.o=$(LINTS_DIR)/%.ln)
8eea8e29cc4374d1ee24c25a07f45af132db3499apROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
8eea8e29cc4374d1ee24c25a07f45af132db3499ap
8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
8eea8e29cc4374d1ee24c25a07f45af132db3499ap# Include common rules.
8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
8eea8e29cc4374d1ee24c25a07f45af132db3499apinclude $(UTSBASE)/intel/Makefile.intel
8eea8e29cc4374d1ee24c25a07f45af132db3499ap
8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
8eea8e29cc4374d1ee24c25a07f45af132db3499ap# Define targets
8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
8eea8e29cc4374d1ee24c25a07f45af132db3499apALL_TARGET = $(BINARY)
8eea8e29cc4374d1ee24c25a07f45af132db3499apLINT_TARGET = $(MODULE).lint
8eea8e29cc4374d1ee24c25a07f45af132db3499apINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
8eea8e29cc4374d1ee24c25a07f45af132db3499ap
8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
8eea8e29cc4374d1ee24c25a07f45af132db3499ap# lint pass one enforcement
8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jgCFLAGS += $(CCVERBOSE)
8eea8e29cc4374d1ee24c25a07f45af132db3499ap
8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
8eea8e29cc4374d1ee24c25a07f45af132db3499ap# depends on misc/s1394
8eea8e29cc4374d1ee24c25a07f45af132db3499apLDFLAGS += -dy -Nmisc/s1394
8eea8e29cc4374d1ee24c25a07f45af132db3499ap
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg#
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# For now, disable these lint checks; maintainers should endeavor
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# to investigate and remove these for maximum lint coverage.
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg# Please do not carry these forward to new Makefiles.
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg#
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jgLINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
bb25c06cca41ca78e5fb87fbb8e81d55beb18c95jg
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-parentheses
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-uninitialized
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe
8eea8e29cc4374d1ee24c25a07f45af132db3499ap# Default build targets.
8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
8eea8e29cc4374d1ee24c25a07f45af132db3499ap.KEEP_STATE:
8eea8e29cc4374d1ee24c25a07f45af132db3499ap
8eea8e29cc4374d1ee24c25a07f45af132db3499apdef: $(DEF_DEPS)
8eea8e29cc4374d1ee24c25a07f45af132db3499ap
8eea8e29cc4374d1ee24c25a07f45af132db3499apall: $(ALL_DEPS)
8eea8e29cc4374d1ee24c25a07f45af132db3499ap
8eea8e29cc4374d1ee24c25a07f45af132db3499apclean: $(CLEAN_DEPS)
8eea8e29cc4374d1ee24c25a07f45af132db3499ap
8eea8e29cc4374d1ee24c25a07f45af132db3499apclobber: $(CLOBBER_DEPS)
8eea8e29cc4374d1ee24c25a07f45af132db3499ap
8eea8e29cc4374d1ee24c25a07f45af132db3499aplint: $(LINT_DEPS)
8eea8e29cc4374d1ee24c25a07f45af132db3499ap
8eea8e29cc4374d1ee24c25a07f45af132db3499apmodlintlib: $(MODLINTLIB_DEPS)
8eea8e29cc4374d1ee24c25a07f45af132db3499ap
8eea8e29cc4374d1ee24c25a07f45af132db3499apclean.lint: $(CLEAN_LINT_DEPS)
8eea8e29cc4374d1ee24c25a07f45af132db3499ap
8eea8e29cc4374d1ee24c25a07f45af132db3499apinstall: $(INSTALL_DEPS)
8eea8e29cc4374d1ee24c25a07f45af132db3499ap
8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
8eea8e29cc4374d1ee24c25a07f45af132db3499ap# Include common targets.
8eea8e29cc4374d1ee24c25a07f45af132db3499ap#
8eea8e29cc4374d1ee24c25a07f45af132db3499apinclude $(UTSBASE)/intel/Makefile.targ
8eea8e29cc4374d1ee24c25a07f45af132db3499ap