Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
123N/A#
123N/A# CDDL HEADER START
123N/A#
123N/A# The contents of this file are subject to the terms of the
371N/A# Common Development and Distribution License, Version 1.0 only
123N/A# (the "License"). You may not use this file except in compliance
123N/A# with the License.
123N/A#
123N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
123N/A# or http://www.opensolaris.org/os/licensing.
123N/A# See the License for the specific language governing permissions
123N/A# and limitations under the License.
123N/A#
123N/A# When distributing Covered Code, include this CDDL HEADER in each
123N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
123N/A# If applicable, add the following below this CDDL HEADER, with the
123N/A# fields enclosed by brackets "[]" replaced with your own identifying
123N/A# information: Portions Copyright [yyyy] [name of copyright owner]
123N/A#
123N/A# CDDL HEADER END
123N/A#
123N/A#
123N/A# uts/sparc/usbms/Makefile
123N/A
123N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
123N/A# Use is subject to license terms.
123N/A#
123N/A#ident "%Z%%M% %I% %E% SMI"
123N/A#
123N/A# This makefile drives the production of the usbms streams module.
123N/A#
123N/A# sparc architecture dependent
493N/A#
123N/A
123N/A#
123N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
493N/A#
123N/AUTSBASE = ../..
123N/A
493N/A#
123N/A# Define the module and object file sets.
123N/A#
123N/AMODULE = usbms
123N/AOBJECTS = $(USBMS_OBJS:%=$(OBJS_DIR)/%)
123N/ALINTS = $(USBMS_OBJS:%.o=$(LINTS_DIR)/%.ln)
123N/AROOTMODULE = $(ROOT_STRMOD_DIR)/$(MODULE)
123N/A
123N/A#
169N/A# Include common rules.
169N/A#
493N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
169N/A
123N/A#
493N/A# lint pass one enforcement
123N/A#
123N/ACFLAGS += $(CCVERBOSE)
493N/A
123N/A#
123N/A# depends on misc/usba
123N/A#
123N/ALDFLAGS += -dy -Nmisc/usba -Nmisc/hidparser
123N/A
123N/A#
# Define targets
#
ALL_TARGET = $(BINARY)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
.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