Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
2209N/A#
6082N/A# CDDL HEADER START
2209N/A#
2209N/A# The contents of this file are subject to the terms of the
2209N/A# Common Development and Distribution License (the "License").
2209N/A# You may not use this file except in compliance with the License.
2209N/A#
2209N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2209N/A# or http://www.opensolaris.org/os/licensing.
2209N/A# See the License for the specific language governing permissions
2209N/A# and limitations under the License.
2209N/A#
2209N/A# When distributing Covered Code, include this CDDL HEADER in each
2209N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2209N/A# If applicable, add the following below this CDDL HEADER, with the
2209N/A# fields enclosed by brackets "[]" replaced with your own identifying
2209N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2209N/A#
2209N/A# CDDL HEADER END
2209N/A#
2209N/A#
2209N/A# uts/intel/audiols/Makefile
2209N/A#
2209N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
2209N/A# Use is subject to license terms.
2209N/A#
2209N/A# This makefile drives the production of the audiols driver.
2209N/A#
2209N/A
2209N/A#
2209N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
2209N/A#
2209N/AUTSBASE = ../..
2209N/A
2209N/A#
2209N/A# Define the module and object file sets.
2209N/A#
2209N/AMODULE = audiols
2209N/AOBJECTS = $(AUDIOLS_OBJS:%=$(OBJS_DIR)/%)
2209N/ALINTS = $(AUDIOLS_OBJS:%.o=$(LINTS_DIR)/%.ln)
2209N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
2209N/A
2209N/A#
2209N/A# Include common rules.
2209N/A#
2209N/Ainclude $(UTSBASE)/intel/Makefile.intel
2209N/A
2209N/A#
2209N/A# Define targets
2209N/A#
2231N/AALL_TARGET = $(BINARY)
2231N/ALINT_TARGET = $(MODULE).lint
2209N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
2209N/A
2209N/ALDFLAGS += -dy -Ndrv/audio -Nmisc/ac97
6082N/A
6082N/ACERRWARN += -_gcc=-Wno-switch
6082N/A
6082N/A#
2209N/A# Default build targets.
2209N/A#
2209N/A.KEEP_STATE:
2209N/A
2209N/Adef: $(DEF_DEPS)
2209N/A
2209N/Aall: $(ALL_DEPS)
2209N/A
2209N/Aclean: $(CLEAN_DEPS)
2209N/A
2209N/Aclobber: $(CLOBBER_DEPS)
2209N/A
2209N/Alint: $(LINT_DEPS)
2209N/A
2209N/Amodlintlib: $(MODLINTLIB_DEPS)
2209N/A
2209N/Aclean.lint: $(CLEAN_LINT_DEPS)
2209N/A
2209N/Ainstall: $(INSTALL_DEPS)
2209N/A
2209N/A#
2209N/A# Include common targets.
2209N/A#
2209N/Ainclude $(UTSBASE)/intel/Makefile.targ
6082N/A