160b08185Syz147069# 260b08185Syz147069# CDDL HEADER START 360b08185Syz147069# 460b08185Syz147069# The contents of this file are subject to the terms of the 5*bb25c06cSjg# Common Development and Distribution License (the "License"). 6*bb25c06cSjg# You may not use this file except in compliance with the License. 760b08185Syz147069# 860b08185Syz147069# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 960b08185Syz147069# or http://www.opensolaris.org/os/licensing. 1060b08185Syz147069# See the License for the specific language governing permissions 1160b08185Syz147069# and limitations under the License. 1260b08185Syz147069# 1360b08185Syz147069# When distributing Covered Code, include this CDDL HEADER in each 1460b08185Syz147069# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1560b08185Syz147069# If applicable, add the following below this CDDL HEADER, with the 1660b08185Syz147069# fields enclosed by brackets "[]" replaced with your own identifying 1760b08185Syz147069# information: Portions Copyright [yyyy] [name of copyright owner] 1860b08185Syz147069# 1960b08185Syz147069# CDDL HEADER END 2060b08185Syz147069# 2160b08185Syz147069# 2260b08185Syz147069# 23*bb25c06cSjg# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 2460b08185Syz147069# Use is subject to license terms. 2560b08185Syz147069# 2660b08185Syz147069# uts/intel/usbsksp/Makefile 2760b08185Syz147069 28*bb25c06cSjg#ident "%Z%%M% %I% %E% SMI" 2960b08185Syz147069# 3060b08185Syz147069# This makefile drives the production of the Keyspan USB Serial 3160b08185Syz147069# Adapter driver. 3260b08185Syz147069# 3360b08185Syz147069# Path to the base of the uts directory tree (usually /usr/src/uts). 3460b08185Syz147069# 3560b08185Syz147069UTSBASE = ../.. 3660b08185Syz147069 3760b08185Syz147069# 3860b08185Syz147069# Define the module and object file sets. 3960b08185Syz147069# 4060b08185Syz147069MODULE = usbsksp 4160b08185Syz147069OBJECTS = $(USBSER_KEYSPAN_OBJS:%=$(OBJS_DIR)/%) 4260b08185Syz147069LINTS = $(USBSER_KEYSPAN_OBJS:%.o=$(LINTS_DIR)/%.ln) 4360b08185Syz147069ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 4460b08185Syz147069 4560b08185Syz147069# 4660b08185Syz147069# Include common rules. 4760b08185Syz147069# 4860b08185Syz147069include $(UTSBASE)/intel/Makefile.intel 4960b08185Syz147069 50c138f478Syz147069LDFLAGS += -dy -Nmisc/usba -Nmisc/usbser -Nmisc/usbs49_fw 5160b08185Syz147069 5260b08185Syz147069# 5360b08185Syz147069# Define targets 5460b08185Syz147069# 5560b08185Syz147069ALL_TARGET = $(BINARY) 5660b08185Syz147069LINT_TARGET = $(MODULE).lint 5760b08185Syz147069INSTALL_TARGET = $(BINARY) $(ROOTMODULE) 5860b08185Syz147069 59*bb25c06cSjg# 60*bb25c06cSjg# For now, disable these lint checks; maintainers should endeavor 61*bb25c06cSjg# to investigate and remove these for maximum lint coverage. 62*bb25c06cSjg# Please do not carry these forward to new Makefiles. 63*bb25c06cSjg# 64*bb25c06cSjgLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW 65*bb25c06cSjgLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV 66*bb25c06cSjg 6760b08185Syz147069.KEEP_STATE: 6860b08185Syz147069 6960b08185Syz147069all: $(ALL_DEPS) 7060b08185Syz147069 7160b08185Syz147069def: $(DEF_DEPS) 7260b08185Syz147069 7360b08185Syz147069clean: $(CLEAN_DEPS); 7460b08185Syz147069 7560b08185Syz147069clobber: $(CLOBBER_DEPS); 7660b08185Syz147069 7760b08185Syz147069lint: $(LINT_DEPS) 7860b08185Syz147069 7960b08185Syz147069modlintlib: $(MODLINTLIB_DEPS) 8060b08185Syz147069 8160b08185Syz147069clean.lint: $(CLEAN_LINT_DEPS) 8260b08185Syz147069 8360b08185Syz147069install: $(INSTALL_DEPS) 8460b08185Syz147069 8560b08185Syz147069# 8660b08185Syz147069# Include common targets. 8760b08185Syz147069# 8860b08185Syz147069include $(UTSBASE)/intel/Makefile.targ 89