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