xref: /titanic_44/usr/src/uts/sparc/dcam1394/Makefile (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
18eea8e29Sap25164#
28eea8e29Sap25164# CDDL HEADER START
38eea8e29Sap25164#
48eea8e29Sap25164# The contents of this file are subject to the terms of the
58eea8e29Sap25164# Common Development and Distribution License, Version 1.0 only
68eea8e29Sap25164# (the "License").  You may not use this file except in compliance
78eea8e29Sap25164# with the License.
88eea8e29Sap25164#
98eea8e29Sap25164# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
108eea8e29Sap25164# or http://www.opensolaris.org/os/licensing.
118eea8e29Sap25164# See the License for the specific language governing permissions
128eea8e29Sap25164# and limitations under the License.
138eea8e29Sap25164#
148eea8e29Sap25164# When distributing Covered Code, include this CDDL HEADER in each
158eea8e29Sap25164# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
168eea8e29Sap25164# If applicable, add the following below this CDDL HEADER, with the
178eea8e29Sap25164# fields enclosed by brackets "[]" replaced with your own identifying
188eea8e29Sap25164# information: Portions Copyright [yyyy] [name of copyright owner]
198eea8e29Sap25164#
208eea8e29Sap25164# CDDL HEADER END
218eea8e29Sap25164#
228eea8e29Sap25164#
238eea8e29Sap25164# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
248eea8e29Sap25164# Use is subject to license terms.
258eea8e29Sap25164#
268eea8e29Sap25164
278eea8e29Sap25164#
288eea8e29Sap25164#	Path to the base of the uts directory tree.
298eea8e29Sap25164#
308eea8e29Sap25164UTSBASE	= ../..
318eea8e29Sap25164
328eea8e29Sap25164#
338eea8e29Sap25164#	Define the module and object file sets.
348eea8e29Sap25164#
358eea8e29Sap25164MODULE		= dcam1394
368eea8e29Sap25164OBJECTS		= $(DCAM1394_OBJS:%=$(OBJS_DIR)/%)
378eea8e29Sap25164LINTS		= $(DCAM1394_OBJS:%.o=$(LINTS_DIR)/%.ln)
388eea8e29Sap25164ROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
398eea8e29Sap25164
408eea8e29Sap25164#
418eea8e29Sap25164#	Include common rules.
428eea8e29Sap25164#
438eea8e29Sap25164include $(UTSBASE)/sparc/Makefile.sparc
448eea8e29Sap25164
458eea8e29Sap25164#
468eea8e29Sap25164#	Define targets
478eea8e29Sap25164#
488eea8e29Sap25164ALL_TARGET	= $(BINARY)
498eea8e29Sap25164LINT_TARGET	= $(MODULE).lint
508eea8e29Sap25164INSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
518eea8e29Sap25164
528eea8e29Sap25164#
538eea8e29Sap25164#       Overrides
548eea8e29Sap25164#
558eea8e29Sap25164ALL_BUILDS	= $(ALL_BUILDSONLY64)
568eea8e29Sap25164DEF_BUILDS	= $(DEF_BUILDSONLY64)
578eea8e29Sap25164CLEANLINTFILES	+= $(LINT32_FILES)
588eea8e29Sap25164
598eea8e29Sap25164#
608eea8e29Sap25164# lint pass one enforcement
618eea8e29Sap25164#
628eea8e29Sap25164CFLAGS += $(CCVERBOSE)
638eea8e29Sap25164
648eea8e29Sap25164#
658eea8e29Sap25164# depends on misc/s1394
668eea8e29Sap25164LDFLAGS		+= -dy -Nmisc/s1394
678eea8e29Sap25164
68*7014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-parentheses
69*7014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-uninitialized
70*7014882cSRichard Lowe
718eea8e29Sap25164#	Default build targets.
728eea8e29Sap25164#
738eea8e29Sap25164.KEEP_STATE:
748eea8e29Sap25164
758eea8e29Sap25164def:		$(DEF_DEPS)
768eea8e29Sap25164
778eea8e29Sap25164all:		$(ALL_DEPS)
788eea8e29Sap25164
798eea8e29Sap25164clean:		$(CLEAN_DEPS)
808eea8e29Sap25164
818eea8e29Sap25164clobber:	$(CLOBBER_DEPS)
828eea8e29Sap25164
838eea8e29Sap25164lint:		$(LINT_DEPS)
848eea8e29Sap25164
858eea8e29Sap25164modlintlib:	$(MODLINTLIB_DEPS) lint32
868eea8e29Sap25164
878eea8e29Sap25164clean.lint:	$(CLEAN_LINT_DEPS)
888eea8e29Sap25164
898eea8e29Sap25164install:	$(INSTALL_DEPS)
908eea8e29Sap25164
918eea8e29Sap25164#
928eea8e29Sap25164#	Include common targets.
938eea8e29Sap25164#
948eea8e29Sap25164include $(UTSBASE)/sparc/Makefile.targ
958eea8e29Sap25164
96