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