18eea8e29Sap25164# 28eea8e29Sap25164# CDDL HEADER START 38eea8e29Sap25164# 48eea8e29Sap25164# The contents of this file are subject to the terms of the 5*bb25c06cSjg# Common Development and Distribution License (the "License"). 6*bb25c06cSjg# You may not use this file except in compliance with the License. 78eea8e29Sap25164# 88eea8e29Sap25164# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 98eea8e29Sap25164# or http://www.opensolaris.org/os/licensing. 108eea8e29Sap25164# See the License for the specific language governing permissions 118eea8e29Sap25164# and limitations under the License. 128eea8e29Sap25164# 138eea8e29Sap25164# When distributing Covered Code, include this CDDL HEADER in each 148eea8e29Sap25164# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 158eea8e29Sap25164# If applicable, add the following below this CDDL HEADER, with the 168eea8e29Sap25164# fields enclosed by brackets "[]" replaced with your own identifying 178eea8e29Sap25164# information: Portions Copyright [yyyy] [name of copyright owner] 188eea8e29Sap25164# 198eea8e29Sap25164# CDDL HEADER END 208eea8e29Sap25164# 218eea8e29Sap25164# 22*bb25c06cSjg# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 238eea8e29Sap25164# Use is subject to license terms. 248eea8e29Sap25164# 258eea8e29Sap25164#ident "%Z%%M% %I% %E% SMI" 268eea8e29Sap25164# 278eea8e29Sap25164 288eea8e29Sap25164# 298eea8e29Sap25164# Path to the base of the uts directory tree (usually /usr/src/uts). 308eea8e29Sap25164# 318eea8e29Sap25164UTSBASE = ../.. 328eea8e29Sap25164 338eea8e29Sap25164# 348eea8e29Sap25164# Define the module and object file sets. 358eea8e29Sap25164# 368eea8e29Sap25164MODULE = dcam1394 378eea8e29Sap25164OBJECTS = $(DCAM1394_OBJS:%=$(OBJS_DIR)/%) 388eea8e29Sap25164LINTS = $(DCAM1394_OBJS:%.o=$(LINTS_DIR)/%.ln) 398eea8e29Sap25164ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 408eea8e29Sap25164 418eea8e29Sap25164# 428eea8e29Sap25164# Include common rules. 438eea8e29Sap25164# 448eea8e29Sap25164include $(UTSBASE)/intel/Makefile.intel 458eea8e29Sap25164 468eea8e29Sap25164# 478eea8e29Sap25164# Define targets 488eea8e29Sap25164# 498eea8e29Sap25164ALL_TARGET = $(BINARY) 508eea8e29Sap25164LINT_TARGET = $(MODULE).lint 518eea8e29Sap25164INSTALL_TARGET = $(BINARY) $(ROOTMODULE) 528eea8e29Sap25164 538eea8e29Sap25164# 548eea8e29Sap25164# lint pass one enforcement 558eea8e29Sap25164# 56*bb25c06cSjgCFLAGS += $(CCVERBOSE) 578eea8e29Sap25164 588eea8e29Sap25164# 598eea8e29Sap25164# depends on misc/s1394 608eea8e29Sap25164LDFLAGS += -dy -Nmisc/s1394 618eea8e29Sap25164 62*bb25c06cSjg# 63*bb25c06cSjg# For now, disable these lint checks; maintainers should endeavor 64*bb25c06cSjg# to investigate and remove these for maximum lint coverage. 65*bb25c06cSjg# Please do not carry these forward to new Makefiles. 66*bb25c06cSjg# 67*bb25c06cSjgLINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON 68*bb25c06cSjg 698eea8e29Sap25164# Default build targets. 708eea8e29Sap25164# 718eea8e29Sap25164.KEEP_STATE: 728eea8e29Sap25164 738eea8e29Sap25164def: $(DEF_DEPS) 748eea8e29Sap25164 758eea8e29Sap25164all: $(ALL_DEPS) 768eea8e29Sap25164 778eea8e29Sap25164clean: $(CLEAN_DEPS) 788eea8e29Sap25164 798eea8e29Sap25164clobber: $(CLOBBER_DEPS) 808eea8e29Sap25164 818eea8e29Sap25164lint: $(LINT_DEPS) 828eea8e29Sap25164 838eea8e29Sap25164modlintlib: $(MODLINTLIB_DEPS) 848eea8e29Sap25164 858eea8e29Sap25164clean.lint: $(CLEAN_LINT_DEPS) 868eea8e29Sap25164 878eea8e29Sap25164install: $(INSTALL_DEPS) 888eea8e29Sap25164 898eea8e29Sap25164# 908eea8e29Sap25164# Include common targets. 918eea8e29Sap25164# 928eea8e29Sap25164include $(UTSBASE)/intel/Makefile.targ 938eea8e29Sap25164 94