117169044Sbrutus# 217169044Sbrutus# CDDL HEADER START 317169044Sbrutus# 417169044Sbrutus# The contents of this file are subject to the terms of the 517169044Sbrutus# Common Development and Distribution License (the "License"). 617169044Sbrutus# You may not use this file except in compliance with the License. 717169044Sbrutus# 817169044Sbrutus# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 917169044Sbrutus# or http://www.opensolaris.org/os/licensing. 1017169044Sbrutus# See the License for the specific language governing permissions 1117169044Sbrutus# and limitations under the License. 1217169044Sbrutus# 1317169044Sbrutus# When distributing Covered Code, include this CDDL HEADER in each 1417169044Sbrutus# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1517169044Sbrutus# If applicable, add the following below this CDDL HEADER, with the 1617169044Sbrutus# fields enclosed by brackets "[]" replaced with your own identifying 1717169044Sbrutus# information: Portions Copyright [yyyy] [name of copyright owner] 1817169044Sbrutus# 1917169044Sbrutus# CDDL HEADER END 2017169044Sbrutus# 2117169044Sbrutus# 2217169044Sbrutus# uts/i86pc/ioat/Makefile 2317169044Sbrutus# 2417169044Sbrutus# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 2517169044Sbrutus# Use is subject to license terms. 2617169044Sbrutus# 27fe7a23c8SAndy Fiddaman# Copyright 2019 OmniOS Community Edition (OmniOSce) Association. 28fe7a23c8SAndy Fiddaman# 297014882cSRichard Lowe 3017169044Sbrutus# 3117169044Sbrutus# This makefile drives the production of the ioat driver kernel 3217169044Sbrutus# module. 3317169044Sbrutus# 3417169044Sbrutus 3517169044Sbrutus# 3617169044Sbrutus# Path to the base of the uts directory tree (usually /usr/src/uts). 3717169044Sbrutus# 3817169044SbrutusUTSBASE = ../.. 3917169044Sbrutus 4017169044Sbrutus# 4117169044Sbrutus# Define the module and object file sets. 4217169044Sbrutus# 4317169044SbrutusMODULE = ioat 4417169044SbrutusOBJECTS = $(IOAT_OBJS:%=$(OBJS_DIR)/%) 4517169044SbrutusROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE) 4617169044SbrutusCONF_SRCDIR = $(UTSBASE)/i86pc/io/ioat 4717169044Sbrutus 4817169044Sbrutus# 4917169044Sbrutus# Include common rules. 5017169044Sbrutus# 5117169044Sbrutusinclude $(UTSBASE)/i86pc/Makefile.i86pc 5217169044Sbrutus 5317169044Sbrutus# 5417169044Sbrutus# Define targets 5517169044Sbrutus# 5617169044SbrutusALL_TARGET = $(BINARY) $(SRC_CONFILE) 5717169044SbrutusINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 5817169044Sbrutus 597014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-label 60d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT) 617014882cSRichard Lowe 6217169044Sbrutus# 6317169044Sbrutus# Dependency 6417169044Sbrutus# 65*82d0151aSRichard LoweLDFLAGS += -Nmisc/dcopy 6617169044Sbrutus 6717169044Sbrutus# 6817169044Sbrutus# Default build targets. 6917169044Sbrutus# 7017169044Sbrutus.KEEP_STATE: 7117169044Sbrutus 7217169044Sbrutusdef: $(DEF_DEPS) 7317169044Sbrutus 7417169044Sbrutusall: $(ALL_DEPS) 7517169044Sbrutus 7617169044Sbrutusclean: $(CLEAN_DEPS) 7717169044Sbrutus 7817169044Sbrutusclobber: $(CLOBBER_DEPS) 7917169044Sbrutus 8017169044Sbrutusinstall: $(INSTALL_DEPS) 8117169044Sbrutus 8217169044Sbrutus# 8317169044Sbrutus# Include common targets. 8417169044Sbrutus# 8517169044Sbrutusinclude $(UTSBASE)/i86pc/Makefile.targ 8617169044Sbrutus 87