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