17a4f122cSGarrett D'Amore# 27a4f122cSGarrett D'Amore# CDDL HEADER START 37a4f122cSGarrett D'Amore# 47a4f122cSGarrett D'Amore# The contents of this file are subject to the terms of the 57a4f122cSGarrett D'Amore# Common Development and Distribution License (the "License"). 67a4f122cSGarrett D'Amore# You may not use this file except in compliance with the License. 77a4f122cSGarrett D'Amore# 87a4f122cSGarrett D'Amore# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97a4f122cSGarrett D'Amore# or http://www.opensolaris.org/os/licensing. 107a4f122cSGarrett D'Amore# See the License for the specific language governing permissions 117a4f122cSGarrett D'Amore# and limitations under the License. 127a4f122cSGarrett D'Amore# 137a4f122cSGarrett D'Amore# When distributing Covered Code, include this CDDL HEADER in each 147a4f122cSGarrett D'Amore# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157a4f122cSGarrett D'Amore# If applicable, add the following below this CDDL HEADER, with the 167a4f122cSGarrett D'Amore# fields enclosed by brackets "[]" replaced with your own identifying 177a4f122cSGarrett D'Amore# information: Portions Copyright [yyyy] [name of copyright owner] 187a4f122cSGarrett D'Amore# 197a4f122cSGarrett D'Amore# CDDL HEADER END 207a4f122cSGarrett D'Amore# 217a4f122cSGarrett D'Amore# 227a4f122cSGarrett D'Amore# uts/intel/audiosolo/Makefile 237a4f122cSGarrett D'Amore# 247a4f122cSGarrett D'Amore# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 257a4f122cSGarrett D'Amore# Use is subject to license terms. 267a4f122cSGarrett D'Amore# 27b6b206fcSJohn Levon# Copyright (c) 2018, Joyent, Inc. 287a4f122cSGarrett D'Amore 297a4f122cSGarrett D'Amore# 307a4f122cSGarrett D'Amore# Path to the base of the uts directory tree (usually /usr/src/uts). 317a4f122cSGarrett D'Amore# 327a4f122cSGarrett D'AmoreUTSBASE = ../.. 337a4f122cSGarrett D'Amore 347a4f122cSGarrett D'Amore# 357a4f122cSGarrett D'Amore# Define the module and object file sets. 367a4f122cSGarrett D'Amore# 377a4f122cSGarrett D'AmoreMODULE = audiosolo 387a4f122cSGarrett D'AmoreOBJECTS = $(AUDIOSOLO_OBJS:%=$(OBJS_DIR)/%) 397a4f122cSGarrett D'AmoreROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 407a4f122cSGarrett D'Amore 417a4f122cSGarrett D'Amore# 427a4f122cSGarrett D'Amore# Include common rules. 437a4f122cSGarrett D'Amore# 447a4f122cSGarrett D'Amoreinclude $(UTSBASE)/intel/Makefile.intel 457a4f122cSGarrett D'Amore 467a4f122cSGarrett D'Amore# 477a4f122cSGarrett D'Amore# Define targets 487a4f122cSGarrett D'Amore# 497a4f122cSGarrett D'AmoreALL_TARGET = $(BINARY) 507a4f122cSGarrett D'AmoreINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 517a4f122cSGarrett D'Amore 52*82d0151aSRichard LoweLDFLAGS += -Ndrv/audio 537a4f122cSGarrett D'Amore 54d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT) 557014882cSRichard Lowe 56b6b206fcSJohn Levon# needs work 57b6b206fcSJohn LevonSMOFF += assign_vs_compare 58b6b206fcSJohn Levon 597a4f122cSGarrett D'Amore# 607a4f122cSGarrett D'Amore# Default build targets. 617a4f122cSGarrett D'Amore# 627a4f122cSGarrett D'Amore.KEEP_STATE: 637a4f122cSGarrett D'Amore 647a4f122cSGarrett D'Amoredef: $(DEF_DEPS) 657a4f122cSGarrett D'Amore 667a4f122cSGarrett D'Amoreall: $(ALL_DEPS) 677a4f122cSGarrett D'Amore 687a4f122cSGarrett D'Amoreclean: $(CLEAN_DEPS) 697a4f122cSGarrett D'Amore 707a4f122cSGarrett D'Amoreclobber: $(CLOBBER_DEPS) 717a4f122cSGarrett D'Amore 727a4f122cSGarrett D'Amoreinstall: $(INSTALL_DEPS) 737a4f122cSGarrett D'Amore 747a4f122cSGarrett D'Amore# 757a4f122cSGarrett D'Amore# Include common targets. 767a4f122cSGarrett D'Amore# 777a4f122cSGarrett D'Amoreinclude $(UTSBASE)/intel/Makefile.targ 78