Makefile revision b6805bf78d2bbbeeaea8909a05623587b42d58b3
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# CDDL HEADER START
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# The contents of this file are subject to the terms of the
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# Common Development and Distribution License (the "License").
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# You may not use this file except in compliance with the License.
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# See the License for the specific language governing permissions
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# and limitations under the License.
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# When distributing Covered Code, include this CDDL HEADER in each
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# If applicable, add the following below this CDDL HEADER, with the
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# fields enclosed by brackets "[]" replaced with your own identifying
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# information: Portions Copyright [yyyy] [name of copyright owner]
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# CDDL HEADER END
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# Use is subject to license terms.
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# This makefile drives the production of the audioemu10k driver.
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# Path to the base of the uts directory tree (usually /usr/src/uts).
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# Define the module and object file sets.
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland MainzLINTS = $(AUDIOEMU10K_OBJS:%.o=$(LINTS_DIR)/%.ln)
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland MainzDSP_SRCDIR = $(UTSBASE)/common/io/audio/drv/audioemu10k/dsp
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland MainzDSP_HNAMES = emu10k_gpr.h emu10k1_dsp.h emu10k2_dsp.h
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# Include common rules.
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# Define targets
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz$(OBJS_DIR)/emu10k_gpr.h := ASM10KFLAGS = -v -0 -P gpr
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz$(OBJS_DIR)/emu10k1_dsp.h := ASM10KFLAGS = -v -1 -P emu10k1
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz$(OBJS_DIR)/emu10k2_dsp.h := ASM10KFLAGS = -v -2 -P emu10k2
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# Default build targets.
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz $(CPP) -D$(MODEL10K) -I$(DSP_SRCDIR) $(DSP_SRCDIR)/emu10k.dsp | \
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz# Include common targets.