Makefile revision 88447a05f537aabe9a1bc3d5313f22581ec992a7
124N/A#
124N/A# CDDL HEADER START
124N/A#
124N/A# The contents of this file are subject to the terms of the
124N/A# Common Development and Distribution License (the "License").
124N/A# You may not use this file except in compliance with the License.
124N/A#
124N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
124N/A# or http://www.opensolaris.org/os/licensing.
124N/A# See the License for the specific language governing permissions
124N/A# and limitations under the License.
124N/A#
124N/A# When distributing Covered Code, include this CDDL HEADER in each
124N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
124N/A# If applicable, add the following below this CDDL HEADER, with the
124N/A# fields enclosed by brackets "[]" replaced with your own identifying
124N/A# information: Portions Copyright [yyyy] [name of copyright owner]
124N/A#
124N/A# CDDL HEADER END
124N/A#
5680N/A#
5680N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
5230N/A# Use is subject to license terms.
124N/A#
5680N/A# uts/intel/audiovia823x/Makefile
124N/A#
124N/A#
124N/A# This makefile drives the production of the Via 823x audio driver
7140N/A# (audiovia823x) kernel module.
618N/A#
124N/A#
844N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
7140N/A#
618N/AUTSBASE = ../..
124N/A
7140N/A#
5648N/A# Define the module and object file sets.
7243N/A#
7243N/AMODULE = audiovia823x
7243N/AOBJECTS = $(AUDIOVIA823X_OBJS:%=$(OBJS_DIR)/%)
7243N/ALINTS = $(AUDIOVIA823X_OBJS:%.o=$(LINTS_DIR)/%.ln)
5680N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
6695N/ACONF_SRCDIR = $(UTSBASE)/common/io/audio/drv/audiovia823x
6695N/A
6695N/A#
6695N/A# Include common rules.
5680N/A#
124N/Ainclude $(UTSBASE)/intel/Makefile.intel
2960N/A
2960N/A#
2960N/A# Depends on drv/audio and misc/ac97
2960N/A#
124N/ALDFLAGS += -dy -Ndrv/audio -Nmisc/ac97
124N/A
5935N/A#
5935N/A# Define targets
5935N/A#
5935N/AALL_TARGET = $(BINARY) $(SRC_CONFILE)
7003N/ALINT_TARGET = $(MODULE).lint
7003N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
7003N/A
5680N/A#
5680N/A# Default build targets.
124N/A#
5617N/A.KEEP_STATE:
124N/A
124N/Adef: $(DEF_DEPS)
124N/A
3878N/Aall: $(ALL_DEPS)
7140N/A
5935N/Aclean: $(CLEAN_DEPS)
5935N/A
124N/Aclobber: $(CLOBBER_DEPS)
765N/A
765N/Alint: $(LINT_DEPS)
765N/A
765N/Amodlintlib: $(MODLINTLIB_DEPS)
765N/A
1792N/Aclean.lint: $(CLEAN_LINT_DEPS)
1792N/A
1792N/Ainstall: $(INSTALL_DEPS)
765N/A
765N/A#
765N/A# Include common targets.
765N/A#
765N/Ainclude $(UTSBASE)/intel/Makefile.targ
6184N/A