Makefile revision 88447a05f537aabe9a1bc3d5313f22581ec992a7
380N/A#
380N/A# CDDL HEADER START
380N/A#
380N/A# The contents of this file are subject to the terms of the
380N/A# Common Development and Distribution License (the "License").
380N/A# You may not use this file except in compliance with the License.
380N/A#
380N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
380N/A# or http://www.opensolaris.org/os/licensing.
380N/A# See the License for the specific language governing permissions
380N/A# and limitations under the License.
380N/A#
380N/A# When distributing Covered Code, include this CDDL HEADER in each
380N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
380N/A# If applicable, add the following below this CDDL HEADER, with the
380N/A# fields enclosed by brackets "[]" replaced with your own identifying
380N/A# information: Portions Copyright [yyyy] [name of copyright owner]
380N/A#
380N/A# CDDL HEADER END
380N/A#
5680N/A#
5680N/A# uts/sparc/audiocs/Makefile
5557N/A#
380N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
5680N/A# Use is subject to license terms.
3817N/A#
5680N/A# This makefile drives the production of the Crystal 4231
380N/A# audio driver (audiocs) kernel module.
380N/A#
380N/A# sparc architecture dependent
5557N/A#
3620N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
844N/A#
5557N/AUTSBASE = ../..
3620N/A
380N/A#
5557N/A# Define the module and object file sets.
2899N/A#
5680N/AMODULE = audiocs
5680N/AOBJECTS = $(AUDIOCS_OBJS:%=$(OBJS_DIR)/%)
3636N/ALINTS = $(AUDIOCS_OBJS:%.o=$(LINTS_DIR)/%.ln)
3636N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
3636N/ACONF_SRCDIR = $(UTSBASE)/sun/io/audio/drv/audiocs
380N/A
380N/A#
3620N/A# Include common rules.
380N/A#
3817N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
3817N/A
5557N/A#
3817N/A# Define targets
5557N/A#
3817N/AALL_TARGET = $(BINARY) $(SRC_CONFILE)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
#
# Overrides
#
CFLAGS += $(CCVERBOSE)
#
# Depends on misc/audiosup
#
LDFLAGS += -dy -Ndrv/audio
#
# 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)/sparc/Makefile.targ