Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
d0cd4568592f103a454ac647f4961af293f88f4ejim#
ec79b29695b183f794264bbb578c51e93d1f9b1emartin# CDDL HEADER START
ed0d39878e79220baaa50c15b79b1fdf877cb919niq#
c05a38095129d25a4ad10aa51584c774458fb089niq# The contents of this file are subject to the terms of the
c05a38095129d25a4ad10aa51584c774458fb089niq# Common Development and Distribution License, Version 1.0 only
c05a38095129d25a4ad10aa51584c774458fb089niq# (the "License"). You may not use this file except in compliance
c05a38095129d25a4ad10aa51584c774458fb089niq# with the License.
c4a423b3ef5cf5bc7209b452ed0823b5a895ffd6jim#
c4a423b3ef5cf5bc7209b452ed0823b5a895ffd6jim# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c4a423b3ef5cf5bc7209b452ed0823b5a895ffd6jim# or http://www.opensolaris.org/os/licensing.
c4a423b3ef5cf5bc7209b452ed0823b5a895ffd6jim# See the License for the specific language governing permissions
5fc20796e4b0474cf8b2383945687783de1d3632jim# and limitations under the License.
5fc20796e4b0474cf8b2383945687783de1d3632jim#
5fc20796e4b0474cf8b2383945687783de1d3632jim# When distributing Covered Code, include this CDDL HEADER in each
277e6113b9243f84ba6bec5464914ab2172b9d4ajim# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
084d3bd7b9e5456e77664b61c0d6f3448edf3726niq# If applicable, add the following below this CDDL HEADER, with the
084d3bd7b9e5456e77664b61c0d6f3448edf3726niq# fields enclosed by brackets "[]" replaced with your own identifying
3f5585f7f4a7d74f2f94ec729ea8c1879d419e35rederpj# information: Portions Copyright [yyyy] [name of copyright owner]
3f5585f7f4a7d74f2f94ec729ea8c1879d419e35rederpj#
3f5585f7f4a7d74f2f94ec729ea8c1879d419e35rederpj# CDDL HEADER END
3f5585f7f4a7d74f2f94ec729ea8c1879d419e35rederpj#
3f5585f7f4a7d74f2f94ec729ea8c1879d419e35rederpj#
f85bcbc579bb47de4d3f7d72ccaacc8ad4525238gregames# uts/intel/uhci/Makefile
f85bcbc579bb47de4d3f7d72ccaacc8ad4525238gregames# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
f85bcbc579bb47de4d3f7d72ccaacc8ad4525238gregames# Use is subject to license terms.
f85bcbc579bb47de4d3f7d72ccaacc8ad4525238gregames#
ee508128c414648982d1cca7801f63b01a0a4f8aminfrin#pragma ident "%Z%%M% %I% %E% SMI"
5d4512d8c3a70094ff3e941667007a42925f73e2jorton#
5d4512d8c3a70094ff3e941667007a42925f73e2jorton# This makefile drives the production of the uhci driver kernel module.
5d4512d8c3a70094ff3e941667007a42925f73e2jorton#
5d4512d8c3a70094ff3e941667007a42925f73e2jorton
f2e009134c7e279f99dfca5bd421f721bf1f7840jorton#
f2e009134c7e279f99dfca5bd421f721bf1f7840jorton# Path to the base of the uts directory tree (usually /usr/src/uts).
f2e009134c7e279f99dfca5bd421f721bf1f7840jorton#
f2e009134c7e279f99dfca5bd421f721bf1f7840jortonUTSBASE = ../..
f2e009134c7e279f99dfca5bd421f721bf1f7840jorton
135402675e89e6df0e17735e48f428a1e1d8eb16pquerna#
135402675e89e6df0e17735e48f428a1e1d8eb16pquerna# Define the module and object file sets.
135402675e89e6df0e17735e48f428a1e1d8eb16pquerna#
135402675e89e6df0e17735e48f428a1e1d8eb16pquernaMODULE = uhci
e4b96ba15dc8b2b27d251d53e29b86da32cd5066pquernaOBJECTS = $(UHCI_OBJS:%=$(OBJS_DIR)/%)
e4b96ba15dc8b2b27d251d53e29b86da32cd5066pquernaLINTS = $(UHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
4233b18553d723a4e22d6126866f05e3d842f781covenerROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
4233b18553d723a4e22d6126866f05e3d842f781covenerCONF_SRCDIR = $(UTSBASE)/common/io/usb/hcd/uhci
4233b18553d723a4e22d6126866f05e3d842f781covener
4233b18553d723a4e22d6126866f05e3d842f781covener#
4233b18553d723a4e22d6126866f05e3d842f781covener# Include common rules.
c4313e35bed51fd5525e60333eb5d64021ab5057jerenkrantz#
c4313e35bed51fd5525e60333eb5d64021ab5057jerenkrantzinclude $(UTSBASE)/intel/Makefile.intel
c4313e35bed51fd5525e60333eb5d64021ab5057jerenkrantz
5b4d25005978c3667f44fbd5dcbd4cc34e9c714djerenkrantz#
5b4d25005978c3667f44fbd5dcbd4cc34e9c714djerenkrantz# Define targets
5b4d25005978c3667f44fbd5dcbd4cc34e9c714djerenkrantz#
236675b0526bbf82edb9a34e9b10be56cc10b9cdjimALL_TARGET = $(BINARY) $(SRC_CONFFILE)
236675b0526bbf82edb9a34e9b10be56cc10b9cdjimLINT_TARGET = $(MODULE).lint
236675b0526bbf82edb9a34e9b10be56cc10b9cdjimINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
7e852fc77c66ea1edb4e88808bb75ecd3603a2e5wrowe
7e852fc77c66ea1edb4e88808bb75ecd3603a2e5wrowe#
7e852fc77c66ea1edb4e88808bb75ecd3603a2e5wrowe# Override defaults to build a unique, local modstubs.o.
7e852fc77c66ea1edb4e88808bb75ecd3603a2e5wrowe#
7e852fc77c66ea1edb4e88808bb75ecd3603a2e5wroweMODSTUBS_DIR = $(OBJS_DIR)
e5106092b7fae78cec4898042a78a10acccb4cacwroweCLEANFILES += $(MODSTUBS_O)
e5106092b7fae78cec4898042a78a10acccb4cacwrowe
e5106092b7fae78cec4898042a78a10acccb4cacwrowe#
e5106092b7fae78cec4898042a78a10acccb4cacwrowe# depends on misc/usba
e5106092b7fae78cec4898042a78a10acccb4cacwrowe#
e5106092b7fae78cec4898042a78a10acccb4cacwroweLDFLAGS += -dy -Nmisc/usba
e5106092b7fae78cec4898042a78a10acccb4cacwrowe
470d223738c1dfc4e07c7fae5d186e9dfadd9643jorton#
470d223738c1dfc4e07c7fae5d186e9dfadd9643jorton# Default build targets.
470d223738c1dfc4e07c7fae5d186e9dfadd9643jorton#
81bd9331da3bd0f53255d52b1475480ff3a4b395trawick.KEEP_STATE:
81bd9331da3bd0f53255d52b1475480ff3a4b395trawick
81bd9331da3bd0f53255d52b1475480ff3a4b395trawickdef: $(DEF_DEPS)
cd3bbd6d2df78d6c75e5d159a81ef8bdd5f70df9trawick
cd3bbd6d2df78d6c75e5d159a81ef8bdd5f70df9trawickall: $(ALL_DEPS)
cd3bbd6d2df78d6c75e5d159a81ef8bdd5f70df9trawick
cd3bbd6d2df78d6c75e5d159a81ef8bdd5f70df9trawickclean: $(CLEAN_DEPS)
c7c8dd19c90c5ee7205ccdf443585d14da3daecechrisd
c7c8dd19c90c5ee7205ccdf443585d14da3daecechrisdclobber: $(CLOBBER_DEPS)
c7c8dd19c90c5ee7205ccdf443585d14da3daecechrisd
c7c8dd19c90c5ee7205ccdf443585d14da3daecechrisdlint: $(LINT_DEPS)
13ce20bba632871d7ceb413f39dc73c718ddec7dchrisd
c7c8dd19c90c5ee7205ccdf443585d14da3daecechrisdmodlintlib: $(MODLINTLIB_DEPS)
421e0a5d1c49de76406f61e9abef271af2336c31rpluem
421e0a5d1c49de76406f61e9abef271af2336c31rpluemclean.lint: $(CLEAN_LINT_DEPS)
421e0a5d1c49de76406f61e9abef271af2336c31rpluem
108ebbb87b2a46f4416ec507824471a483c39fe1sctemmeinstall: $(INSTALL_DEPS)
108ebbb87b2a46f4416ec507824471a483c39fe1sctemme
108ebbb87b2a46f4416ec507824471a483c39fe1sctemme#
108ebbb87b2a46f4416ec507824471a483c39fe1sctemme# Include common targets.
bed7fc979e00a75f76ed79245f003b52e91d40abchrisd#
bed7fc979e00a75f76ed79245f003b52e91d40abchrisdinclude $(UTSBASE)/intel/Makefile.targ
bed7fc979e00a75f76ed79245f003b52e91d40abchrisd