1*60b08185Syz147069# 2*60b08185Syz147069# CDDL HEADER START 3*60b08185Syz147069# 4*60b08185Syz147069# The contents of this file are subject to the terms of the 5*60b08185Syz147069# Common Development and Distribution License, Version 1.0 only 6*60b08185Syz147069# (the "License"). You may not use this file except in compliance 7*60b08185Syz147069# with the License. 8*60b08185Syz147069# 9*60b08185Syz147069# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*60b08185Syz147069# or http://www.opensolaris.org/os/licensing. 11*60b08185Syz147069# See the License for the specific language governing permissions 12*60b08185Syz147069# and limitations under the License. 13*60b08185Syz147069# 14*60b08185Syz147069# When distributing Covered Code, include this CDDL HEADER in each 15*60b08185Syz147069# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*60b08185Syz147069# If applicable, add the following below this CDDL HEADER, with the 17*60b08185Syz147069# fields enclosed by brackets "[]" replaced with your own identifying 18*60b08185Syz147069# information: Portions Copyright [yyyy] [name of copyright owner] 19*60b08185Syz147069# 20*60b08185Syz147069# CDDL HEADER END 21*60b08185Syz147069# 22*60b08185Syz147069# 23*60b08185Syz147069# 24*60b08185Syz147069# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 25*60b08185Syz147069# Use is subject to license terms. 26*60b08185Syz147069# 27*60b08185Syz147069# uts/intel/usbsksp/Makefile 28*60b08185Syz147069 29*60b08185Syz147069#pragma ident "%Z%%M% %I% %E% SMI" 30*60b08185Syz147069# 31*60b08185Syz147069# This makefile drives the production of the Keyspan USB Serial 32*60b08185Syz147069# Adapter driver. 33*60b08185Syz147069# 34*60b08185Syz147069# Path to the base of the uts directory tree (usually /usr/src/uts). 35*60b08185Syz147069# 36*60b08185Syz147069UTSBASE = ../.. 37*60b08185Syz147069 38*60b08185Syz147069# 39*60b08185Syz147069# Define the module and object file sets. 40*60b08185Syz147069# 41*60b08185Syz147069MODULE = usbsksp 42*60b08185Syz147069OBJECTS = $(USBSER_KEYSPAN_OBJS:%=$(OBJS_DIR)/%) 43*60b08185Syz147069LINTS = $(USBSER_KEYSPAN_OBJS:%.o=$(LINTS_DIR)/%.ln) 44*60b08185Syz147069ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 45*60b08185Syz147069 46*60b08185Syz147069# 47*60b08185Syz147069# Include common rules. 48*60b08185Syz147069# 49*60b08185Syz147069include $(UTSBASE)/intel/Makefile.intel 50*60b08185Syz147069 51*60b08185Syz147069LDFLAGS += -dy -Nmisc/usba -Nmisc/usbser 52*60b08185Syz147069 53*60b08185Syz147069# 54*60b08185Syz147069# Define targets 55*60b08185Syz147069# 56*60b08185Syz147069ALL_TARGET = $(BINARY) 57*60b08185Syz147069LINT_TARGET = $(MODULE).lint 58*60b08185Syz147069INSTALL_TARGET = $(BINARY) $(ROOTMODULE) 59*60b08185Syz147069 60*60b08185Syz147069.KEEP_STATE: 61*60b08185Syz147069 62*60b08185Syz147069all: $(ALL_DEPS) 63*60b08185Syz147069 64*60b08185Syz147069def: $(DEF_DEPS) 65*60b08185Syz147069 66*60b08185Syz147069clean: $(CLEAN_DEPS); 67*60b08185Syz147069 68*60b08185Syz147069clobber: $(CLOBBER_DEPS); 69*60b08185Syz147069 70*60b08185Syz147069lint: $(LINT_DEPS) 71*60b08185Syz147069 72*60b08185Syz147069modlintlib: $(MODLINTLIB_DEPS) 73*60b08185Syz147069 74*60b08185Syz147069clean.lint: $(CLEAN_LINT_DEPS) 75*60b08185Syz147069 76*60b08185Syz147069install: $(INSTALL_DEPS) 77*60b08185Syz147069 78*60b08185Syz147069# 79*60b08185Syz147069# Include common targets. 80*60b08185Syz147069# 81*60b08185Syz147069include $(UTSBASE)/intel/Makefile.targ 82