xref: /titanic_44/usr/src/uts/sparc/dcam1394/Makefile (revision 8eea8e29cc4374d1ee24c25a07f45af132db3499)
1*8eea8e29Sap25164#
2*8eea8e29Sap25164# CDDL HEADER START
3*8eea8e29Sap25164#
4*8eea8e29Sap25164# The contents of this file are subject to the terms of the
5*8eea8e29Sap25164# Common Development and Distribution License, Version 1.0 only
6*8eea8e29Sap25164# (the "License").  You may not use this file except in compliance
7*8eea8e29Sap25164# with the License.
8*8eea8e29Sap25164#
9*8eea8e29Sap25164# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10*8eea8e29Sap25164# or http://www.opensolaris.org/os/licensing.
11*8eea8e29Sap25164# See the License for the specific language governing permissions
12*8eea8e29Sap25164# and limitations under the License.
13*8eea8e29Sap25164#
14*8eea8e29Sap25164# When distributing Covered Code, include this CDDL HEADER in each
15*8eea8e29Sap25164# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16*8eea8e29Sap25164# If applicable, add the following below this CDDL HEADER, with the
17*8eea8e29Sap25164# fields enclosed by brackets "[]" replaced with your own identifying
18*8eea8e29Sap25164# information: Portions Copyright [yyyy] [name of copyright owner]
19*8eea8e29Sap25164#
20*8eea8e29Sap25164# CDDL HEADER END
21*8eea8e29Sap25164#
22*8eea8e29Sap25164#
23*8eea8e29Sap25164# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
24*8eea8e29Sap25164# Use is subject to license terms.
25*8eea8e29Sap25164#
26*8eea8e29Sap25164#ident	"%Z%%M%	%I%	%E% SMI"
27*8eea8e29Sap25164#
28*8eea8e29Sap25164
29*8eea8e29Sap25164#
30*8eea8e29Sap25164#	Path to the base of the uts directory tree.
31*8eea8e29Sap25164#
32*8eea8e29Sap25164UTSBASE	= ../..
33*8eea8e29Sap25164
34*8eea8e29Sap25164#
35*8eea8e29Sap25164#	Define the module and object file sets.
36*8eea8e29Sap25164#
37*8eea8e29Sap25164MODULE		= dcam1394
38*8eea8e29Sap25164OBJECTS		= $(DCAM1394_OBJS:%=$(OBJS_DIR)/%)
39*8eea8e29Sap25164LINTS		= $(DCAM1394_OBJS:%.o=$(LINTS_DIR)/%.ln)
40*8eea8e29Sap25164ROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
41*8eea8e29Sap25164
42*8eea8e29Sap25164#
43*8eea8e29Sap25164#	Include common rules.
44*8eea8e29Sap25164#
45*8eea8e29Sap25164include $(UTSBASE)/sparc/Makefile.sparc
46*8eea8e29Sap25164
47*8eea8e29Sap25164#
48*8eea8e29Sap25164#	Define targets
49*8eea8e29Sap25164#
50*8eea8e29Sap25164ALL_TARGET	= $(BINARY)
51*8eea8e29Sap25164LINT_TARGET	= $(MODULE).lint
52*8eea8e29Sap25164INSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
53*8eea8e29Sap25164
54*8eea8e29Sap25164#
55*8eea8e29Sap25164#       Overrides
56*8eea8e29Sap25164#
57*8eea8e29Sap25164ALL_BUILDS	= $(ALL_BUILDSONLY64)
58*8eea8e29Sap25164DEF_BUILDS	= $(DEF_BUILDSONLY64)
59*8eea8e29Sap25164CLEANLINTFILES	+= $(LINT32_FILES)
60*8eea8e29Sap25164
61*8eea8e29Sap25164#
62*8eea8e29Sap25164# lint pass one enforcement
63*8eea8e29Sap25164#
64*8eea8e29Sap25164CFLAGS += $(CCVERBOSE)
65*8eea8e29Sap25164
66*8eea8e29Sap25164#
67*8eea8e29Sap25164# depends on misc/s1394
68*8eea8e29Sap25164LDFLAGS		+= -dy -Nmisc/s1394
69*8eea8e29Sap25164
70*8eea8e29Sap25164#	Default build targets.
71*8eea8e29Sap25164#
72*8eea8e29Sap25164.KEEP_STATE:
73*8eea8e29Sap25164
74*8eea8e29Sap25164def:		$(DEF_DEPS)
75*8eea8e29Sap25164
76*8eea8e29Sap25164all:		$(ALL_DEPS)
77*8eea8e29Sap25164
78*8eea8e29Sap25164clean:		$(CLEAN_DEPS)
79*8eea8e29Sap25164
80*8eea8e29Sap25164clobber:	$(CLOBBER_DEPS)
81*8eea8e29Sap25164
82*8eea8e29Sap25164lint:		$(LINT_DEPS)
83*8eea8e29Sap25164
84*8eea8e29Sap25164modlintlib:	$(MODLINTLIB_DEPS) lint32
85*8eea8e29Sap25164
86*8eea8e29Sap25164clean.lint:	$(CLEAN_LINT_DEPS)
87*8eea8e29Sap25164
88*8eea8e29Sap25164install:	$(INSTALL_DEPS)
89*8eea8e29Sap25164
90*8eea8e29Sap25164#
91*8eea8e29Sap25164#	Include common targets.
92*8eea8e29Sap25164#
93*8eea8e29Sap25164include $(UTSBASE)/sparc/Makefile.targ
94*8eea8e29Sap25164
95