Makefile revision 7b1019a6d29ccb7999dc76cba3dde1c627e8e609
fefb8b844b6286bfc41bb2e0c4cc003b8e7d4ff2kess# CDDL HEADER START
5f5d1b4cc970b7f06ff8ef6526128e9a27303d88nd# The contents of this file are subject to the terms of the
fefb8b844b6286bfc41bb2e0c4cc003b8e7d4ff2kess# Common Development and Distribution License (the "License").
a3d2b657dd7ca66251b562b6a82c2335135b9172nd# You may not use this file except in compliance with the License.
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding# See the License for the specific language governing permissions
db479b48bd4d75423ed4a45e15b75089d1a8ad72fielding# and limitations under the License.
a3d2b657dd7ca66251b562b6a82c2335135b9172nd# When distributing Covered Code, include this CDDL HEADER in each
a3d2b657dd7ca66251b562b6a82c2335135b9172nd# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a3d2b657dd7ca66251b562b6a82c2335135b9172nd# If applicable, add the following below this CDDL HEADER, with the
a3d2b657dd7ca66251b562b6a82c2335135b9172nd# fields enclosed by brackets "[]" replaced with your own identifying
a3d2b657dd7ca66251b562b6a82c2335135b9172nd# information: Portions Copyright [yyyy] [name of copyright owner]
a3d2b657dd7ca66251b562b6a82c2335135b9172nd# CDDL HEADER END
7db9f691a00ead175b03335457ca296a33ddf31bnd# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
84ef01e0cc5691422370a55f218f43f425d99a9cslive# Use is subject to license terms.
fefb8b844b6286bfc41bb2e0c4cc003b8e7d4ff2kess# Copyright 2016 Joyent, Inc.
fefb8b844b6286bfc41bb2e0c4cc003b8e7d4ff2kess# This makefile drives the production of the ISA nexus driver
15107611640cec4e666dd7e2e1dee15c270e9e98rbowen# i86pc implementation architecture dependent
108426f39b359a29d15207d5c80d315916b31d82poirier# Path to the base of the uts directory tree (usually /usr/src/uts).
108426f39b359a29d15207d5c80d315916b31d82poirier# Define the module and object file sets.
108426f39b359a29d15207d5c80d315916b31d82poirier# Include common rules.
fefb8b844b6286bfc41bb2e0c4cc003b8e7d4ff2kess# Define targets
fefb8b844b6286bfc41bb2e0c4cc003b8e7d4ff2kess$(OBJS_DIR)/isa.o := CERRWARN += -_gcc=-Wno-unused-function
108426f39b359a29d15207d5c80d315916b31d82poirier# lint pass one enforcement
108426f39b359a29d15207d5c80d315916b31d82poirier# Dependency
108426f39b359a29d15207d5c80d315916b31d82poirierLDFLAGS += -dy -Nmisc/acpica -Nmisc/busra -Nmisc/pci_autoconfig
108426f39b359a29d15207d5c80d315916b31d82poirier# Define our version of dma_engine and i8237A interfaces
108426f39b359a29d15207d5c80d315916b31d82poirier$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_init=$(MODULE)_i_dmae_init
108426f39b359a29d15207d5c80d315916b31d82poirier$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_acquire=$(MODULE)_i_dmae_acquire
108426f39b359a29d15207d5c80d315916b31d82poirier$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_free=$(MODULE)_i_dmae_free
108426f39b359a29d15207d5c80d315916b31d82poirier$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_get_best_mode=$(MODULE)_i_dmae_get_best_mode
108426f39b359a29d15207d5c80d315916b31d82poirier$(OBJECTS) $(LINTS) := CPPFLAGS += -D_dmae_nxcookie=$(MODULE)__dmae_nxcookie
108426f39b359a29d15207d5c80d315916b31d82poirier$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_prog=$(MODULE)_i_dmae_prog
108426f39b359a29d15207d5c80d315916b31d82poirier$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_swsetup=$(MODULE)_i_dmae_swsetup
108426f39b359a29d15207d5c80d315916b31d82poirier$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_swsetup=$(MODULE)_i_dmae_swsetup
108426f39b359a29d15207d5c80d315916b31d82poirier$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_swstart=$(MODULE)_i_dmae_swstart
108426f39b359a29d15207d5c80d315916b31d82poirier$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_stop=$(MODULE)_i_dmae_stop
aabcada001e6db5b89699af70abf1f5ff58b11derbowen$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_enable=$(MODULE)_i_dmae_enable
108426f39b359a29d15207d5c80d315916b31d82poirier$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_disable=$(MODULE)_i_dmae_disable
108426f39b359a29d15207d5c80d315916b31d82poirier$(OBJECTS) $(LINTS) := CPPFLAGS += -Di_dmae_get_chan_stat=$(MODULE)_i_dmae_get_chan_stat
860b4efe27e7c1c9a2bf5c872b29c90f76849b51jim$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_init=$(MODULE)_d37A_init
108426f39b359a29d15207d5c80d315916b31d82poirier$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_dma_valid=$(MODULE)_d37A_dma_valid
860b4efe27e7c1c9a2bf5c872b29c90f76849b51jim$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_dma_release=$(MODULE)_d37A_dma_release
108426f39b359a29d15207d5c80d315916b31d82poirier$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_dma_disable=$(MODULE)_d37A_dma_disable
fefb8b844b6286bfc41bb2e0c4cc003b8e7d4ff2kess$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_dma_enable=$(MODULE)_d37A_dma_enable
fefb8b844b6286bfc41bb2e0c4cc003b8e7d4ff2kess$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_get_best_mode=$(MODULE)_d37A_get_best_mode
ffec3e56ff5331a2d732ec07e9d107303fed43f4covener$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_intr=$(MODULE)_d37A_intr
ffec3e56ff5331a2d732ec07e9d107303fed43f4covener$(OBJECTS) $(LINTS) := CPPFLAGS += -DdEISA_setchain=$(MODULE)_dEISA_setchain
ffec3e56ff5331a2d732ec07e9d107303fed43f4covener$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_prog_chan=$(MODULE)_d37A_prog_chan
ffec3e56ff5331a2d732ec07e9d107303fed43f4covener$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_dma_swsetup=$(MODULE)_d37A_dma_swsetup
1696993fbee984b093ae8b823e3ea3fa80eae486covener$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_dma_swstart=$(MODULE)_d37A_dma_swstart
860b4efe27e7c1c9a2bf5c872b29c90f76849b51jim$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_dma_stop=$(MODULE)_d37A_dma_stop
108426f39b359a29d15207d5c80d315916b31d82poirier$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_get_chan_stat=$(MODULE)_d37A_get_chan_stat
108426f39b359a29d15207d5c80d315916b31d82poirier$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_set_mode=$(MODULE)_d37A_set_mode
108426f39b359a29d15207d5c80d315916b31d82poirier$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_write_addr=$(MODULE)_d37A_write_addr
108426f39b359a29d15207d5c80d315916b31d82poirier$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_read_addr=$(MODULE)_d37A_read_addr
108426f39b359a29d15207d5c80d315916b31d82poirier$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_write_count=$(MODULE)_d37A_write_count
fefb8b844b6286bfc41bb2e0c4cc003b8e7d4ff2kess$(OBJECTS) $(LINTS) := CPPFLAGS += -Dd37A_read_count=$(MODULE)_d37A_read_count
108426f39b359a29d15207d5c80d315916b31d82poirier# For now, disable these lint checks; maintainers should endeavor
108426f39b359a29d15207d5c80d315916b31d82poirier# to investigate and remove these for maximum lint coverage.
108426f39b359a29d15207d5c80d315916b31d82poirier# Please do not carry these forward to new Makefiles.
fefb8b844b6286bfc41bb2e0c4cc003b8e7d4ff2kess# Default build targets.
108426f39b359a29d15207d5c80d315916b31d82poirier# Include common targets.