2N/A#
2N/A# This file and its contents are supplied under the terms of the
2N/A# Common Development and Distribution License ("CDDL"), version 1.0.
2N/A# You may only use this file in accordance with the terms of version
2N/A# 1.0 of the CDDL.
2N/A#
2N/A# A full copy of the text of the CDDL should have accompanied this
2N/A# source. A copy of the CDDL is also available via the Internet at
2N/A# http://www.illumos.org/license/CDDL.
2N/A#
2N/A
2N/A#
2N/A# Copyright 2016 Garrett D'Amore <garrett@damore.org>
2N/A#
2N/A
2N/AUTSBASE = ../..
2N/A
2N/AMODULE = sfxge
2N/AOBJECTS = $(SFXGE_OBJS:%=$(OBJS_DIR)/%)
2N/AOBJECTS += $(SFXGE_SF_OBJS:%=$(OBJS_DIR)/%)
2N/ALINTS = $(SFXGE_OBJS:%.o=$(LINTS_DIR)/%.ln)
2N/ALINTS += $(SFXGE_SF_OBJS:%.o=$(LINTS_DIR)/%.ln)
2N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
2N/A
2N/Ainclude $(UTSBASE)/intel/Makefile.intel
2N/A
2N/A#
2N/A# Targets
2N/A#
2N/AALL_TARGET = $(BINARY)
2N/ALINT_TARGET = $(MODULE).lint
2N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
2N/A
2N/A#
2N/A# Overrides
2N/A#
2N/A
2N/AINC_PATH += -I$(UTSBASE)/common/io/sfxge -I$(UTSBASE)/common/io/sfxge/common
2N/A
2N/A#
2N/A# TODO:
2N/A# These are specific to this driver. We will unidef these out later.
2N/A# Some of them need further cleanup as well (e.g. we shouldn't bother with
2N/A# supporting NDD directly.)
2N/A#
2N/ACPPFLAGS += -U_USE_MTU_UPDATE
2N/A
2N/ACFLAGS += $(CCVERBOSE)
2N/A
2N/A#
2N/A# Driver depends on GLDv3 (mac)
2N/A#
2N/ALDFLAGS += -dy -N misc/mac
2N/A
2N/A#
2N/A# Default build targets.
2N/A#
2N/A.KEEP_STATE:
2N/A
2N/Adef: $(DEF_DEPS)
2N/A
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ