Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico#
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# CDDL HEADER START
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico#
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico# The contents of this file are subject to the terms of the
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# Common Development and Distribution License (the "License").
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# You may not use this file except in compliance with the License.
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico#
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# or http://www.opensolaris.org/os/licensing.
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# See the License for the specific language governing permissions
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# and limitations under the License.
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico#
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# When distributing Covered Code, include this CDDL HEADER in each
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# If applicable, add the following below this CDDL HEADER, with the
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico# fields enclosed by brackets "[]" replaced with your own identifying
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# information: Portions Copyright [yyyy] [name of copyright owner]
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico#
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# CDDL HEADER END
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico#
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico#
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# uts/sparc/hidparser/Makefile
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico#
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# Use is subject to license terms.
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico#
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico#
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# This makefile drives the production of the hidparser misc module.
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico#
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico# sparc architecture dependent
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico#
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico#
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico# Path to the base of the uts directory tree (usually /usr/src/uts).
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico#
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNicoUTSBASE = ../..
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico#
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico# Define the module and object file sets.
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico#
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoMODULE = hidparser
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoOBJECTS = $(HIDPARSER_OBJS:%=$(OBJS_DIR)/%)
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoLINTS = $(HIDPARSER_OBJS:%.o=$(LINTS_DIR)/%.ln)
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico#
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# Include common rules.
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico#
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoinclude $(UTSBASE)/sparc/Makefile.sparc
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico#
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# lint pass one enforcement
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico#
6decd839c5d3aac21faa79519b8f125f3b6e4629cmarquCFLAGS += $(CCVERBOSE)
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoCERRWARN += -_gcc=-Wno-uninitialized
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico#
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# depends on misc/usba
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico#
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoLDFLAGS += -dy -Nmisc/usba
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico#
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico# Define targets
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico#
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoALL_TARGET = $(BINARY)
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoLINT_TARGET = $(MODULE).lint
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico.KEEP_STATE:
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicodef: $(DEF_DEPS)
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNicoall: $(ALL_DEPS)
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoclean: $(CLEAN_DEPS)
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoclobber: $(CLOBBER_DEPS)
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicolint: $(LINT_DEPS)
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicomodlintlib: $(MODLINTLIB_DEPS)
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoclean.lint: $(CLEAN_LINT_DEPS)
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoinstall: $(INSTALL_DEPS)
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico
d048f1c15089c16b8ca1b264513a2f92ff86e703JazzyNico
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico#
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico# Include common targets.
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico#
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNicoinclude $(UTSBASE)/sparc/Makefile.targ
88395eed42de4d59f54795b60c8c0a7ab881e153JazzyNico