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