xref: /illumos-gate/usr/src/uts/intel/vuid3ps2/Makefile (revision 0aaef2f550fa500248f59b0b8a14225b5afbd198)
1ae115bc7Smrj#
2ae115bc7Smrj# CDDL HEADER START
3ae115bc7Smrj#
4ae115bc7Smrj# The contents of this file are subject to the terms of the
5ae115bc7Smrj# Common Development and Distribution License (the "License").
6ae115bc7Smrj# You may not use this file except in compliance with the License.
7ae115bc7Smrj#
8ae115bc7Smrj# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9ae115bc7Smrj# or http://www.opensolaris.org/os/licensing.
10ae115bc7Smrj# See the License for the specific language governing permissions
11ae115bc7Smrj# and limitations under the License.
12ae115bc7Smrj#
13ae115bc7Smrj# When distributing Covered Code, include this CDDL HEADER in each
14ae115bc7Smrj# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15ae115bc7Smrj# If applicable, add the following below this CDDL HEADER, with the
16ae115bc7Smrj# fields enclosed by brackets "[]" replaced with your own identifying
17ae115bc7Smrj# information: Portions Copyright [yyyy] [name of copyright owner]
18ae115bc7Smrj#
19ae115bc7Smrj# CDDL HEADER END
20ae115bc7Smrj#
21ae115bc7Smrj#
22ae115bc7Smrj# uts/intel/vuid3ps2/Makefile
23ae115bc7Smrj#
2422eb7cb5Sgd78059# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
25ae115bc7Smrj# Use is subject to license terms.
26ae115bc7Smrj#
27b6b206fcSJohn Levon# Copyright (c) 2018, Joyent, Inc.
287014882cSRichard Lowe
29ae115bc7Smrj#
30ae115bc7Smrj#	This makefile drives the production of the vuid3ps2 streams kernel
31ae115bc7Smrj#	module.
32ae115bc7Smrj#
33ae115bc7Smrj#	intel architecture dependent
34ae115bc7Smrj#
35ae115bc7Smrj
36ae115bc7Smrj#
37ae115bc7Smrj#	Path to the base of the uts directory tree (usually /usr/src/uts).
38ae115bc7Smrj#
39ae115bc7SmrjUTSBASE	= ../..
40ae115bc7Smrj
41ae115bc7Smrj#
42ae115bc7Smrj#	Define the module and object file sets.
43ae115bc7Smrj#
44ae115bc7SmrjMODULE		= vuid3ps2
45ae115bc7SmrjOBJECTS		= $(VUIDPS2_OBJS:%=$(OBJS_DIR)/%)
46ae115bc7SmrjROOTMODULE	= $(ROOT_STRMOD_DIR)/$(MODULE)
47ae115bc7Smrj
48ae115bc7Smrj#
49ae115bc7Smrj#	Include common rules.
50ae115bc7Smrj#
51ae115bc7Smrjinclude $(UTSBASE)/intel/Makefile.intel
52ae115bc7Smrj
53*d3b5f563SJohn LevonCERRWARN	+= $(CNOWARN_UNINIT)
547014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-parentheses
557014882cSRichard Lowe
56b6b206fcSJohn Levon# needs work
57b6b206fcSJohn LevonSMOFF += deref_check
58b6b206fcSJohn Levon
59ae115bc7Smrj#
60ae115bc7Smrj#	Define targets
61ae115bc7Smrj#
62ae115bc7SmrjALL_TARGET	= $(BINARY)
63ae115bc7SmrjINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
64ae115bc7Smrj
65ae115bc7Smrj#
66ae115bc7Smrj#	Overrides.
67ae115bc7Smrj#
68ae115bc7SmrjALL_DEFS	+= -DVUID3PS2
69ae115bc7Smrj
70ae115bc7Smrj#
71ae115bc7Smrj#	Default build targets.
72ae115bc7Smrj#
73ae115bc7Smrj.KEEP_STATE:
74ae115bc7Smrj
75ae115bc7Smrjdef:		$(DEF_DEPS)
76ae115bc7Smrj
77ae115bc7Smrjall:		$(ALL_DEPS)
78ae115bc7Smrj
79ae115bc7Smrjclean:		$(CLEAN_DEPS)
80ae115bc7Smrj
81ae115bc7Smrjclobber:	$(CLOBBER_DEPS)
82ae115bc7Smrj
83ae115bc7Smrjinstall:	$(INSTALL_DEPS)
84ae115bc7Smrj
85ae115bc7Smrj#
86ae115bc7Smrj#	Include common targets.
87ae115bc7Smrj#
88ae115bc7Smrjinclude $(UTSBASE)/intel/Makefile.targ
89