Makefile revision 88447a05f537aabe9a1bc3d5313f22581ec992a7
157N/A#
180N/A# CDDL HEADER START
157N/A#
157N/A# The contents of this file are subject to the terms of the
157N/A# Common Development and Distribution License (the "License").
157N/A# You may not use this file except in compliance with the License.
180N/A#
157N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
180N/A# or http://www.opensolaris.org/os/licensing.
157N/A# See the License for the specific language governing permissions
157N/A# and limitations under the License.
157N/A#
157N/A# When distributing Covered Code, include this CDDL HEADER in each
157N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157N/A# If applicable, add the following below this CDDL HEADER, with the
157N/A# fields enclosed by brackets "[]" replaced with your own identifying
157N/A# information: Portions Copyright [yyyy] [name of copyright owner]
157N/A#
157N/A# CDDL HEADER END
157N/A#
180N/A#
180N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
180N/A# Use is subject to license terms.
157N/A#
157N/A# uts/sparc/audio1575/Makefile
157N/A#
157N/A# This makefile drives the production of the M1575 audio driver
157N/A# (audio1575) kernel module.
157N/A#
157N/A#
157N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
157N/A#
157N/AUTSBASE = ../..
157N/A
157N/A#
157N/A# Define the module and object file sets.
157N/A#
157N/AMODULE = audio1575
157N/AOBJECTS = $(AUDIO1575_OBJS:%=$(OBJS_DIR)/%)
157N/ALINTS = $(AUDIO1575_OBJS:%.o=$(LINTS_DIR)/%.ln)
157N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
157N/ACONF_SRCDIR = $(UTSBASE)/common/io/audio/drv/audio1575
157N/A
157N/A#
166N/A# Include common rules.
157N/A#
157N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
157N/A
157N/A#
157N/A# Overrides, lint pass one enforcement
157N/A#
157N/ACFLAGS += $(CCVERBOSE)
163N/A
157N/A#
157N/A# Depends on drv/audio and misc/ac97
157N/A#
157N/ALDFLAGS += -dy -Ndrv/audio -Nmisc/ac97
157N/A
157N/A#
157N/A# Define targets
157N/A#
157N/AALL_TARGET = $(BINARY) $(SRC_CONFILE)
157N/ALINT_TARGET = $(MODULE).lint
157N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE_64)
157N/A
157N/A#
157N/A# Overrides
157N/A#
157N/AALL_BUILDS = $(ALL_BUILDSONLY64)
157N/ADEF_BUILDS = $(DEF_BUILDSONLY64)
157N/ACLEANLINTFILES += $(LINT32_FILES)
157N/A
157N/A#
157N/A# Default build targets.
157N/A#
157N/A.KEEP_STATE:
157N/A
163N/Adef: $(DEF_DEPS)
157N/A
157N/Aall: $(ALL_DEPS)
157N/A
157N/Aclean: $(CLEAN_DEPS)
157N/A
157N/Aclobber: $(CLOBBER_DEPS)
157N/A
157N/Alint: $(LINT_DEPS)
157N/A
157N/Amodlintlib: $(MODLINTLIB_DEPS) lint32
157N/A
157N/Aclean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/sparc/Makefile.targ