Makefile revision 845fc5148a0816bb8ccc179938ed070b82f5808f
624664e50406f63108ddc7bad47dbac87ac74261Francis Dupont#
624664e50406f63108ddc7bad47dbac87ac74261Francis Dupont# CDDL HEADER START
c1ced49662181d2fb2343ed7bde71d170f0d1119Mark Andrews#
c1ced49662181d2fb2343ed7bde71d170f0d1119Mark Andrews# The contents of this file are subject to the terms of the
c1ced49662181d2fb2343ed7bde71d170f0d1119Mark Andrews# Common Development and Distribution License, Version 1.0 only
ba88bcf08b965f65c07735efa2f675b8cbeb735aMark Andrews# (the "License"). You may not use this file except in compliance
ba88bcf08b965f65c07735efa2f675b8cbeb735aMark Andrews# with the License.
ba88bcf08b965f65c07735efa2f675b8cbeb735aMark Andrews#
ba88bcf08b965f65c07735efa2f675b8cbeb735aMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
21d349b612e253bea438f3340b2f293b032ed848Mark Andrews# or http://www.opensolaris.org/os/licensing.
88c63fe9c78e60e5e521d095d6e983c211902904Mark Andrews# See the License for the specific language governing permissions
88c63fe9c78e60e5e521d095d6e983c211902904Mark Andrews# and limitations under the License.
88c63fe9c78e60e5e521d095d6e983c211902904Mark Andrews#
4c05f9a6a3d0fe27d5fad1599b10500e21c705feMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
d31740ce282bcf0a27e17dec49a3ff9ddd26e814Scott Mann# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d31740ce282bcf0a27e17dec49a3ff9ddd26e814Scott Mann# If applicable, add the following below this CDDL HEADER, with the
d31740ce282bcf0a27e17dec49a3ff9ddd26e814Scott Mann# fields enclosed by brackets "[]" replaced with your own identifying
d31740ce282bcf0a27e17dec49a3ff9ddd26e814Scott Mann# information: Portions Copyright [yyyy] [name of copyright owner]
664917bedafa65dee4349c84324a31731aa1e228Francis Dupont#
664917bedafa65dee4349c84324a31731aa1e228Francis Dupont# CDDL HEADER END
664917bedafa65dee4349c84324a31731aa1e228Francis Dupont#
be789bc7eb6f683979cd1405a06284ee00cda366Mark Andrews#
17bc56e321574b43c5837d1741e9157c8f2fcd91Francis Dupont# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
d3e3d7846dd5895960dcdcb1012b4be23388f81cMark Andrews# Use is subject to license terms.
d3e3d7846dd5895960dcdcb1012b4be23388f81cMark Andrews#
d3e3d7846dd5895960dcdcb1012b4be23388f81cMark Andrews#ident "%Z%%M% %I% %E% SMI"
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt#
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# uts/sparc/usbs49_fw/Makefile
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt#
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# This makefile drives the production of the usbs49_fw kernel module.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt#
7cc5632595476c20f1c0683eff35baa370dd65bbEvan Hunt#
7cc5632595476c20f1c0683eff35baa370dd65bbEvan Hunt# Path to the base of the uts directory tree (usually /usr/src/uts).
7cc5632595476c20f1c0683eff35baa370dd65bbEvan Hunt#
7cc5632595476c20f1c0683eff35baa370dd65bbEvan HuntUTSBASE = ../..
2f09e7c3fc25c0e5028593a24531d636845c3e42Mark Andrews
2f09e7c3fc25c0e5028593a24531d636845c3e42Mark Andrews#
2f09e7c3fc25c0e5028593a24531d636845c3e42Mark Andrews# Define the module and object file sets.
4f07b2b00cf52582b2ee9b55aabe7eb5066e57e7Mark Andrews#
4f07b2b00cf52582b2ee9b55aabe7eb5066e57e7Mark AndrewsMODULE = usbs49_fw
4f07b2b00cf52582b2ee9b55aabe7eb5066e57e7Mark AndrewsOBJECTS = $(USBS49_FW_OBJS:%=$(OBJS_DIR)/%)
4f07b2b00cf52582b2ee9b55aabe7eb5066e57e7Mark AndrewsLINTS = $(USBS49_FW_OBJS:%.o=$(LINTS_DIR)/%.ln)
ddd40390be246189f10dc18782914b295befb139Mark AndrewsROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
0e507dbb816575e6220fe309e8ada68897ffcdbeMark Andrews
ddd40390be246189f10dc18782914b295befb139Mark Andrews#
fd5d7b4b1cf3b11ff248a361e5b2c56ca7372225Mark Andrews# Include common rules.
ddd40390be246189f10dc18782914b295befb139Mark Andrews#
5715e1c6f6b549e95b312f1529efd849f7c9503fMark Andrewsinclude $(UTSBASE)/sparc/Makefile.sparc
5715e1c6f6b549e95b312f1529efd849f7c9503fMark Andrews
ddd40390be246189f10dc18782914b295befb139Mark Andrews#
b795de862ba8e75f3b9c56abb9553c28255c8567Mark Andrews# lint pass one enforcement
b795de862ba8e75f3b9c56abb9553c28255c8567Mark Andrews#
c12904ec531fb210066bafc33bde74d43889caacMark AndrewsCFLAGS += $(CCVERBOSE)
c12904ec531fb210066bafc33bde74d43889caacMark Andrews
0a92db42c6be6a158cd41ff863831a8d2d257935Mark Andrews#
0a92db42c6be6a158cd41ff863831a8d2d257935Mark Andrews# Define targets
17c98e7adddf82b73f478e89213fd10148a53100Mark Andrews#
17c98e7adddf82b73f478e89213fd10148a53100Mark AndrewsALL_TARGET = $(BINARY)
17c98e7adddf82b73f478e89213fd10148a53100Mark AndrewsLINT_TARGET = $(MODULE).lint
699e00089fb1a6eb31d7bd1c96bf973608953159Mark AndrewsINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
699e00089fb1a6eb31d7bd1c96bf973608953159Mark Andrews
6883a918f790147fd98e21b2c3d3d479320f3ed5Mark Andrews.KEEP_STATE:
6883a918f790147fd98e21b2c3d3d479320f3ed5Mark Andrews
6883a918f790147fd98e21b2c3d3d479320f3ed5Mark Andrewsall: $(ALL_DEPS)
e01f55daa4b611190a11a40299007e5e55018854Mark Andrews
e01f55daa4b611190a11a40299007e5e55018854Mark Andrewsdef: $(DEF_DEPS)
e01f55daa4b611190a11a40299007e5e55018854Mark Andrews
4c577cbd1efc14156751e5b2ced7a866871a2f1aMark Andrewsclean: $(CLEAN_DEPS);
4c577cbd1efc14156751e5b2ced7a866871a2f1aMark Andrews
4c577cbd1efc14156751e5b2ced7a866871a2f1aMark Andrewsclobber: $(CLOBBER_DEPS);
2ba2a6e4be2eae3a1db1a657ceee15aa62799c7fMark Andrews
2ba2a6e4be2eae3a1db1a657ceee15aa62799c7fMark Andrewslint: $(LINT_DEPS)
2ba2a6e4be2eae3a1db1a657ceee15aa62799c7fMark Andrews
30aaec21221ca5d8715d1ff1ce92fbdf98bb6652Mark Andrewsmodlintlib: $(MODLINTLIB_DEPS)
30aaec21221ca5d8715d1ff1ce92fbdf98bb6652Mark Andrews
30aaec21221ca5d8715d1ff1ce92fbdf98bb6652Mark Andrewsclean.lint: $(CLEAN_LINT_DEPS)
30aaec21221ca5d8715d1ff1ce92fbdf98bb6652Mark Andrews
17a0bbda335ffc9af34be1000f500c622008458cMark Andrewsinstall: $(INSTALL_DEPS)
17a0bbda335ffc9af34be1000f500c622008458cMark Andrews
17a0bbda335ffc9af34be1000f500c622008458cMark Andrews#
17a0bbda335ffc9af34be1000f500c622008458cMark Andrews# Include common targets.
b32e391602b3655c90c2ded10376dbfa4ec8a074Evan Hunt#
b32e391602b3655c90c2ded10376dbfa4ec8a074Evan Huntinclude $(UTSBASE)/sparc/Makefile.targ
b32e391602b3655c90c2ded10376dbfa4ec8a074Evan Hunt