Makefile revision 68c47f65208790c466e5e484f2293d3baed71c6a
a90d965d832a5578dbfc2eadd1617e8cccf25264fw#
a90d965d832a5578dbfc2eadd1617e8cccf25264fw# CDDL HEADER START
a90d965d832a5578dbfc2eadd1617e8cccf25264fw#
a90d965d832a5578dbfc2eadd1617e8cccf25264fw# The contents of this file are subject to the terms of the
a90d965d832a5578dbfc2eadd1617e8cccf25264fw# Common Development and Distribution License (the "License").
a90d965d832a5578dbfc2eadd1617e8cccf25264fw# You may not use this file except in compliance with the License.
a90d965d832a5578dbfc2eadd1617e8cccf25264fw#
a90d965d832a5578dbfc2eadd1617e8cccf25264fw# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a90d965d832a5578dbfc2eadd1617e8cccf25264fw# or http://www.opensolaris.org/os/licensing.
a90d965d832a5578dbfc2eadd1617e8cccf25264fw# See the License for the specific language governing permissions
a90d965d832a5578dbfc2eadd1617e8cccf25264fw# and limitations under the License.
a90d965d832a5578dbfc2eadd1617e8cccf25264fw#
a90d965d832a5578dbfc2eadd1617e8cccf25264fw# When distributing Covered Code, include this CDDL HEADER in each
a90d965d832a5578dbfc2eadd1617e8cccf25264fw# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a90d965d832a5578dbfc2eadd1617e8cccf25264fw# If applicable, add the following below this CDDL HEADER, with the
a90d965d832a5578dbfc2eadd1617e8cccf25264fw# fields enclosed by brackets "[]" replaced with your own identifying
a90d965d832a5578dbfc2eadd1617e8cccf25264fw# information: Portions Copyright [yyyy] [name of copyright owner]
a90d965d832a5578dbfc2eadd1617e8cccf25264fw#
a90d965d832a5578dbfc2eadd1617e8cccf25264fw# CDDL HEADER END
a90d965d832a5578dbfc2eadd1617e8cccf25264fw#
a90d965d832a5578dbfc2eadd1617e8cccf25264fw#
a90d965d832a5578dbfc2eadd1617e8cccf25264fw# uts/intel/audioens/Makefile
335777d1b181cad304c5ec02288dad96b5e00a52Sree Vemuri#
a90d965d832a5578dbfc2eadd1617e8cccf25264fw# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
a90d965d832a5578dbfc2eadd1617e8cccf25264fw# Use is subject to license terms.
a90d965d832a5578dbfc2eadd1617e8cccf25264fw#
a90d965d832a5578dbfc2eadd1617e8cccf25264fw# This makefile drives the production of the audioens driver.
a90d965d832a5578dbfc2eadd1617e8cccf25264fw#
940d71d237794874e18a0eb72f6564821a823517eschrock
a90d965d832a5578dbfc2eadd1617e8cccf25264fw#
335777d1b181cad304c5ec02288dad96b5e00a52Sree Vemuri# Path to the base of the uts directory tree (usually /usr/src/uts).
a90d965d832a5578dbfc2eadd1617e8cccf25264fw#
a90d965d832a5578dbfc2eadd1617e8cccf25264fwUTSBASE = ../..
a90d965d832a5578dbfc2eadd1617e8cccf25264fw
#
# Define the module and object file sets.
#
MODULE = audioens
OBJECTS = $(AUDIOENS_OBJS:%=$(OBJS_DIR)/%)
LINTS = $(AUDIOENS_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
#
# Include common rules.
#
include $(UTSBASE)/intel/Makefile.intel
#
# Define targets
#
ALL_TARGET = $(BINARY)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
LDFLAGS += -dy -Ndrv/audio -Nmisc/ac97
#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ