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