18eea8e29Sap25164# 28eea8e29Sap25164# CDDL HEADER START 38eea8e29Sap25164# 48eea8e29Sap25164# The contents of this file are subject to the terms of the 5bb25c06cSjg# Common Development and Distribution License (the "License"). 6bb25c06cSjg# 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# 22bb25c06cSjg# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 238eea8e29Sap25164# Use is subject to license terms. 248eea8e29Sap25164# 258eea8e29Sap25164 268eea8e29Sap25164# 278eea8e29Sap25164# Path to the base of the uts directory tree (usually /usr/src/uts). 288eea8e29Sap25164# 298eea8e29Sap25164UTSBASE = ../.. 308eea8e29Sap25164 318eea8e29Sap25164# 328eea8e29Sap25164# Define the module and object file sets. 338eea8e29Sap25164# 348eea8e29Sap25164MODULE = dcam1394 358eea8e29Sap25164OBJECTS = $(DCAM1394_OBJS:%=$(OBJS_DIR)/%) 368eea8e29Sap25164ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 378eea8e29Sap25164 388eea8e29Sap25164# 398eea8e29Sap25164# Include common rules. 408eea8e29Sap25164# 418eea8e29Sap25164include $(UTSBASE)/intel/Makefile.intel 428eea8e29Sap25164 438eea8e29Sap25164# 448eea8e29Sap25164# Define targets 458eea8e29Sap25164# 468eea8e29Sap25164ALL_TARGET = $(BINARY) 478eea8e29Sap25164INSTALL_TARGET = $(BINARY) $(ROOTMODULE) 488eea8e29Sap25164 498eea8e29Sap25164# 508eea8e29Sap25164# depends on misc/s1394 51*82d0151aSRichard LoweLDFLAGS += -Nmisc/s1394 528eea8e29Sap25164 53bb25c06cSjg# 540aaef2f5SRichard Lowe# For now, disable these warnings; maintainers should endeavor 550aaef2f5SRichard Lowe# to investigate and remove these for maximum coverage. 56bb25c06cSjg# Please do not carry these forward to new Makefiles. 57bb25c06cSjg# 580aaef2f5SRichard LoweCFLAGS += $(CCVERBOSE) 597014882cSRichard LoweCERRWARN += -_gcc=-Wno-parentheses 60d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT) 617014882cSRichard Lowe 628eea8e29Sap25164# Default build targets. 638eea8e29Sap25164# 648eea8e29Sap25164.KEEP_STATE: 658eea8e29Sap25164 668eea8e29Sap25164def: $(DEF_DEPS) 678eea8e29Sap25164 688eea8e29Sap25164all: $(ALL_DEPS) 698eea8e29Sap25164 708eea8e29Sap25164clean: $(CLEAN_DEPS) 718eea8e29Sap25164 728eea8e29Sap25164clobber: $(CLOBBER_DEPS) 738eea8e29Sap25164 748eea8e29Sap25164install: $(INSTALL_DEPS) 758eea8e29Sap25164 768eea8e29Sap25164# 778eea8e29Sap25164# Include common targets. 788eea8e29Sap25164# 798eea8e29Sap25164include $(UTSBASE)/intel/Makefile.targ 808eea8e29Sap25164 81