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# 277a4f122cSGarrett D'Amore# This makefile drives the production of the audiosolo driver. 287a4f122cSGarrett D'Amore# 297a4f122cSGarrett D'Amore 307a4f122cSGarrett D'Amore# 317a4f122cSGarrett D'Amore# Path to the base of the uts directory tree (usually /usr/src/uts). 327a4f122cSGarrett D'Amore# 337a4f122cSGarrett D'AmoreUTSBASE = ../.. 347a4f122cSGarrett D'Amore 357a4f122cSGarrett D'Amore# 367a4f122cSGarrett D'Amore# Define the module and object file sets. 377a4f122cSGarrett D'Amore# 387a4f122cSGarrett D'AmoreMODULE = audiosolo 397a4f122cSGarrett D'AmoreOBJECTS = $(AUDIOSOLO_OBJS:%=$(OBJS_DIR)/%) 407a4f122cSGarrett D'AmoreLINTS = $(AUDIOSOLO_OBJS:%.o=$(LINTS_DIR)/%.ln) 417a4f122cSGarrett D'AmoreROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 427a4f122cSGarrett D'Amore 437a4f122cSGarrett D'Amore# 447a4f122cSGarrett D'Amore# Include common rules. 457a4f122cSGarrett D'Amore# 467a4f122cSGarrett D'Amoreinclude $(UTSBASE)/intel/Makefile.intel 477a4f122cSGarrett D'Amore 487a4f122cSGarrett D'Amore# 497a4f122cSGarrett D'Amore# Define targets 507a4f122cSGarrett D'Amore# 517a4f122cSGarrett D'AmoreALL_TARGET = $(BINARY) 527a4f122cSGarrett D'AmoreLINT_TARGET = $(MODULE).lint 537a4f122cSGarrett D'AmoreINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 547a4f122cSGarrett D'Amore 557a4f122cSGarrett D'AmoreLDFLAGS += -dy -Ndrv/audio 567a4f122cSGarrett D'Amore 57*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized 58*7014882cSRichard Lowe 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'Amorelint: $(LINT_DEPS) 737a4f122cSGarrett D'Amore 747a4f122cSGarrett D'Amoremodlintlib: $(MODLINTLIB_DEPS) 757a4f122cSGarrett D'Amore 767a4f122cSGarrett D'Amoreclean.lint: $(CLEAN_LINT_DEPS) 777a4f122cSGarrett D'Amore 787a4f122cSGarrett D'Amoreinstall: $(INSTALL_DEPS) 797a4f122cSGarrett D'Amore 807a4f122cSGarrett D'Amore# 817a4f122cSGarrett D'Amore# Include common targets. 827a4f122cSGarrett D'Amore# 837a4f122cSGarrett D'Amoreinclude $(UTSBASE)/intel/Makefile.targ 84