14de26129Sxs156463# 24de26129Sxs156463# CDDL HEADER START 34de26129Sxs156463# 44de26129Sxs156463# The contents of this file are subject to the terms of the 5bb25c06cSjg# Common Development and Distribution License (the "License"). 6bb25c06cSjg# You may not use this file except in compliance with the License. 74de26129Sxs156463# 84de26129Sxs156463# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 94de26129Sxs156463# or http://www.opensolaris.org/os/licensing. 104de26129Sxs156463# See the License for the specific language governing permissions 114de26129Sxs156463# and limitations under the License. 124de26129Sxs156463# 134de26129Sxs156463# When distributing Covered Code, include this CDDL HEADER in each 144de26129Sxs156463# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 154de26129Sxs156463# If applicable, add the following below this CDDL HEADER, with the 164de26129Sxs156463# fields enclosed by brackets "[]" replaced with your own identifying 174de26129Sxs156463# information: Portions Copyright [yyyy] [name of copyright owner] 184de26129Sxs156463# 194de26129Sxs156463# CDDL HEADER END 204de26129Sxs156463# 214de26129Sxs156463# 224de26129Sxs156463# uts/intel/usbsprl/Makefile 23489b7c4aSRaymond Chen# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 244de26129Sxs156463# Use is subject to license terms. 254de26129Sxs156463# 26e2c88f0cSGarrett D'Amore# Copyright 2014 Garrett D'Amore <garrett@damore.org> 274de26129Sxs156463# 284ebb14b2Sfrits# This makefile drives the production of the Prolific USB Serial 294de26129Sxs156463# Adapter driver. 304de26129Sxs156463# 314de26129Sxs156463# Path to the base of the uts directory tree (usually /usr/src/uts). 324de26129Sxs156463# 334de26129Sxs156463UTSBASE = ../.. 344de26129Sxs156463 354de26129Sxs156463# 364de26129Sxs156463# Define the module and object file sets. 374de26129Sxs156463# 384de26129Sxs156463MODULE = usbsprl 394de26129Sxs156463OBJECTS = $(USBSPRL_OBJS:%=$(OBJS_DIR)/%) 404de26129Sxs156463ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 414de26129Sxs156463 424de26129Sxs156463# 434de26129Sxs156463# Include common rules. 444de26129Sxs156463# 454de26129Sxs156463include $(UTSBASE)/intel/Makefile.intel 464de26129Sxs156463 47d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT) 487014882cSRichard Lowe 49*82d0151aSRichard LoweLDFLAGS += -Nmisc/usba -Nmisc/usbser 504de26129Sxs156463 514de26129Sxs156463# 524de26129Sxs156463# Define targets 534de26129Sxs156463# 544de26129Sxs156463ALL_TARGET = $(BINARY) 554de26129Sxs156463INSTALL_TARGET = $(BINARY) $(ROOTMODULE) 564de26129Sxs156463 574de26129Sxs156463.KEEP_STATE: 584de26129Sxs156463 594de26129Sxs156463all: $(ALL_DEPS) 604de26129Sxs156463 614de26129Sxs156463def: $(DEF_DEPS) 624de26129Sxs156463 634de26129Sxs156463clean: $(CLEAN_DEPS) 644de26129Sxs156463 654de26129Sxs156463clobber: $(CLOBBER_DEPS) 664de26129Sxs156463 674de26129Sxs156463install: $(INSTALL_DEPS) 684de26129Sxs156463 694de26129Sxs156463# 704de26129Sxs156463# Include common targets. 714de26129Sxs156463# 724de26129Sxs156463include $(UTSBASE)/intel/Makefile.targ 73