6716431ba7de213d5c318e58dc24c8a36da9b068Robert Mustacchi# This file and its contents are supplied under the terms of the
6716431ba7de213d5c318e58dc24c8a36da9b068Robert Mustacchi# Common Development and Distribution License ("CDDL"), version 1.0.
6716431ba7de213d5c318e58dc24c8a36da9b068Robert Mustacchi# You may only use this file in accordance with the terms of version
6716431ba7de213d5c318e58dc24c8a36da9b068Robert Mustacchi# 1.0 of the CDDL.
6716431ba7de213d5c318e58dc24c8a36da9b068Robert Mustacchi# A full copy of the text of the CDDL should have accompanied this
6716431ba7de213d5c318e58dc24c8a36da9b068Robert Mustacchi# source. A copy of the CDDL is also available via the Internet at
6716431ba7de213d5c318e58dc24c8a36da9b068Robert Mustacchi# Copyright (c) 2014 Joyent, Inc. All rights reserved.
6716431ba7de213d5c318e58dc24c8a36da9b068Robert Mustacchi# Path to the base of the uts directory tree (usually /usr/src/uts).
6716431ba7de213d5c318e58dc24c8a36da9b068Robert Mustacchi# Define the module and object file sets.
6716431ba7de213d5c318e58dc24c8a36da9b068Robert MustacchiLINTS = $(USBGEM_OBJS:%.o=$(LINTS_DIR)/%.ln)
6716431ba7de213d5c318e58dc24c8a36da9b068Robert Mustacchi# Include common rules.
6716431ba7de213d5c318e58dc24c8a36da9b068Robert Mustacchi# The USBGEM has support for various different features. We use
6716431ba7de213d5c318e58dc24c8a36da9b068Robert Mustacchi# these pre-processor macros to define the set we care about.
6716431ba7de213d5c318e58dc24c8a36da9b068Robert MustacchiLINTTAGS += -erroff=E_FUNC_RET_MAYBE_IGNORED2
6716431ba7de213d5c318e58dc24c8a36da9b068Robert MustacchiLINTTAGS += -erroff=E_FUNC_RET_ALWAYS_IGNOR2
6716431ba7de213d5c318e58dc24c8a36da9b068Robert MustacchiLDFLAGS += -dy -N misc/mac -N drv/ip -N misc/usba
6716431ba7de213d5c318e58dc24c8a36da9b068Robert Mustacchi# Define targets
6716431ba7de213d5c318e58dc24c8a36da9b068Robert Mustacchi# Default build targets.
6716431ba7de213d5c318e58dc24c8a36da9b068Robert Mustacchi# Include common targets.