Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
4d237bbe075b1d2c19428cd954d721d65b31f67cwrowe#
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# CDDL HEADER START
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna#
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# The contents of this file are subject to the terms of the
86bb763be5d87c295c8844d30078da2ddb964f73rpluem# Common Development and Distribution License (the "License").
86bb763be5d87c295c8844d30078da2ddb964f73rpluem# You may not use this file except in compliance with the License.
ba217dc41cebc0976010ee177f8fedac782d1f6fminfrin#
ba217dc41cebc0976010ee177f8fedac782d1f6fminfrin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
86bb763be5d87c295c8844d30078da2ddb964f73rpluem# or http://www.opensolaris.org/os/licensing.
86bb763be5d87c295c8844d30078da2ddb964f73rpluem# See the License for the specific language governing permissions
ba217dc41cebc0976010ee177f8fedac782d1f6fminfrin# and limitations under the License.
ba217dc41cebc0976010ee177f8fedac782d1f6fminfrin#
23247a8f748077bc788a5fbaf91d5fad34d0b7d1sf# When distributing Covered Code, include this CDDL HEADER in each
23247a8f748077bc788a5fbaf91d5fad34d0b7d1sf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
23247a8f748077bc788a5fbaf91d5fad34d0b7d1sf# If applicable, add the following below this CDDL HEADER, with the
23247a8f748077bc788a5fbaf91d5fad34d0b7d1sf# fields enclosed by brackets "[]" replaced with your own identifying
58015652ffe00f004c6404a0631474f23dadc7dasf# information: Portions Copyright [yyyy] [name of copyright owner]
58015652ffe00f004c6404a0631474f23dadc7dasf#
58015652ffe00f004c6404a0631474f23dadc7dasf# CDDL HEADER END
2af38cc44e48753913565b38a7a9f325f898a293minfrin#
2af38cc44e48753913565b38a7a9f325f898a293minfrin
745417156908df54538ca284b382ce8d27b30066minfrin#
2af38cc44e48753913565b38a7a9f325f898a293minfrin# uts/i86xpv/xenbus/Makefile
fc2f0972572614b50523bc5ddb3f866ca4acd2f0sf#
fc2f0972572614b50523bc5ddb3f866ca4acd2f0sf# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
fc2f0972572614b50523bc5ddb3f866ca4acd2f0sf# Use is subject to license terms.
251430bcaff1fa6a77953bfe56475eb6cc7abc78sf#
251430bcaff1fa6a77953bfe56475eb6cc7abc78sf
251430bcaff1fa6a77953bfe56475eb6cc7abc78sf#
7b467aa53854c95318a1c709709c1619a4f47118minfrin# This makefile drives the production of the xenbus
7b467aa53854c95318a1c709709c1619a4f47118minfrin# xenstore driver kernel module.
7b467aa53854c95318a1c709709c1619a4f47118minfrin#
7b467aa53854c95318a1c709709c1619a4f47118minfrin# i86xpv architecture dependent
7ba7402d405dc9e3c1083e34049ed933472ca910poirier#
7ba7402d405dc9e3c1083e34049ed933472ca910poirier
7ba7402d405dc9e3c1083e34049ed933472ca910poirier#
7ba7402d405dc9e3c1083e34049ed933472ca910poirier# Path to the base of the uts directory tree (usually /usr/src/uts).
7ba7402d405dc9e3c1083e34049ed933472ca910poirier#
4286d2e267e788d856092bf2ccf461e7ca99570frpluemUTSBASE = ../..
4286d2e267e788d856092bf2ccf461e7ca99570frpluem
4286d2e267e788d856092bf2ccf461e7ca99570frpluem#
4286d2e267e788d856092bf2ccf461e7ca99570frpluem# Define the module and object file sets.
5357892a1e367372dc2d4a315156e3e44dc5d56dpoirier#
5357892a1e367372dc2d4a315156e3e44dc5d56dpoirierMODULE = xenbus
5357892a1e367372dc2d4a315156e3e44dc5d56dpoirierOBJECTS = $(XENBUS_OBJS:%=$(OBJS_DIR)/%)
b42af5f6edf4fe4b820288c37920a7a6fd65f1f1poirierLINTS = $(XENBUS_OBJS:%.o=$(LINTS_DIR)/%.ln)
b42af5f6edf4fe4b820288c37920a7a6fd65f1f1poirierROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
b42af5f6edf4fe4b820288c37920a7a6fd65f1f1poirier
49cea03e96dc4707bce15d6318eb013cb8668d96minfrin#
49cea03e96dc4707bce15d6318eb013cb8668d96minfrin# Include common rules.
49cea03e96dc4707bce15d6318eb013cb8668d96minfrin#
49cea03e96dc4707bce15d6318eb013cb8668d96minfrininclude $(UTSBASE)/i86xpv/Makefile.i86xpv
847b3922f7dcde6830f4aad49d29c84b4569c260minfrin
63eaa8ed62d63de0a44346b8af48e08e562db01eminfrin#
63eaa8ed62d63de0a44346b8af48e08e562db01eminfrin# Define targets
847b3922f7dcde6830f4aad49d29c84b4569c260minfrin#
1af2b28846e2647963db788b081676884fb7df8crpluemALL_TARGET = $(BINARY)
1af2b28846e2647963db788b081676884fb7df8crpluemLINT_TARGET = $(MODULE).lint
1af2b28846e2647963db788b081676884fb7df8crpluemINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
845258fbf5102b8b09fe9b7f4cb4ea4c089344c3poirier
845258fbf5102b8b09fe9b7f4cb4ea4c089344c3poirierLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
845258fbf5102b8b09fe9b7f4cb4ea4c089344c3poirier
5d36cddfe00d5c6ad18845fcc04e6f7662050fafminfrinCERRWARN += -_gcc=-Wno-parentheses
5d36cddfe00d5c6ad18845fcc04e6f7662050fafminfrinCERRWARN += -_gcc=-Wno-unused-variable
5d36cddfe00d5c6ad18845fcc04e6f7662050fafminfrin
20aa41f86a5b451529d26d9b901eea69989e5c0aminfrin#
20aa41f86a5b451529d26d9b901eea69989e5c0aminfrin# Default build targets.
20aa41f86a5b451529d26d9b901eea69989e5c0aminfrin#
8c92aeeb75b1b393f61a3e01c495484737a0ff8cminfrin.KEEP_STATE:
8c92aeeb75b1b393f61a3e01c495484737a0ff8cminfrin
8c92aeeb75b1b393f61a3e01c495484737a0ff8cminfrindef: $(DEF_DEPS)
1018201f5223624476334c6e23aead02db7c4040minfrin
1018201f5223624476334c6e23aead02db7c4040minfrinall: $(ALL_DEPS)
e5db2522dbe503cbf5399094b6239c88c246a8c5poirier
e5db2522dbe503cbf5399094b6239c88c246a8c5poirierclean: $(CLEAN_DEPS)
e5db2522dbe503cbf5399094b6239c88c246a8c5poirier
e5db2522dbe503cbf5399094b6239c88c246a8c5poirierclobber: $(CLOBBER_DEPS)
ad7e5e9fb8f63a5155bb392114162997505ff772minfrin
ad7e5e9fb8f63a5155bb392114162997505ff772minfrinlint: $(LINT_DEPS)
ad7e5e9fb8f63a5155bb392114162997505ff772minfrin
ad7e5e9fb8f63a5155bb392114162997505ff772minfrinmodlintlib: $(MODLINTLIB_DEPS)
ad7e5e9fb8f63a5155bb392114162997505ff772minfrin
ad7e5e9fb8f63a5155bb392114162997505ff772minfrinclean.lint: $(CLEAN_LINT_DEPS)
59cb8d601b8c44476e59310f68b9c373d8fc62a6minfrin
59cb8d601b8c44476e59310f68b9c373d8fc62a6minfrininstall: $(INSTALL_DEPS)
59cb8d601b8c44476e59310f68b9c373d8fc62a6minfrin
59cb8d601b8c44476e59310f68b9c373d8fc62a6minfrin#
ec8b1faa56744b338f6d6421144b56c2bb3faae6poirier# Include common targets.
ec8b1faa56744b338f6d6421144b56c2bb3faae6poirier#
10abdcbd7b30d957d15c61ea8100ba97a627ac95minfrininclude $(UTSBASE)/i86xpv/Makefile.targ
10abdcbd7b30d957d15c61ea8100ba97a627ac95minfrin