xref: /illumos-gate/usr/src/uts/i86pc/gfx_private/Makefile (revision 82d0151a507442720a3aea34c8925041894ab173)
1fc1821feSrugrat#
2fc1821feSrugrat# CDDL HEADER START
3fc1821feSrugrat#
4fc1821feSrugrat# The contents of this file are subject to the terms of the
5bb25c06cSjg# Common Development and Distribution License (the "License").
6bb25c06cSjg# You may not use this file except in compliance with the License.
7fc1821feSrugrat#
8fc1821feSrugrat# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9fc1821feSrugrat# or http://www.opensolaris.org/os/licensing.
10fc1821feSrugrat# See the License for the specific language governing permissions
11fc1821feSrugrat# and limitations under the License.
12fc1821feSrugrat#
13fc1821feSrugrat# When distributing Covered Code, include this CDDL HEADER in each
14fc1821feSrugrat# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15fc1821feSrugrat# If applicable, add the following below this CDDL HEADER, with the
16fc1821feSrugrat# fields enclosed by brackets "[]" replaced with your own identifying
17fc1821feSrugrat# information: Portions Copyright [yyyy] [name of copyright owner]
18fc1821feSrugrat#
19fc1821feSrugrat# CDDL HEADER END
20fc1821feSrugrat#
21fc1821feSrugrat#
22fc1821feSrugrat# uts/i86pc/gfx_private/Makefile
232df1fe9cSrandyf# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
24fc1821feSrugrat# Use is subject to license terms.
257b07063dSIgor Kozhukhov# Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
26fe7a23c8SAndy Fiddaman# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
27fc1821feSrugrat#
287014882cSRichard Lowe
29fc1821feSrugrat#
30fc1821feSrugrat#	i86pc platform dependent
31fc1821feSrugrat#
32fc1821feSrugrat
33fc1821feSrugrat#
34fc1821feSrugrat#	Path to the base of the uts directory tree (usually /usr/src/uts).
35fc1821feSrugrat#
36fc1821feSrugratUTSBASE	= ../..
37fc1821feSrugrat
38fc1821feSrugrat#
39fc1821feSrugrat#	Define the module and object file sets.
40fc1821feSrugrat#
41fc1821feSrugratMODULE		= gfx_private
42898c3fecSToomas SoomeOBJECTS		= $(GFX_PRIVATE_OBJS:%=$(OBJS_DIR)/%)
43fc1821feSrugratROOTMODULE	= $(ROOT_PSM_MISC_DIR)/$(MODULE)
442df1fe9cSrandyfGFXP_VGATEXT	= gfxp_vgatext
452df1fe9cSrandyfGFXP_VGATEXT_SRC	= $(UTSBASE)/i86pc/io/gfx_private
46fc1821feSrugrat
47fc1821feSrugrat#
48fc1821feSrugrat#	dependency
49fc1821feSrugrat#
50*82d0151aSRichard LoweLDFLAGS	+=      -Nmisc/pci_autoconfig
51fc1821feSrugrat
52fc1821feSrugrat#
53fc1821feSrugrat#	Include common rules.
54fc1821feSrugrat#
55fc1821feSrugratinclude $(UTSBASE)/i86pc/Makefile.i86pc
56fc1821feSrugrat
57fc1821feSrugrat#
58fc1821feSrugrat#	Define targets
59fc1821feSrugrat#
60fc1821feSrugratALL_TARGET	= $(BINARY)
61fc1821feSrugratINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
62fc1821feSrugrat
63fc1821feSrugrat#
64fe7a23c8SAndy Fiddaman# For now, disable these checks; maintainers should endeavor
65fe7a23c8SAndy Fiddaman# to investigate and remove these for maximum coverage.
66bb25c06cSjg# Please do not carry these forward to new Makefiles.
67bb25c06cSjg#
68d3b5f563SJohn LevonCERRWARN	+= $(CNOWARN_UNINIT)
697014882cSRichard LoweCERRWARN	+= -_gcc=-Wno-parentheses
707014882cSRichard Lowe
71bb25c06cSjg#
72fc1821feSrugrat#	Default build targets.
73fc1821feSrugrat#
74fc1821feSrugrat.KEEP_STATE:
75fc1821feSrugrat
76fc1821feSrugratdef:		$(DEF_DEPS)
77fc1821feSrugrat
78fc1821feSrugratall:		$(ALL_DEPS)
79fc1821feSrugrat
80fc1821feSrugratclean:		$(CLEAN_DEPS)
81fc1821feSrugrat
82fc1821feSrugratclobber:	$(CLOBBER_DEPS)
83fc1821feSrugrat
84fc1821feSrugratinstall:	$(INSTALL_DEPS)
85fc1821feSrugrat
86fc1821feSrugrat#
87fc1821feSrugrat#	Include common targets.
88fc1821feSrugrat#
89fc1821feSrugratinclude $(UTSBASE)/i86pc/Makefile.targ
90