Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
f743002678eb67b99bbc29fee116b65d9530fec0wrowe#
415bb21f281e9b4f905d5893fede9165bdf1491bjim# CDDL HEADER START
415bb21f281e9b4f905d5893fede9165bdf1491bjim#
f743002678eb67b99bbc29fee116b65d9530fec0wrowe# The contents of this file are subject to the terms of the
f743002678eb67b99bbc29fee116b65d9530fec0wrowe# Common Development and Distribution License (the "License").
f743002678eb67b99bbc29fee116b65d9530fec0wrowe# You may not use this file except in compliance with the License.
f743002678eb67b99bbc29fee116b65d9530fec0wrowe#
2cd2891cea784de97020bcada4e834e224428d0ccovener# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2cd2891cea784de97020bcada4e834e224428d0ccovener# or http://www.opensolaris.org/os/licensing.
2cd2891cea784de97020bcada4e834e224428d0ccovener# See the License for the specific language governing permissions
2cd2891cea784de97020bcada4e834e224428d0ccovener# and limitations under the License.
1f9c3dc1ba4b56b2c14f40db86f532114504b5cfwrowe#
1f9c3dc1ba4b56b2c14f40db86f532114504b5cfwrowe# When distributing Covered Code, include this CDDL HEADER in each
2cd2891cea784de97020bcada4e834e224428d0ccovener# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6e3c52ed5ba88bb05d3535c6257a61faeec22388minfrin# If applicable, add the following below this CDDL HEADER, with the
6e3c52ed5ba88bb05d3535c6257a61faeec22388minfrin# fields enclosed by brackets "[]" replaced with your own identifying
6e3c52ed5ba88bb05d3535c6257a61faeec22388minfrin# information: Portions Copyright [yyyy] [name of copyright owner]
aa8ce00557e35b6042be4afa1684b2322def4520covener#
aa8ce00557e35b6042be4afa1684b2322def4520covener# CDDL HEADER END
aa8ce00557e35b6042be4afa1684b2322def4520covener#
b80324fbe463460d1c847b88ffe2132f92ce5587sf#
b80324fbe463460d1c847b88ffe2132f92ce5587sf# uts/sun4u/todds1287/Makefile
b80324fbe463460d1c847b88ffe2132f92ce5587sf# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5fb413c5191ff4ca01e1f6a9ad09ea8bbb2759a7wrowe# Use is subject to license terms.
5fb413c5191ff4ca01e1f6a9ad09ea8bbb2759a7wrowe#
5fb413c5191ff4ca01e1f6a9ad09ea8bbb2759a7wrowe
dbcebab5451c15100d22ef5a1cd0c80237e33a93sf#
dbcebab5451c15100d22ef5a1cd0c80237e33a93sf# This makefile drives the production of todds1287 kernel module.
dbcebab5451c15100d22ef5a1cd0c80237e33a93sf#
e9356fde2e4fff8dab7eb6006ed1c476973796c5sf# sun4u implementation architecture dependent
e9356fde2e4fff8dab7eb6006ed1c476973796c5sf#
e9356fde2e4fff8dab7eb6006ed1c476973796c5sf
e9356fde2e4fff8dab7eb6006ed1c476973796c5sf#
e9356fde2e4fff8dab7eb6006ed1c476973796c5sf# Path to the base of the uts directory tree (usually /usr/src/uts).
aaea51ff28093213376b9b8f63de07db53436223sf#
aaea51ff28093213376b9b8f63de07db53436223sfUTSBASE = ../..
aaea51ff28093213376b9b8f63de07db53436223sf
276fc07643ddb8c178a35b79ae4fe27596f37739sf#
276fc07643ddb8c178a35b79ae4fe27596f37739sf# Define the module and object file sets.
276fc07643ddb8c178a35b79ae4fe27596f37739sf#
67746e0d18eeceb247fc940148c9b4d358929643sfMODULE = todds1287
67746e0d18eeceb247fc940148c9b4d358929643sfOBJECTS = $(TODDS1287_OBJS:%=$(OBJS_DIR)/%)
67746e0d18eeceb247fc940148c9b4d358929643sfLINTS = $(TODDS1287_OBJS:%.o=$(LINTS_DIR)/%.ln)
67746e0d18eeceb247fc940148c9b4d358929643sfROOTMODULE = $(ROOT_PSM_TOD_DIR)/$(MODULE)
17aeaeb2e4c4cde18ebc5231d959197e3e35e821sf
17aeaeb2e4c4cde18ebc5231d959197e3e35e821sf#
17aeaeb2e4c4cde18ebc5231d959197e3e35e821sf# Include common rules.
17aeaeb2e4c4cde18ebc5231d959197e3e35e821sf#
79acb56fc63b66848d0f6f35fc272a938b819f8dtrawickinclude $(UTSBASE)/sun4u/Makefile.sun4u
675e4332325dd31c8188c23608828f69d30e9906sf
675e4332325dd31c8188c23608828f69d30e9906sf#
fa8e640eeec5c0b3db42e13f1df0bafd0d89d56fsf# Define targets
fa8e640eeec5c0b3db42e13f1df0bafd0d89d56fsf#
fa8e640eeec5c0b3db42e13f1df0bafd0d89d56fsfALL_TARGET = $(BINARY)
9fb3d1792a78003c60a8f0fdbef30a372b39452esfLINT_TARGET = $(MODULE).lint
9fb3d1792a78003c60a8f0fdbef30a372b39452esfINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
9fb3d1792a78003c60a8f0fdbef30a372b39452esf
9fb3d1792a78003c60a8f0fdbef30a372b39452esf#
2c238b83c08ac2d040d9057b1ba83ba7f71138b7kbrand# lint pass one enforcement
2c238b83c08ac2d040d9057b1ba83ba7f71138b7kbrand#
2c238b83c08ac2d040d9057b1ba83ba7f71138b7kbrandCFLAGS += $(CCVERBOSE)
2c238b83c08ac2d040d9057b1ba83ba7f71138b7kbrand
067fc2710958d8d2a276cd8e54284a178d232a8bsf#
067fc2710958d8d2a276cd8e54284a178d232a8bsf# For now, disable these lint checks; maintainers should endeavor
067fc2710958d8d2a276cd8e54284a178d232a8bsf# to investigate and remove these for maximum lint coverage.
40a9ce7a0e17b10b08693f98ed4f64e456ef69a1kbrand# Please do not carry these forward to new Makefiles.
40a9ce7a0e17b10b08693f98ed4f64e456ef69a1kbrand#
40a9ce7a0e17b10b08693f98ed4f64e456ef69a1kbrandLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
3a59bb90be3bc6246632384c3d885b875ae507d5sf
3a59bb90be3bc6246632384c3d885b875ae507d5sfCERRWARN += -_gcc=-Wno-uninitialized
3a59bb90be3bc6246632384c3d885b875ae507d5sf
3a59bb90be3bc6246632384c3d885b875ae507d5sf#
c9d1b78375e7ce7c2ccd7162d48da0eb84631bd3covener# Default build targets.
c9d1b78375e7ce7c2ccd7162d48da0eb84631bd3covener#
c9d1b78375e7ce7c2ccd7162d48da0eb84631bd3covener.KEEP_STATE:
f7407ba6bea5ed1151cfcefcfa774b531c26eecdrpluem
f7407ba6bea5ed1151cfcefcfa774b531c26eecdrpluemdef: $(DEF_DEPS)
f7407ba6bea5ed1151cfcefcfa774b531c26eecdrpluem
f7407ba6bea5ed1151cfcefcfa774b531c26eecdrpluemall: $(ALL_DEPS)
650d8321b62cccd1830684935bb5362b4c495b17sf
650d8321b62cccd1830684935bb5362b4c495b17sfclean: $(CLEAN_DEPS)
650d8321b62cccd1830684935bb5362b4c495b17sf
7bf4eb9638a127fbfbc402d2c0e4ec0085934cf0sfclobber: $(CLOBBER_DEPS)
7bf4eb9638a127fbfbc402d2c0e4ec0085934cf0sf
f7acc4b00a8bf92fea10fce6ac09aa57eafec0ecjimlint: $(LINT_DEPS)
f7acc4b00a8bf92fea10fce6ac09aa57eafec0ecjim
f7acc4b00a8bf92fea10fce6ac09aa57eafec0ecjimmodlintlib: $(MODLINTLIB_DEPS)
f7acc4b00a8bf92fea10fce6ac09aa57eafec0ecjim
f7acc4b00a8bf92fea10fce6ac09aa57eafec0ecjimclean.lint: $(CLEAN_LINT_DEPS)
03944c8577b204701c849fce01f3fcb423a615f1covener
03944c8577b204701c849fce01f3fcb423a615f1covenerinstall: $(INSTALL_DEPS)
03944c8577b204701c849fce01f3fcb423a615f1covener
03944c8577b204701c849fce01f3fcb423a615f1covener#
f97e1288a50b3da1022b515d84bc57a5091f2fefcovener# Include common targets.
f97e1288a50b3da1022b515d84bc57a5091f2fefcovener#
f97e1288a50b3da1022b515d84bc57a5091f2fefcovenerinclude $(UTSBASE)/sun4u/Makefile.targ
f97e1288a50b3da1022b515d84bc57a5091f2fefcovener
7a975d0413ba303546b7619e4785cb641f7f09fdcovener