Makefile revision 43369e138469651f508b1edd3512f007d1545665
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews#
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews# CDDL HEADER START
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews#
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews# The contents of this file are subject to the terms of the
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews# Common Development and Distribution License, Version 1.0 only
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews# (the "License"). You may not use this file except in compliance
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews# with the License.
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews#
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews# or http://www.opensolaris.org/os/licensing.
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews# See the License for the specific language governing permissions
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews# and limitations under the License.
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews#
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews# If applicable, add the following below this CDDL HEADER, with the
bdfd62f497fe0d5281c25b61271595a4c821a040Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
95317501208f3bf5b159e6a40801b7069f68c486Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
95317501208f3bf5b159e6a40801b7069f68c486Mark Andrews#
95317501208f3bf5b159e6a40801b7069f68c486Mark Andrews# CDDL HEADER END
95317501208f3bf5b159e6a40801b7069f68c486Mark Andrews#
95317501208f3bf5b159e6a40801b7069f68c486Mark Andrews#
95317501208f3bf5b159e6a40801b7069f68c486Mark Andrews# uts/intel/objmgr/Makefile
95317501208f3bf5b159e6a40801b7069f68c486Mark Andrews#
95317501208f3bf5b159e6a40801b7069f68c486Mark Andrews# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
95317501208f3bf5b159e6a40801b7069f68c486Mark Andrews# Use is subject to license terms.
95317501208f3bf5b159e6a40801b7069f68c486Mark Andrews#
95317501208f3bf5b159e6a40801b7069f68c486Mark Andrews#pragma ident "%Z%%M% %I% %E% SMI"
95317501208f3bf5b159e6a40801b7069f68c486Mark Andrews#
95317501208f3bf5b159e6a40801b7069f68c486Mark Andrews# This makefile drives the production of the objmgr "drv"
95317501208f3bf5b159e6a40801b7069f68c486Mark Andrews# kernel module.
95317501208f3bf5b159e6a40801b7069f68c486Mark Andrews#
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews# intel architecture dependent
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews#
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews#
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews# Path to the base of the uts directory tree (usually /usr/src/uts).
01163d188b89911c3a23fe1125a4cab6764a408cMark Andrews#
01163d188b89911c3a23fe1125a4cab6764a408cMark AndrewsUTSBASE = ../..
01163d188b89911c3a23fe1125a4cab6764a408cMark Andrews
01163d188b89911c3a23fe1125a4cab6764a408cMark Andrews#
01163d188b89911c3a23fe1125a4cab6764a408cMark Andrews# Define the module and object file sets.
648ba62b1f156cbca14d54d06c535385f1193d13Mark Andrews#
d9b4174233b951f25cd53a2787b9f14314258c2fMark AndrewsMODULE = objmgr
d9b4174233b951f25cd53a2787b9f14314258c2fMark AndrewsOBJECTS = $(OBJMGR_OBJS:%=$(OBJS_DIR)/%)
d9b4174233b951f25cd53a2787b9f14314258c2fMark AndrewsLINTS = $(OBJMGR_OBJS:%.o=$(LINTS_DIR)/%.ln)
d9b4174233b951f25cd53a2787b9f14314258c2fMark AndrewsROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
d9b4174233b951f25cd53a2787b9f14314258c2fMark AndrewsCONF_SRCDIR = $(UTSBASE)/intel/io/dktp/drvobj
d9b4174233b951f25cd53a2787b9f14314258c2fMark AndrewsITU_SRCDIR = $(UTSBASE)/intel/io/dktp/drvobj
35665db4e49e3e4c0e3776e635449f931f3732cfMark Andrews
c6313caa6cd9d011ac075048d2b62fd3410162dfMark Andrews#
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews# Include common rules.
bdfd62f497fe0d5281c25b61271595a4c821a040Mark Andrews#
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrewsinclude $(UTSBASE)/intel/Makefile.intel
bdfd62f497fe0d5281c25b61271595a4c821a040Mark Andrews
bdfd62f497fe0d5281c25b61271595a4c821a040Mark Andrews#
bdfd62f497fe0d5281c25b61271595a4c821a040Mark Andrews# Define targets
bdfd62f497fe0d5281c25b61271595a4c821a040Mark Andrews#
bdfd62f497fe0d5281c25b61271595a4c821a040Mark AndrewsALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
bdfd62f497fe0d5281c25b61271595a4c821a040Mark AndrewsLINT_TARGET = $(MODULE).lint
bdfd62f497fe0d5281c25b61271595a4c821a040Mark AndrewsINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) $(ROOT_ITUFILE)
bdfd62f497fe0d5281c25b61271595a4c821a040Mark Andrews
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews#
64cde9d94a2f6c7050f00d9651df6b05e63d09f2Mark Andrews# Overrides.
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews#
d9b4174233b951f25cd53a2787b9f14314258c2fMark AndrewsDEBUG_FLGS =
64cde9d94a2f6c7050f00d9651df6b05e63d09f2Mark AndrewsDEBUG_DEFS += $(DEBUG_FLGS)
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews
cbb94d52f98b48e8c3a8866dbf8c67860764f349Mark Andrews#
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews# Default build targets.
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews#
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews.KEEP_STATE:
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrewsdef: $(DEF_DEPS)
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrewsall: $(ALL_DEPS)
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrewsclean: $(CLEAN_DEPS)
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrewsclobber: $(CLOBBER_DEPS)
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrewslint: $(LINT_DEPS)
61a03692ab84504fb2bd85b71facfe0f6456b466Mark Andrews
61a03692ab84504fb2bd85b71facfe0f6456b466Mark Andrewsmodlintlib: $(MODLINTLIB_DEPS)
61a03692ab84504fb2bd85b71facfe0f6456b466Mark Andrews
61a03692ab84504fb2bd85b71facfe0f6456b466Mark Andrewsclean.lint: $(CLEAN_LINT_DEPS)
61a03692ab84504fb2bd85b71facfe0f6456b466Mark Andrews
61a03692ab84504fb2bd85b71facfe0f6456b466Mark Andrewsinstall: $(INSTALL_DEPS)
61a03692ab84504fb2bd85b71facfe0f6456b466Mark Andrews
61a03692ab84504fb2bd85b71facfe0f6456b466Mark Andrews#
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews# Include common targets.
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews#
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrewsinclude $(UTSBASE)/intel/Makefile.targ
d9b4174233b951f25cd53a2787b9f14314258c2fMark Andrews