Makefile revision fc1821fee2e1f208a4b5ff3e229e97b87979208a
0N/A#
3364N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License, Version 1.0 only
0N/A# (the "License"). You may not use this file except in compliance
0N/A# with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1472N/A#
1472N/A# CDDL HEADER END
1472N/A#
4141N/A#
0N/A# uts/i86pc/gfx_private/Makefile
0N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
0N/A#
0N/A#ident "%Z%%M% %I% %E% SMI"
0N/A#
91N/A# This makefile drives the production of the graphics private
0N/A# interface kernel module.
2080N/A#
0N/A# i86pc platform dependent
0N/A#
0N/A
0N/A#
0N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
0N/A#
0N/AUTSBASE = ../..
1879N/A
0N/A#
1879N/A# Define the module and object file sets.
1879N/A#
0N/AMODULE = gfx_private
0N/AOBJECTS = $(GFX_PRIVATE_OBJS:%=$(OBJS_DIR)/%) $(OBJS_DIR)/$(VGATEXT_FONT).o
3617N/ALINTS = $(GFX_PRIVATE_OBJS:%.o=$(LINTS_DIR)/%.ln)
1010N/AROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE)
1010N/AVGATEXT_FONT = 8859-1
1010N/AVGATEXT_SRC = $(UTSBASE)/intel/io/vgatext
1010N/A
0N/A#
0N/A# dependency
1879N/A#
0N/ALDFLAGS += -dy -Nmisc/pci_autoconfig
0N/A
4141N/A#
1879N/A# Include common rules.
0N/A#
1879N/Ainclude $(UTSBASE)/i86pc/Makefile.i86pc
1879N/A
1879N/A#
1879N/A# Define targets
0N/A#
2790N/AALL_TARGET = $(BINARY)
3364N/ALINT_TARGET = $(MODULE).lint
2790N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
0N/A
0N/A#
2790N/A# Default build targets.
2790N/A#
2790N/A.KEEP_STATE:
2790N/A
2790N/Adef: $(DEF_DEPS)
0N/A
0N/Aall: $(ALL_DEPS)
4141N/A
0N/Aclean: $(CLEAN_DEPS)
0N/A
0N/Aclobber: $(CLOBBER_DEPS)
0N/A
0N/Alint: $(LINT_DEPS)
0N/A
0N/Amodlintlib: $(MODLINTLIB_DEPS)
0N/A
0N/Aclean.lint: $(CLEAN_LINT_DEPS)
0N/A
100N/Ainstall: $(INSTALL_DEPS)
0N/A
0N/A# Custom targets and rules
0N/A
0N/A$(OBJS_DIR)/$(VGATEXT_FONT).c: $(VGATEXT_SRC)/$(VGATEXT_FONT).bdf
3178N/A awk -f $(VGATEXT_SRC)/bdf_to_c.awk \
0N/A $(VGATEXT_SRC)/$(VGATEXT_FONT).bdf > $@
0N/A
0N/A$(OBJS_DIR)/$(VGATEXT_FONT).o: $(OBJS_DIR)/$(VGATEXT_FONT).c
0N/A $(COMPILE.c) -o $@ $<
0N/A $(CTFCONVERT_O)
100N/A
0N/A#
0N/A# Include common targets.
3177N/A#
3177N/Ainclude $(UTSBASE)/i86pc/Makefile.targ
4141N/A