Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# CDDL HEADER START
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# The contents of this file are subject to the terms of the
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# Common Development and Distribution License (the "License").
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# You may not use this file except in compliance with the License.
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
96ad5d81ee4a2cc66a4ae19893efc8aa6d06fae7jailletc# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# or http://www.opensolaris.org/os/licensing.
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# See the License for the specific language governing permissions
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# and limitations under the License.
2e545ce2450a9953665f701bb05350f0d3f26275nd#
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# When distributing Covered Code, include this CDDL HEADER in each
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# If applicable, add the following below this CDDL HEADER, with the
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# fields enclosed by brackets "[]" replaced with your own identifying
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# information: Portions Copyright [yyyy] [name of copyright owner]
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen#
3f08db06526d6901aa08c110b5bc7dde6bc39905nd# CDDL HEADER END
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# uts/sparc/hidparser/Makefile
3f08db06526d6901aa08c110b5bc7dde6bc39905nd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# Use is subject to license terms.
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
cc8190433d13f5e9de618c5d7f10c824c0c1919cgryzor#
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung# This makefile drives the production of the hidparser misc module.
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# sparc architecture dependent
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adnd# Path to the base of the uts directory tree (usually /usr/src/uts).
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adndUTSBASE = ../..
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf#
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf# Define the module and object file sets.
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
ffb88a4885747797937e30a5ac8b1606da3cb4adndMODULE = hidparser
ffb88a4885747797937e30a5ac8b1606da3cb4adndOBJECTS = $(HIDPARSER_OBJS:%=$(OBJS_DIR)/%)
ffb88a4885747797937e30a5ac8b1606da3cb4adndLINTS = $(HIDPARSER_OBJS:%.o=$(LINTS_DIR)/%.ln)
ffb88a4885747797937e30a5ac8b1606da3cb4adndROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem
ffb88a4885747797937e30a5ac8b1606da3cb4adnd
ffb88a4885747797937e30a5ac8b1606da3cb4adnd#
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem# Include common rules.
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem#
591f748210dc55f2972482dddc84bb6bac61d6b9noodlinclude $(UTSBASE)/sparc/Makefile.sparc
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem#
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem# lint pass one enforcement
591f748210dc55f2972482dddc84bb6bac61d6b9noodl#
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluemCFLAGS += $(CCVERBOSE)
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsfCERRWARN += -_gcc=-Wno-uninitialized
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf#
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf# depends on misc/usba
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem#
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluemLDFLAGS += -dy -Nmisc/usba
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf#
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem# Define targets
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem#
bb37893866942b9e73f6a842311eb1b61fa8bdcarbowenALL_TARGET = $(BINARY)
bb37893866942b9e73f6a842311eb1b61fa8bdcarbowenLINT_TARGET = $(MODULE).lint
bb37893866942b9e73f6a842311eb1b61fa8bdcarbowenINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
bb37893866942b9e73f6a842311eb1b61fa8bdcarbowen
bb37893866942b9e73f6a842311eb1b61fa8bdcarbowen.KEEP_STATE:
4aa603e6448b99f9371397d439795c91a93637eand
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicdef: $(DEF_DEPS)
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicall: $(ALL_DEPS)
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicclean: $(CLEAN_DEPS)
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicclobber: $(CLOBBER_DEPS)
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igaliclint: $(LINT_DEPS)
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicmodlintlib: $(MODLINTLIB_DEPS)
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicclean.lint: $(CLEAN_LINT_DEPS)
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalic
f0fa55ff14fa0bf8fd72d989f6625de6dc3260c8igalicinstall: $(INSTALL_DEPS)
4aa603e6448b99f9371397d439795c91a93637eand
e487d6c09669296f94a5190cc34586a98e624a00nd
bb37893866942b9e73f6a842311eb1b61fa8bdcarbowen#
9a58dc6a2b26ec128b1270cf48810e705f1a90dbsf# Include common targets.
bf380c59be3f235bde21f1c00098e09e3cf7e7aerpluem#
591f748210dc55f2972482dddc84bb6bac61d6b9noodlinclude $(UTSBASE)/sparc/Makefile.targ
591f748210dc55f2972482dddc84bb6bac61d6b9noodl