xref: /illumos-gate/usr/src/uts/intel/usb_ia/Makefile (revision 41e0a469)
1d73ae94eSgc#
2d73ae94eSgc# CDDL HEADER START
3d73ae94eSgc#
4d73ae94eSgc# The contents of this file are subject to the terms of the
5d73ae94eSgc# Common Development and Distribution License (the "License").
6d73ae94eSgc# You may not use this file except in compliance with the License.
7d73ae94eSgc#
8d73ae94eSgc# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9d73ae94eSgc# or http://www.opensolaris.org/os/licensing.
10d73ae94eSgc# See the License for the specific language governing permissions
11d73ae94eSgc# and limitations under the License.
12d73ae94eSgc#
13d73ae94eSgc# When distributing Covered Code, include this CDDL HEADER in each
14d73ae94eSgc# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15d73ae94eSgc# If applicable, add the following below this CDDL HEADER, with the
16d73ae94eSgc# fields enclosed by brackets "[]" replaced with your own identifying
17d73ae94eSgc# information: Portions Copyright [yyyy] [name of copyright owner]
18d73ae94eSgc#
19d73ae94eSgc# CDDL HEADER END
20d73ae94eSgc#
21d73ae94eSgc#
22d73ae94eSgc# uts/intel/usb_ia/Makefile
23489b7c4aSRaymond Chen# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
24d73ae94eSgc# Use is subject to license terms.
25d73ae94eSgc#
26e2c88f0cSGarrett D'Amore# Copyright 2014 Garrett D'Amore <garrett@damore.org>
27d73ae94eSgc#
28d73ae94eSgc#	This makefile drives the production of the usb_ia driver kernel module.
29d73ae94eSgc#
30d73ae94eSgc
31d73ae94eSgc#
32d73ae94eSgc#	Path to the base of the uts directory tree (usually /usr/src/uts).
33d73ae94eSgc#
34d73ae94eSgcUTSBASE	= ../..
35d73ae94eSgc
36d73ae94eSgc#
37d73ae94eSgc#	Define the module and object file sets.
38d73ae94eSgc#
39d73ae94eSgcMODULE		= usb_ia
40d73ae94eSgcOBJECTS		= $(USB_IA_OBJS:%=$(OBJS_DIR)/%)
41d73ae94eSgcROOTMODULE	= $(ROOT_DRV_DIR)/$(MODULE)
42d73ae94eSgc
43d73ae94eSgc#
44d73ae94eSgc#	Include common rules.
45d73ae94eSgc#
46d73ae94eSgcinclude $(UTSBASE)/intel/Makefile.intel
47d73ae94eSgc
48d73ae94eSgc#
49d73ae94eSgc#	Define targets
50d73ae94eSgc#
51d73ae94eSgcALL_TARGET	= $(BINARY)
52d73ae94eSgcINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
53d73ae94eSgc
54d73ae94eSgc#
55d73ae94eSgc# depends on misc/usba
56d73ae94eSgc#
57*82d0151aSRichard LoweLDFLAGS         += -Nmisc/usba
58d73ae94eSgc
59d73ae94eSgc#
60d73ae94eSgc#	Default build targets.
61d73ae94eSgc#
62d73ae94eSgc.KEEP_STATE:
63d73ae94eSgc
64d73ae94eSgcdef:		$(DEF_DEPS)
65d73ae94eSgc
66d73ae94eSgcall:		$(ALL_DEPS)
67d73ae94eSgc
68d73ae94eSgcclean:		$(CLEAN_DEPS)
69d73ae94eSgc
70d73ae94eSgcclobber:	$(CLOBBER_DEPS)
71d73ae94eSgc
72d73ae94eSgcinstall:	$(INSTALL_DEPS)
73d73ae94eSgc
74d73ae94eSgc#
75d73ae94eSgc#	Include common targets.
76d73ae94eSgc#
77d73ae94eSgcinclude $(UTSBASE)/intel/Makefile.targ
78