1# 2# This file and its contents are supplied under the terms of the 3# Common Development and Distribution License ("CDDL"), version 1.0. 4# You may only use this file in accordance with the terms of version 5# 1.0 of the CDDL. 6# 7# A full copy of the text of the CDDL should have accompanied this 8# source. A copy of the CDDL is also available via the Internet at 9# http://www.illumos.org/license/CDDL. 10# 11 12# 13# Copyright 2016 Garrett D'Amore <garrett@damore.org> 14# 15 16UTSBASE = ../.. 17 18MODULE = sfxge 19OBJECTS = $(SFXGE_OBJS:%=$(OBJS_DIR)/%) 20OBJECS += $(SFXGE_SF_OBJS:%=$(OBJS_DIR)/%) 21LINTS = $(SFXGE_OBJS:%.o=$(LINTS_DIR)/%.ln) 22LINTS += $(SFXGE_SF_OBJS:%.o=$(LINTS_DIR)/%.ln) 23ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 24 25include $(UTSBASE)/intel/Makefile.intel 26 27# 28# Targets 29# 30ALL_TARGET = $(BINARY) 31LINT_TARGET = $(MODULE).lint 32INSTALL_TARGET = $(BINARY) $(ROOTMODULE) 33 34# 35# Overrides 36# 37 38INC_PATH += -I$(UTSBASE)/common/io/sfxge -I$(UTSBASE)/common/io/sfxge/common 39 40# 41# TODO: 42# These are specific to this driver. We will unidef these out later. 43# Some of them need further cleanup as well (e.g. we shouldn't bother with 44# supporting NDD directly.) 45# 46CPPFLAGS += -U_USE_MTU_UPDATE 47 48CFLAGS += $(CCVERBOSE) 49 50# 51# Driver depends on GLDv3 (mac) 52# 53LDFLAGS += -dy -N misc/mac 54 55# 56# Default build targets. 57# 58.KEEP_STATE: 59 60def: $(DEF_DEPS) 61 62all: $(ALL_DEPS) 63 64clean: $(CLEAN_DEPS) 65 66clobber: $(CLOBBER_DEPS) 67 68lint: $(LINT_DEPS) 69 70modlintlib: $(MODLINTLIB_DEPS) 71 72clean.lint: $(CLEAN_LINT_DEPS) 73 74install: $(INSTALL_DEPS) 75 76# 77# Include common targets. 78# 79include $(UTSBASE)/intel/Makefile.targ 80