xref: /titanic_44/usr/src/uts/intel/rdsib/Makefile (revision b86efd96f8acd85ddaa930a2f0c1d664237e4aaf)
1*b86efd96Sagiri#
2*b86efd96Sagiri# CDDL HEADER START
3*b86efd96Sagiri#
4*b86efd96Sagiri# The contents of this file are subject to the terms of the
5*b86efd96Sagiri# Common Development and Distribution License (the "License").
6*b86efd96Sagiri# You may not use this file except in compliance with the License.
7*b86efd96Sagiri#
8*b86efd96Sagiri# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*b86efd96Sagiri# or http://www.opensolaris.org/os/licensing.
10*b86efd96Sagiri# See the License for the specific language governing permissions
11*b86efd96Sagiri# and limitations under the License.
12*b86efd96Sagiri#
13*b86efd96Sagiri# When distributing Covered Code, include this CDDL HEADER in each
14*b86efd96Sagiri# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*b86efd96Sagiri# If applicable, add the following below this CDDL HEADER, with the
16*b86efd96Sagiri# fields enclosed by brackets "[]" replaced with your own identifying
17*b86efd96Sagiri# information: Portions Copyright [yyyy] [name of copyright owner]
18*b86efd96Sagiri#
19*b86efd96Sagiri# CDDL HEADER END
20*b86efd96Sagiri#
21*b86efd96Sagiri#
22*b86efd96Sagiri# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23*b86efd96Sagiri# Use is subject to license terms.
24*b86efd96Sagiri#
25*b86efd96Sagiri#ident	"%Z%%M%	%I%	%E% SMI"
26*b86efd96Sagiri#
27*b86efd96Sagiri#
28*b86efd96Sagiri
29*b86efd96Sagiri#
30*b86efd96Sagiri#	Path to the base of the uts directory tree (usually /usr/src/uts).
31*b86efd96Sagiri#
32*b86efd96SagiriUTSBASE	= ../..
33*b86efd96Sagiri
34*b86efd96Sagiri#
35*b86efd96Sagiri#	Define the module and object file sets.
36*b86efd96Sagiri#
37*b86efd96SagiriMODULE		= rdsib
38*b86efd96SagiriOBJECTS		= $(RDSIB_OBJS:%=$(OBJS_DIR)/%)
39*b86efd96SagiriLINTS		= $(RDSIB_OBJS:%.o=$(LINTS_DIR)/%.ln)
40*b86efd96SagiriROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
41*b86efd96SagiriLDFLAGS		+= -dy -Ndrv/rds -Nmisc/ibtl -Nmisc/ibcm
42*b86efd96SagiriCONF_SRCDIR	= $(UTSBASE)/common/io/ib/clients/rds
43*b86efd96Sagiri#
44*b86efd96Sagiri#	Include common rules.
45*b86efd96Sagiri#
46*b86efd96Sagiriinclude $(UTSBASE)/intel/Makefile.intel
47*b86efd96Sagiri
48*b86efd96Sagiri#
49*b86efd96Sagiri#	Define targets
50*b86efd96Sagiri#
51*b86efd96SagiriALL_TARGET	= $(BINARY) $(SRC_CONFILE)
52*b86efd96SagiriLINT_TARGET	= $(MODULE).lint
53*b86efd96SagiriINSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
54*b86efd96Sagiri
55*b86efd96Sagiri#
56*b86efd96Sagiri#	Default build targets.
57*b86efd96Sagiri#
58*b86efd96Sagiri.KEEP_STATE:
59*b86efd96Sagiri
60*b86efd96Sagiridef:		$(DEF_DEPS)
61*b86efd96Sagiri
62*b86efd96Sagiriall:		$(ALL_DEPS)
63*b86efd96Sagiri
64*b86efd96Sagiriclean:		$(CLEAN_DEPS)
65*b86efd96Sagiri
66*b86efd96Sagiriclobber:	$(CLOBBER_DEPS)
67*b86efd96Sagiri
68*b86efd96Sagirilint:		$(LINT_DEPS)
69*b86efd96Sagiri
70*b86efd96Sagirimodlintlib:	$(MODLINTLIB_DEPS)
71*b86efd96Sagiri
72*b86efd96Sagiriclean.lint:	$(CLEAN_LINT_DEPS)
73*b86efd96Sagiri
74*b86efd96Sagiriinstall:	$(INSTALL_DEPS)
75*b86efd96Sagiri
76*b86efd96Sagiri#
77*b86efd96Sagiri#	Include common targets.
78*b86efd96Sagiri#
79*b86efd96Sagiriinclude $(UTSBASE)/intel/Makefile.targ
80*b86efd96Sagiri
81