Makefile revision fcf3ce441efd61da9bb2884968af01cb7c1452cc
750f77ade4110c6b2315d6b9e9c22f643914d87drbb# CDDL HEADER START
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolley#
750f77ade4110c6b2315d6b9e9c22f643914d87drbb# The contents of this file are subject to the terms of the
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe# Common Development and Distribution License (the "License").
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe# You may not use this file except in compliance with the License.
750f77ade4110c6b2315d6b9e9c22f643914d87drbb#
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
205d797f9c660398724a3d4a50f96f30f282edd7sf# or http://www.opensolaris.org/os/licensing.
750f77ade4110c6b2315d6b9e9c22f643914d87drbb# See the License for the specific language governing permissions
750f77ade4110c6b2315d6b9e9c22f643914d87drbb# and limitations under the License.
750f77ade4110c6b2315d6b9e9c22f643914d87drbb#
750f77ade4110c6b2315d6b9e9c22f643914d87drbb# When distributing Covered Code, include this CDDL HEADER in each
750f77ade4110c6b2315d6b9e9c22f643914d87drbb# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
750f77ade4110c6b2315d6b9e9c22f643914d87drbb# If applicable, add the following below this CDDL HEADER, with the
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolley# fields enclosed by brackets "[]" replaced with your own identifying
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolley# information: Portions Copyright [yyyy] [name of copyright owner]
45108af9f7bc456c8e9b3bf3ea863f171e6dc9a6jwoolley#
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolley# CDDL HEADER END
3e5667f3bea0b417d0133534d960c5b86c63cf5cgstein#
da5228d14ea8b4afcaa9f8e7b79e5aa87008afbesf#
da5228d14ea8b4afcaa9f8e7b79e5aa87008afbesf# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
da5228d14ea8b4afcaa9f8e7b79e5aa87008afbesf# Use is subject to license terms.
da5228d14ea8b4afcaa9f8e7b79e5aa87008afbesf#
da5228d14ea8b4afcaa9f8e7b79e5aa87008afbesf# uts/intel/sv/Makefile
da5228d14ea8b4afcaa9f8e7b79e5aa87008afbesf#
da5228d14ea8b4afcaa9f8e7b79e5aa87008afbesf# This makefile drives the production of the sv kernel module
da5228d14ea8b4afcaa9f8e7b79e5aa87008afbesf#
da5228d14ea8b4afcaa9f8e7b79e5aa87008afbesf# intel implementation architecture dependent
da5228d14ea8b4afcaa9f8e7b79e5aa87008afbesf#
da5228d14ea8b4afcaa9f8e7b79e5aa87008afbesf
39c36cbd2a461e4fe1bdd0a860db587d420445c7sctemme#
39c36cbd2a461e4fe1bdd0a860db587d420445c7sctemme# Path to the base of the uts directory tree (usually /usr/src/uts).
39c36cbd2a461e4fe1bdd0a860db587d420445c7sctemme#
39c36cbd2a461e4fe1bdd0a860db587d420445c7sctemme#
39c36cbd2a461e4fe1bdd0a860db587d420445c7sctemmeUTSBASE = ../..
39c36cbd2a461e4fe1bdd0a860db587d420445c7sctemme
39c36cbd2a461e4fe1bdd0a860db587d420445c7sctemmeARCHDIR:sh = cd ..; basename `pwd`
39c36cbd2a461e4fe1bdd0a860db587d420445c7sctemme
8744b27bf2f08d2acb55f3e77231ab9b59d5d333jerenkrantz#
8744b27bf2f08d2acb55f3e77231ab9b59d5d333jerenkrantz# Define the module and object file sets.
8744b27bf2f08d2acb55f3e77231ab9b59d5d333jerenkrantz#
8744b27bf2f08d2acb55f3e77231ab9b59d5d333jerenkrantzMODULE = sv
8744b27bf2f08d2acb55f3e77231ab9b59d5d333jerenkrantzOBJECTS = $(SV_OBJS:%=$(OBJS_DIR)/%)
8744b27bf2f08d2acb55f3e77231ab9b59d5d333jerenkrantzLINTS = $(SV_OBJS:%.o=$(LINTS_DIR)/%.ln)
8744b27bf2f08d2acb55f3e77231ab9b59d5d333jerenkrantzROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
39c36cbd2a461e4fe1bdd0a860db587d420445c7sctemmeINC_PATH += -I$(ROOT)/usr/include
39c36cbd2a461e4fe1bdd0a860db587d420445c7sctemmeCONF_SRCDIR = $(UTSBASE)/common/avs/ns/sv
39c36cbd2a461e4fe1bdd0a860db587d420445c7sctemme
39c36cbd2a461e4fe1bdd0a860db587d420445c7sctemme#
39c36cbd2a461e4fe1bdd0a860db587d420445c7sctemme# Include common rules.
3e5667f3bea0b417d0133534d960c5b86c63cf5cgstein#
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolleyinclude ../Makefile.$(ARCHDIR)
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolleyinclude $(UTSBASE)/common/avs/Makefile.com
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolley
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolley#
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolley# Define targets
750f77ade4110c6b2315d6b9e9c22f643914d87drbb#
105475009f541187ba7a14a367547d9404c578befieldingALL_TARGET = $(BINARY) $(SRC_CONFILE)
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolleyLINT_TARGET = $(MODULE).lint
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolleyINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolley
750f77ade4110c6b2315d6b9e9c22f643914d87drbb#
205d797f9c660398724a3d4a50f96f30f282edd7sf# lint pass one enforcement
7a6c08288f79ab1734b98afc114e52cd71f898c0jwoolley#
750f77ade4110c6b2315d6b9e9c22f643914d87drbbCFLAGS += -v
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewroweLDFLAGS += -dy -N"drv/nsctl" -N"drv/nskern" -N"misc/spuni"
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe.KEEP_STATE:
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowedef: $(DEF_DEPS)
205d797f9c660398724a3d4a50f96f30f282edd7sf
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewroweall: $(ALL_DEPS)
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewroweclean: $(CLEAN_DEPS)
205d797f9c660398724a3d4a50f96f30f282edd7sf
39c36cbd2a461e4fe1bdd0a860db587d420445c7sctemmeclobber: $(CLOBBER_DEPS)
205d797f9c660398724a3d4a50f96f30f282edd7sf
39c36cbd2a461e4fe1bdd0a860db587d420445c7sctemmelint: $(LINT_DEPS)
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe
205d797f9c660398724a3d4a50f96f30f282edd7sfmodlintlib: $(MODLINTLIB_DEPS)
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewroweclean.lint: $(CLEAN_LINT_DEPS)
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewroweinstall: $(INSTALL_DEPS)
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe#
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe# Include common targets.
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe#
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewroweinclude ../Makefile.targ
ce4eec7f83c4bc6daba6a02eff0275a6f3878e5ewrowe