1*7a4f122cSGarrett D'Amore# 2*7a4f122cSGarrett D'Amore# CDDL HEADER START 3*7a4f122cSGarrett D'Amore# 4*7a4f122cSGarrett D'Amore# The contents of this file are subject to the terms of the 5*7a4f122cSGarrett D'Amore# Common Development and Distribution License (the "License"). 6*7a4f122cSGarrett D'Amore# You may not use this file except in compliance with the License. 7*7a4f122cSGarrett D'Amore# 8*7a4f122cSGarrett D'Amore# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*7a4f122cSGarrett D'Amore# or http://www.opensolaris.org/os/licensing. 10*7a4f122cSGarrett D'Amore# See the License for the specific language governing permissions 11*7a4f122cSGarrett D'Amore# and limitations under the License. 12*7a4f122cSGarrett D'Amore# 13*7a4f122cSGarrett D'Amore# When distributing Covered Code, include this CDDL HEADER in each 14*7a4f122cSGarrett D'Amore# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*7a4f122cSGarrett D'Amore# If applicable, add the following below this CDDL HEADER, with the 16*7a4f122cSGarrett D'Amore# fields enclosed by brackets "[]" replaced with your own identifying 17*7a4f122cSGarrett D'Amore# information: Portions Copyright [yyyy] [name of copyright owner] 18*7a4f122cSGarrett D'Amore# 19*7a4f122cSGarrett D'Amore# CDDL HEADER END 20*7a4f122cSGarrett D'Amore# 21*7a4f122cSGarrett D'Amore# 22*7a4f122cSGarrett D'Amore# uts/intel/audiosolo/Makefile 23*7a4f122cSGarrett D'Amore# 24*7a4f122cSGarrett D'Amore# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 25*7a4f122cSGarrett D'Amore# Use is subject to license terms. 26*7a4f122cSGarrett D'Amore# 27*7a4f122cSGarrett D'Amore# This makefile drives the production of the audiosolo driver. 28*7a4f122cSGarrett D'Amore# 29*7a4f122cSGarrett D'Amore 30*7a4f122cSGarrett D'Amore# 31*7a4f122cSGarrett D'Amore# Path to the base of the uts directory tree (usually /usr/src/uts). 32*7a4f122cSGarrett D'Amore# 33*7a4f122cSGarrett D'AmoreUTSBASE = ../.. 34*7a4f122cSGarrett D'Amore 35*7a4f122cSGarrett D'Amore# 36*7a4f122cSGarrett D'Amore# Define the module and object file sets. 37*7a4f122cSGarrett D'Amore# 38*7a4f122cSGarrett D'AmoreMODULE = audiosolo 39*7a4f122cSGarrett D'AmoreOBJECTS = $(AUDIOSOLO_OBJS:%=$(OBJS_DIR)/%) 40*7a4f122cSGarrett D'AmoreLINTS = $(AUDIOSOLO_OBJS:%.o=$(LINTS_DIR)/%.ln) 41*7a4f122cSGarrett D'AmoreROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 42*7a4f122cSGarrett D'Amore 43*7a4f122cSGarrett D'Amore# 44*7a4f122cSGarrett D'Amore# Include common rules. 45*7a4f122cSGarrett D'Amore# 46*7a4f122cSGarrett D'Amoreinclude $(UTSBASE)/intel/Makefile.intel 47*7a4f122cSGarrett D'Amore 48*7a4f122cSGarrett D'Amore# 49*7a4f122cSGarrett D'Amore# Define targets 50*7a4f122cSGarrett D'Amore# 51*7a4f122cSGarrett D'AmoreALL_TARGET = $(BINARY) 52*7a4f122cSGarrett D'AmoreLINT_TARGET = $(MODULE).lint 53*7a4f122cSGarrett D'AmoreINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 54*7a4f122cSGarrett D'Amore 55*7a4f122cSGarrett D'AmoreLDFLAGS += -dy -Ndrv/audio 56*7a4f122cSGarrett D'Amore 57*7a4f122cSGarrett D'Amore# 58*7a4f122cSGarrett D'Amore# Default build targets. 59*7a4f122cSGarrett D'Amore# 60*7a4f122cSGarrett D'Amore.KEEP_STATE: 61*7a4f122cSGarrett D'Amore 62*7a4f122cSGarrett D'Amoredef: $(DEF_DEPS) 63*7a4f122cSGarrett D'Amore 64*7a4f122cSGarrett D'Amoreall: $(ALL_DEPS) 65*7a4f122cSGarrett D'Amore 66*7a4f122cSGarrett D'Amoreclean: $(CLEAN_DEPS) 67*7a4f122cSGarrett D'Amore 68*7a4f122cSGarrett D'Amoreclobber: $(CLOBBER_DEPS) 69*7a4f122cSGarrett D'Amore 70*7a4f122cSGarrett D'Amorelint: $(LINT_DEPS) 71*7a4f122cSGarrett D'Amore 72*7a4f122cSGarrett D'Amoremodlintlib: $(MODLINTLIB_DEPS) 73*7a4f122cSGarrett D'Amore 74*7a4f122cSGarrett D'Amoreclean.lint: $(CLEAN_LINT_DEPS) 75*7a4f122cSGarrett D'Amore 76*7a4f122cSGarrett D'Amoreinstall: $(INSTALL_DEPS) 77*7a4f122cSGarrett D'Amore 78*7a4f122cSGarrett D'Amore# 79*7a4f122cSGarrett D'Amore# Include common targets. 80*7a4f122cSGarrett D'Amore# 81*7a4f122cSGarrett D'Amoreinclude $(UTSBASE)/intel/Makefile.targ 82