xref: /titanic_44/usr/src/uts/intel/dcam1394/Makefile (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
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)/%)
368eea8e29Sap25164LINTS           = $(DCAM1394_OBJS:%.o=$(LINTS_DIR)/%.ln)
378eea8e29Sap25164ROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
388eea8e29Sap25164
398eea8e29Sap25164#
408eea8e29Sap25164#	Include common rules.
418eea8e29Sap25164#
428eea8e29Sap25164include $(UTSBASE)/intel/Makefile.intel
438eea8e29Sap25164
448eea8e29Sap25164#
458eea8e29Sap25164#	Define targets
468eea8e29Sap25164#
478eea8e29Sap25164ALL_TARGET	= $(BINARY)
488eea8e29Sap25164LINT_TARGET	= $(MODULE).lint
498eea8e29Sap25164INSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
508eea8e29Sap25164
518eea8e29Sap25164#
528eea8e29Sap25164# lint pass one enforcement
538eea8e29Sap25164#
54bb25c06cSjgCFLAGS += $(CCVERBOSE)
558eea8e29Sap25164
568eea8e29Sap25164#
578eea8e29Sap25164# depends on misc/s1394
588eea8e29Sap25164LDFLAGS		+= -dy -Nmisc/s1394
598eea8e29Sap25164
60bb25c06cSjg#
61bb25c06cSjg# For now, disable these lint checks; maintainers should endeavor
62bb25c06cSjg# to investigate and remove these for maximum lint coverage.
63bb25c06cSjg# Please do not carry these forward to new Makefiles.
64bb25c06cSjg#
65bb25c06cSjgLINTTAGS	+= -erroff=E_SUSPICIOUS_COMPARISON
66bb25c06cSjg
67*7014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-parentheses
68*7014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-uninitialized
69*7014882cSRichard Lowe
708eea8e29Sap25164#	Default build targets.
718eea8e29Sap25164#
728eea8e29Sap25164.KEEP_STATE:
738eea8e29Sap25164
748eea8e29Sap25164def:		$(DEF_DEPS)
758eea8e29Sap25164
768eea8e29Sap25164all:		$(ALL_DEPS)
778eea8e29Sap25164
788eea8e29Sap25164clean:		$(CLEAN_DEPS)
798eea8e29Sap25164
808eea8e29Sap25164clobber:	$(CLOBBER_DEPS)
818eea8e29Sap25164
828eea8e29Sap25164lint:		$(LINT_DEPS)
838eea8e29Sap25164
848eea8e29Sap25164modlintlib:	$(MODLINTLIB_DEPS)
858eea8e29Sap25164
868eea8e29Sap25164clean.lint:	$(CLEAN_LINT_DEPS)
878eea8e29Sap25164
888eea8e29Sap25164install:	$(INSTALL_DEPS)
898eea8e29Sap25164
908eea8e29Sap25164#
918eea8e29Sap25164#	Include common targets.
928eea8e29Sap25164#
938eea8e29Sap25164include $(UTSBASE)/intel/Makefile.targ
948eea8e29Sap25164
95