xref: /illumos-gate/usr/src/uts/intel/sol_umad/Makefile (revision 82d0151a507442720a3aea34c8925041894ab173)
1448bf859SLida.Horn#
2448bf859SLida.Horn# CDDL HEADER START
3448bf859SLida.Horn#
4448bf859SLida.Horn# The contents of this file are subject to the terms of the
5448bf859SLida.Horn# Common Development and Distribution License (the "License").
6448bf859SLida.Horn# You may not use this file except in compliance with the License.
7448bf859SLida.Horn#
8448bf859SLida.Horn# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9448bf859SLida.Horn# or http://www.opensolaris.org/os/licensing.
10448bf859SLida.Horn# See the License for the specific language governing permissions
11448bf859SLida.Horn# and limitations under the License.
12448bf859SLida.Horn#
13448bf859SLida.Horn# When distributing Covered Code, include this CDDL HEADER in each
14448bf859SLida.Horn# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15448bf859SLida.Horn# If applicable, add the following below this CDDL HEADER, with the
16448bf859SLida.Horn# fields enclosed by brackets "[]" replaced with your own identifying
17448bf859SLida.Horn# information: Portions Copyright [yyyy] [name of copyright owner]
18448bf859SLida.Horn#
19448bf859SLida.Horn# CDDL HEADER END
20448bf859SLida.Horn#
21448bf859SLida.Horn
22448bf859SLida.Horn#
23448bf859SLida.Horn# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24448bf859SLida.Horn#
25448bf859SLida.Horn
26448bf859SLida.Horn#
27448bf859SLida.Horn#	Paths to the base of the uts directory trees
28448bf859SLida.Horn#
29448bf859SLida.HornUTSBASE = ../..
30448bf859SLida.Horn
31448bf859SLida.Horn#
32448bf859SLida.Horn#	Define the module and object file sets.
33448bf859SLida.Horn#
34448bf859SLida.HornMODULE		= sol_umad
35448bf859SLida.HornOBJECTS		= $(SOL_UMAD_OBJS:%=$(OBJS_DIR)/%)
36448bf859SLida.HornROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
37448bf859SLida.HornCONF_SRCDIR	= $(UTSBASE)/common/io/ib/clients/of/sol_umad
38*82d0151aSRichard LoweLDFLAGS		+= -Nmisc/sol_ofs -Nmisc/ibmf -Nmisc/ibtl
39448bf859SLida.Horn#
40448bf859SLida.Horn#	Include common rules.
41448bf859SLida.Horn#
42448bf859SLida.Horninclude $(UTSBASE)/intel/Makefile.intel
43448bf859SLida.Horn
44d3b5f563SJohn LevonCERRWARN	+= $(CNOWARN_UNINIT)
45448bf859SLida.Horn
46448bf859SLida.Horn#
47448bf859SLida.Horn#	Define targets
48448bf859SLida.Horn#
49448bf859SLida.HornALL_TARGET	= $(BINARY) $(SRC_CONFILE)
50448bf859SLida.HornINSTALL_TARGET	= $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
51448bf859SLida.Horn
52448bf859SLida.Horn#
53448bf859SLida.Horn# path for header files
54448bf859SLida.Horn#
55448bf859SLida.HornINCLUDE_PATH += -I$(UTSBASE)/common/sys/ib/clients/of/sol_umad
56448bf859SLida.Horn
57448bf859SLida.Horn
58448bf859SLida.Horn
59448bf859SLida.Horn#
60448bf859SLida.Horn#	Default build targets.
61448bf859SLida.Horn#
62448bf859SLida.Horn.KEEP_STATE:
63448bf859SLida.Horn
64448bf859SLida.Horndef:		$(DEF_DEPS)
65448bf859SLida.Horn
66448bf859SLida.Hornall:		$(ALL_DEPS)
67448bf859SLida.Horn
68448bf859SLida.Hornclean:		$(CLEAN_DEPS)
69448bf859SLida.Horn
70448bf859SLida.Hornclobber:	$(CLOBBER_DEPS)
71448bf859SLida.Horn
72448bf859SLida.Horninstall:	$(INSTALL_DEPS)
73448bf859SLida.Horn
74448bf859SLida.Horn#
75448bf859SLida.Horn#	Include common targets.
76448bf859SLida.Horn#
77448bf859SLida.Horninclude $(UTSBASE)/intel/Makefile.targ
78