Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
1078b2c97bb39352bae929d2ed3f290a420470a7ianh#
0733b4ac1b339822a5b506be8a28fea6e384cbfetrawick# CDDL HEADER START
1582553026e5e3a1921a34222eaee923fddee9b9wrowe#
1582553026e5e3a1921a34222eaee923fddee9b9wrowe# The contents of this file are subject to the terms of the
1582553026e5e3a1921a34222eaee923fddee9b9wrowe# Common Development and Distribution License, Version 1.0 only
1582553026e5e3a1921a34222eaee923fddee9b9wrowe# (the "License"). You may not use this file except in compliance
1582553026e5e3a1921a34222eaee923fddee9b9wrowe# with the License.
1582553026e5e3a1921a34222eaee923fddee9b9wrowe#
1582553026e5e3a1921a34222eaee923fddee9b9wrowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1582553026e5e3a1921a34222eaee923fddee9b9wrowe# or http://www.opensolaris.org/os/licensing.
1582553026e5e3a1921a34222eaee923fddee9b9wrowe# See the License for the specific language governing permissions
1582553026e5e3a1921a34222eaee923fddee9b9wrowe# and limitations under the License.
1582553026e5e3a1921a34222eaee923fddee9b9wrowe#
1582553026e5e3a1921a34222eaee923fddee9b9wrowe# When distributing Covered Code, include this CDDL HEADER in each
1582553026e5e3a1921a34222eaee923fddee9b9wrowe# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1582553026e5e3a1921a34222eaee923fddee9b9wrowe# If applicable, add the following below this CDDL HEADER, with the
1582553026e5e3a1921a34222eaee923fddee9b9wrowe# fields enclosed by brackets "[]" replaced with your own identifying
1582553026e5e3a1921a34222eaee923fddee9b9wrowe# information: Portions Copyright [yyyy] [name of copyright owner]
1582553026e5e3a1921a34222eaee923fddee9b9wrowe#
bd214bbc8d9db9d6d1dcb6b24462e6d1da8e8bbbstoddard# CDDL HEADER END
bd214bbc8d9db9d6d1dcb6b24462e6d1da8e8bbbstoddard#
bd214bbc8d9db9d6d1dcb6b24462e6d1da8e8bbbstoddard
ae513479ef15ec9f76aa7b0ecb618ecfcdeb211crbb#
ae513479ef15ec9f76aa7b0ecb618ecfcdeb211crbb# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
ae513479ef15ec9f76aa7b0ecb618ecfcdeb211crbb# Use is subject to license terms.
ae513479ef15ec9f76aa7b0ecb618ecfcdeb211crbb#
064448ce15afe798e3c1dc0445fe2a30eb256bf6gregames
064448ce15afe798e3c1dc0445fe2a30eb256bf6gregames#
1078b2c97bb39352bae929d2ed3f290a420470a7ianh# This makefile drives the production of the mc-us3i driver kernel
762c82a23cc3ddaac92f941b2f871e94efdf4e6bgregames# module.
762c82a23cc3ddaac92f941b2f871e94efdf4e6bgregames#
762c82a23cc3ddaac92f941b2f871e94efdf4e6bgregames# sun4u implementation architecture dependent
fb50cf6056a42f94cc9e8eeabea1eb8d05e0aefcaaron#
fb50cf6056a42f94cc9e8eeabea1eb8d05e0aefcaaron
fb50cf6056a42f94cc9e8eeabea1eb8d05e0aefcaaron#
fb50cf6056a42f94cc9e8eeabea1eb8d05e0aefcaaron# Path to the base of the uts directory tree (usually /usr/src/uts).
fb50cf6056a42f94cc9e8eeabea1eb8d05e0aefcaaron#
d56c38bfb6293bfff7c980858b19e32039106618jerenkrantzUTSBASE = ../..
d56c38bfb6293bfff7c980858b19e32039106618jerenkrantz
d56c38bfb6293bfff7c980858b19e32039106618jerenkrantz#
d56c38bfb6293bfff7c980858b19e32039106618jerenkrantz# Define the module and object file sets.
7c301a1818939f85da8f3629cc3e9b5588610ef0jerenkrantz#
7c301a1818939f85da8f3629cc3e9b5588610ef0jerenkrantzMODULE = mc-us3i
7c301a1818939f85da8f3629cc3e9b5588610ef0jerenkrantzOBJECTS = $(MC_US3I_OBJS:%=$(OBJS_DIR)/%)
a7fb6d64e059872d5410e873b7f492d62a5cf916rbbLINTS = $(MC_US3I_OBJS:%.o=$(LINTS_DIR)/%.ln)
a7fb6d64e059872d5410e873b7f492d62a5cf916rbbROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
a7fb6d64e059872d5410e873b7f492d62a5cf916rbb
a7fb6d64e059872d5410e873b7f492d62a5cf916rbb#
a7fb6d64e059872d5410e873b7f492d62a5cf916rbb# Include common rules.
a985ccb3ebd4be0fda23a0ce9ad95fd233089463trawick#
a985ccb3ebd4be0fda23a0ce9ad95fd233089463trawickinclude $(UTSBASE)/sun4u/Makefile.sun4u
a985ccb3ebd4be0fda23a0ce9ad95fd233089463trawick
a985ccb3ebd4be0fda23a0ce9ad95fd233089463trawick#
a985ccb3ebd4be0fda23a0ce9ad95fd233089463trawick# Define targets
af262486b3d1c33299307195a715bd1e373f99afrbb#
af262486b3d1c33299307195a715bd1e373f99afrbbALL_TARGET = $(BINARY)
af262486b3d1c33299307195a715bd1e373f99afrbbLINT_TARGET = $(MODULE).lint
af262486b3d1c33299307195a715bd1e373f99afrbbINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
af262486b3d1c33299307195a715bd1e373f99afrbb
628ce9384209a460022be952ccdcc8538ad3ca84slive#
628ce9384209a460022be952ccdcc8538ad3ca84slive# lint pass one enforcement
628ce9384209a460022be952ccdcc8538ad3ca84slive#
628ce9384209a460022be952ccdcc8538ad3ca84sliveCFLAGS += $(CCVERBOSE)
628ce9384209a460022be952ccdcc8538ad3ca84sliveCERRWARN += -_gcc=-Wno-parentheses
2b9a9a94658c0febcad2f76621b2d5ab856edc6atrawickCERRWARN += -_gcc=-Wno-uninitialized
2b9a9a94658c0febcad2f76621b2d5ab856edc6atrawick
2b9a9a94658c0febcad2f76621b2d5ab856edc6atrawick#
2b9a9a94658c0febcad2f76621b2d5ab856edc6atrawick# Turn on doubleword alignment for 64 bit registers
f6f453bf03007f391d347dc821e507cdd924d1bftrawick#
f6f453bf03007f391d347dc821e507cdd924d1bftrawickCFLAGS += -dalign
f6f453bf03007f391d347dc821e507cdd924d1bftrawick
f6f453bf03007f391d347dc821e507cdd924d1bftrawick#
f6f453bf03007f391d347dc821e507cdd924d1bftrawick# Default build targets.
205f4595abf32ae208958d7f8abea68b335c9f39trawick#
205f4595abf32ae208958d7f8abea68b335c9f39trawick.KEEP_STATE:
205f4595abf32ae208958d7f8abea68b335c9f39trawick
205f4595abf32ae208958d7f8abea68b335c9f39trawickdef: $(DEF_DEPS)
1078b2c97bb39352bae929d2ed3f290a420470a7ianh
1078b2c97bb39352bae929d2ed3f290a420470a7ianhall: $(ALL_DEPS)
1078b2c97bb39352bae929d2ed3f290a420470a7ianh
1078b2c97bb39352bae929d2ed3f290a420470a7ianhclean: $(CLEAN_DEPS)
1078b2c97bb39352bae929d2ed3f290a420470a7ianh
1078b2c97bb39352bae929d2ed3f290a420470a7ianhclobber: $(CLOBBER_DEPS)
1078b2c97bb39352bae929d2ed3f290a420470a7ianh
b6135e7458bf348c694157b042786562d2b86e18ianhlint: $(LINT_DEPS)
a8d5ccbcbde8cb6cf3a9dcf2eb05f393ab76baa9ianh
611e46c801a6bd62e58a7f68abe1d2bbba473a92aaronmodlintlib: $(MODLINTLIB_DEPS)
611e46c801a6bd62e58a7f68abe1d2bbba473a92aaron
611e46c801a6bd62e58a7f68abe1d2bbba473a92aaronclean.lint: $(CLEAN_LINT_DEPS)
611e46c801a6bd62e58a7f68abe1d2bbba473a92aaron
4224d5789080ea5586d49420da1e1996f5653bb5ianhinstall: $(INSTALL_DEPS)
4224d5789080ea5586d49420da1e1996f5653bb5ianh
fd3fa792f04fc9c4e8f5f83dceb0fc34e71f8570ianh#
2d2e3667d789f527a04ce6a0089621470c8143ccmartin# Include common targets.
2d2e3667d789f527a04ce6a0089621470c8143ccmartin#
2d2e3667d789f527a04ce6a0089621470c8143ccmartininclude $(UTSBASE)/sun4u/Makefile.targ
2d2e3667d789f527a04ce6a0089621470c8143ccmartin