Makefile revision fcf3ce441efd61da9bb2884968af01cb7c1452cc
842ae4bd224140319ae7feec1872b93dfd491143fielding# CDDL HEADER START
842ae4bd224140319ae7feec1872b93dfd491143fielding#
842ae4bd224140319ae7feec1872b93dfd491143fielding# The contents of this file are subject to the terms of the
842ae4bd224140319ae7feec1872b93dfd491143fielding# Common Development and Distribution License (the "License").
842ae4bd224140319ae7feec1872b93dfd491143fielding# You may not use this file except in compliance with the License.
842ae4bd224140319ae7feec1872b93dfd491143fielding#
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
04891cf70e0bfc38bfb027541dc821f04c754ff7nd# or http://www.opensolaris.org/os/licensing.
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding# See the License for the specific language governing permissions
04891cf70e0bfc38bfb027541dc821f04c754ff7nd# and limitations under the License.
04891cf70e0bfc38bfb027541dc821f04c754ff7nd#
04891cf70e0bfc38bfb027541dc821f04c754ff7nd# When distributing Covered Code, include this CDDL HEADER in each
04891cf70e0bfc38bfb027541dc821f04c754ff7nd# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
04891cf70e0bfc38bfb027541dc821f04c754ff7nd# If applicable, add the following below this CDDL HEADER, with the
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding# fields enclosed by brackets "[]" replaced with your own identifying
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding# information: Portions Copyright [yyyy] [name of copyright owner]
e8f95a682820a599fe41b22977010636be5c2717jim#
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding# CDDL HEADER END
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding#
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding#
fc9b2e8809c305f340d86a789566f8abb1ca8a19martin# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
fc9b2e8809c305f340d86a789566f8abb1ca8a19martin# Use is subject to license terms.
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding#
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding# uts/sparc/ncall/Makefile
fc9b2e8809c305f340d86a789566f8abb1ca8a19martin#
fc9b2e8809c305f340d86a789566f8abb1ca8a19martin# This makefile drives the production of the ncall kernel module
fc9b2e8809c305f340d86a789566f8abb1ca8a19martin#
fc9b2e8809c305f340d86a789566f8abb1ca8a19martin# sparc implementation architecture dependent
572f5b8a84bb399e51b02a562776f4aec119aa95pquerna#
9c6bbd67082b5a47fb17cfa5b61b8a7e1fb01875pquerna
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding#
e8f95a682820a599fe41b22977010636be5c2717jim# Path to the base of the uts directory tree (usually /usr/src/uts).
b0bd17753ab27dbe1e9aa66565beaa33e02241e3pquerna#
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding#
e8f95a682820a599fe41b22977010636be5c2717jimUTSBASE = ../..
b0bd17753ab27dbe1e9aa66565beaa33e02241e3pquerna
0f081398cf0eef8cc7c66a535d450110a92dc8aefieldingARCHDIR:sh = cd ..; basename `pwd`
b0bd17753ab27dbe1e9aa66565beaa33e02241e3pquerna
b0bd17753ab27dbe1e9aa66565beaa33e02241e3pquerna#
e8f95a682820a599fe41b22977010636be5c2717jim# Define the module and object file sets.
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding#
0f081398cf0eef8cc7c66a535d450110a92dc8aefieldingMODULE = ncall
9c6bbd67082b5a47fb17cfa5b61b8a7e1fb01875pquernaOBJECTS = $(NCALL_OBJS:%=$(OBJS_DIR)/%)
9c6bbd67082b5a47fb17cfa5b61b8a7e1fb01875pquernaLINTS = $(NCALL_OBJS:%.o=$(LINTS_DIR)/%.ln)
9c6bbd67082b5a47fb17cfa5b61b8a7e1fb01875pquernaROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
9c6bbd67082b5a47fb17cfa5b61b8a7e1fb01875pquernaINC_PATH += -I$(ROOT)/usr/include
9c6bbd67082b5a47fb17cfa5b61b8a7e1fb01875pquernaCONF_SRCDIR = $(UTSBASE)/common/avs/ncall
9c6bbd67082b5a47fb17cfa5b61b8a7e1fb01875pquerna
9c6bbd67082b5a47fb17cfa5b61b8a7e1fb01875pquerna#
75c6595339aacfce489ec67b79e610f921c67751wrowe# Include common rules.
75c6595339aacfce489ec67b79e610f921c67751wrowe#
0f081398cf0eef8cc7c66a535d450110a92dc8aefieldinginclude $(UTSBASE)/sparc/Makefile.$(ARCHDIR)
0f081398cf0eef8cc7c66a535d450110a92dc8aefieldinginclude $(UTSBASE)/common/avs/Makefile.com
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding#
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding# Define targets
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding#
03e76ec3a3fd1602bd3cdc80479c769c5bc505a6pquernaALL_TARGET = $(BINARY) $(SRC_CONFILE)
0e161c3b556697af1dd88b719c05d3af239682d5dougmLINT_TARGET = $(MODULE).lint
0f081398cf0eef8cc7c66a535d450110a92dc8aefieldingINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
9a0d076511763b559a755133f6a182e6c24ef643rbb
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding#
63a2b23aa46d7c800061bcb79b7406fd6545679apquerna# lint pass one enforcement
63a2b23aa46d7c800061bcb79b7406fd6545679apquerna#
63a2b23aa46d7c800061bcb79b7406fd6545679apquernaCFLAGS += -v -D_SYSCALL32
63a2b23aa46d7c800061bcb79b7406fd6545679apquernaLINT_DEFS += -D_SYSCALL32
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding.KEEP_STATE:
63a2b23aa46d7c800061bcb79b7406fd6545679apquerna
63a2b23aa46d7c800061bcb79b7406fd6545679apquernadef: $(DEF_DEPS)
1ccd992d37d62c8cb2056126f2234f64ec189bfddougm
0f081398cf0eef8cc7c66a535d450110a92dc8aefieldingall: $(ALL_DEPS)
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding
3d96ee83babeec32482c9082c9426340cee8c44dwroweclean: $(CLEAN_DEPS)
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding
03e76ec3a3fd1602bd3cdc80479c769c5bc505a6pquernaclobber: $(CLOBBER_DEPS)
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding
63a2b23aa46d7c800061bcb79b7406fd6545679apquernalint: $(LINT_DEPS)
63a2b23aa46d7c800061bcb79b7406fd6545679apquerna
0f081398cf0eef8cc7c66a535d450110a92dc8aefieldingmodlintlib: $(MODLINTLIB_DEPS)
066877f1a045103acfdd376d48cdd473c33f409bdougm
0f081398cf0eef8cc7c66a535d450110a92dc8aefieldingclean.lint: $(CLEAN_LINT_DEPS)
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding
0f081398cf0eef8cc7c66a535d450110a92dc8aefieldinginstall: $(INSTALL_DEPS)
63a2b23aa46d7c800061bcb79b7406fd6545679apquerna
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding#
63a2b23aa46d7c800061bcb79b7406fd6545679apquerna# Include common targets.
63a2b23aa46d7c800061bcb79b7406fd6545679apquerna#
0f081398cf0eef8cc7c66a535d450110a92dc8aefieldinginclude ../Makefile.targ
0f081398cf0eef8cc7c66a535d450110a92dc8aefielding