Makefile revision 843e19887f64dde75055cf8842fc4db2171eff45
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington#
938440694b33cd752e9e4b71a526368b4811c177Tinderbox User# CDDL HEADER START
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# The contents of this file are subject to the terms of the
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater# Common Development and Distribution License (the "License").
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# You may not use this file except in compliance with the License.
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington#
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# or http://www.opensolaris.org/os/licensing.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# See the License for the specific language governing permissions
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# and limitations under the License.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# fields enclosed by brackets "[]" replaced with your own identifying
2eeb74d1cf5355dd98f6d507a10086e16bb08c4bTinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# CDDL HEADER END
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
94bd918b63001277f1b28ae4581645f8a835688fBob Halley# uts/i86xpv/xdf/Makefile
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
94bd918b63001277f1b28ae4581645f8a835688fBob Halley# Use is subject to license terms.
94bd918b63001277f1b28ae4581645f8a835688fBob Halley#
94bd918b63001277f1b28ae4581645f8a835688fBob Halley# ident "%Z%%M% %I% %E% SMI"
94bd918b63001277f1b28ae4581645f8a835688fBob Halley#
94bd918b63001277f1b28ae4581645f8a835688fBob Halley# i86xpv architecture dependent
94bd918b63001277f1b28ae4581645f8a835688fBob Halley#
94bd918b63001277f1b28ae4581645f8a835688fBob Halley#
94bd918b63001277f1b28ae4581645f8a835688fBob Halley# Path to the base of the uts directory tree (usually /usr/src/uts).
94bd918b63001277f1b28ae4581645f8a835688fBob Halley#
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyUTSBASE = ../..
94bd918b63001277f1b28ae4581645f8a835688fBob Halley
94bd918b63001277f1b28ae4581645f8a835688fBob Halley#
94bd918b63001277f1b28ae4581645f8a835688fBob Halley# Define the module and object file sets.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinMODULE = xdf
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinOBJECTS = $(XDF_OBJS:%=$(OBJS_DIR)/%)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinLINTS = $(XDF_OBJS:%.o=$(LINTS_DIR)/%.ln)
c1a883f2e04d94e99c433b1f6cfd0c0338f4ed85Mark AndrewsROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
cfa2326b5c96a3a4c720262e077b2baf9fc27970Tinderbox User
938440694b33cd752e9e4b71a526368b4811c177Tinderbox User#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Include common rules.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude $(UTSBASE)/i86xpv/Makefile.i86xpv
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
f5d30e2864e048a42c4dc1134993ae7efdb5d6c3Mark Andrews# Define targets
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinALL_TARGET = $(BINARY)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob AusteinLINT_TARGET = $(MODULE).lint
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
94bd918b63001277f1b28ae4581645f8a835688fBob Halley# Overrides
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyLDFLAGS += -dy -Nmisc/cmlb
94bd918b63001277f1b28ae4581645f8a835688fBob Halley
94bd918b63001277f1b28ae4581645f8a835688fBob HalleyLINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Default build targets.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein.KEEP_STATE:
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeindef: $(DEF_DEPS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinall: $(ALL_DEPS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinclean: $(CLEAN_DEPS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinclobber: $(CLOBBER_DEPS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinlint: $(LINT_DEPS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinmodlintlib: $(MODLINTLIB_DEPS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeinclean.lint: $(CLEAN_LINT_DEPS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininstall: $(INSTALL_DEPS)
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein# Include common targets.
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein#
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austeininclude $(UTSBASE)/i86xpv/Makefile.targ
268a4475065fe6a8cd7cc707820982cf5e98f430Rob Austein