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