Makefile revision b65731f1f612238279eb4d997f43589b535c5646
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe#
a601d863bd772fefc4dc82a883589d8be6a44811wrowe# CDDL HEADER START
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe#
a601d863bd772fefc4dc82a883589d8be6a44811wrowe# The contents of this file are subject to the terms of the
a601d863bd772fefc4dc82a883589d8be6a44811wrowe# Common Development and Distribution License, Version 1.0 only
a601d863bd772fefc4dc82a883589d8be6a44811wrowe# (the "License"). You may not use this file except in compliance
a601d863bd772fefc4dc82a883589d8be6a44811wrowe# with the License.
a601d863bd772fefc4dc82a883589d8be6a44811wrowe#
a601d863bd772fefc4dc82a883589d8be6a44811wrowe# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6f51bbc3054846e0c0a897d5f16ceba1726bebc6jerenkrantz# or http://www.opensolaris.org/os/licensing.
6f51bbc3054846e0c0a897d5f16ceba1726bebc6jerenkrantz# See the License for the specific language governing permissions
6f51bbc3054846e0c0a897d5f16ceba1726bebc6jerenkrantz# and limitations under the License.
6f51bbc3054846e0c0a897d5f16ceba1726bebc6jerenkrantz#
6f51bbc3054846e0c0a897d5f16ceba1726bebc6jerenkrantz# When distributing Covered Code, include this CDDL HEADER in each
6f51bbc3054846e0c0a897d5f16ceba1726bebc6jerenkrantz# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a601d863bd772fefc4dc82a883589d8be6a44811wrowe# If applicable, add the following below this CDDL HEADER, with the
ff920f8ae37ba372801b67ea7c3d5bf1dfb55585dreid# fields enclosed by brackets "[]" replaced with your own identifying
ff920f8ae37ba372801b67ea7c3d5bf1dfb55585dreid# information: Portions Copyright [yyyy] [name of copyright owner]
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe#
ff920f8ae37ba372801b67ea7c3d5bf1dfb55585dreid# CDDL HEADER END
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe#
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe#
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe# uts/sparc/fcodem/Makefile
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe#
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe# Use is subject to license terms.
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe#
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe#ident "%Z%%M% %I% %E% SMI"
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe#
ff920f8ae37ba372801b67ea7c3d5bf1dfb55585dreid# This makefile drives the production of the fcodem misc kernel module
a601d863bd772fefc4dc82a883589d8be6a44811wrowe#
a601d863bd772fefc4dc82a883589d8be6a44811wrowe# sparc implementation architecture dependent
a601d863bd772fefc4dc82a883589d8be6a44811wrowe#
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe
a601d863bd772fefc4dc82a883589d8be6a44811wrowe#
a601d863bd772fefc4dc82a883589d8be6a44811wrowe# Path to the base of the uts directory tree (usually /usr/src/uts).
a601d863bd772fefc4dc82a883589d8be6a44811wrowe#
a601d863bd772fefc4dc82a883589d8be6a44811wroweUTSBASE = ../..
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe#
a601d863bd772fefc4dc82a883589d8be6a44811wrowe# Define the module and object file sets.
a601d863bd772fefc4dc82a883589d8be6a44811wrowe#
a601d863bd772fefc4dc82a883589d8be6a44811wroweMODULE = fcodem
a601d863bd772fefc4dc82a883589d8be6a44811wroweOBJECTS = $(FCODEM_OBJS:%=$(OBJS_DIR)/%)
a601d863bd772fefc4dc82a883589d8be6a44811wroweLINTS = $(FCODEM_OBJS:%.o=$(LINTS_DIR)/%.ln)
a601d863bd772fefc4dc82a883589d8be6a44811wroweROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
a601d863bd772fefc4dc82a883589d8be6a44811wrowe
a601d863bd772fefc4dc82a883589d8be6a44811wrowe#
a601d863bd772fefc4dc82a883589d8be6a44811wrowe# Include common rules.
a601d863bd772fefc4dc82a883589d8be6a44811wrowe#
a601d863bd772fefc4dc82a883589d8be6a44811wroweinclude $(UTSBASE)/sparc/Makefile.sparc
a601d863bd772fefc4dc82a883589d8be6a44811wrowe
fc9e01023a2fb7f7af9b25621ab080bbe7a95611jerenkrantz#
a601d863bd772fefc4dc82a883589d8be6a44811wrowe# Define targets
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe#
998a0c99bc22357406f359ace2f602c5d6e376c6wroweALL_TARGET = $(BINARY)
998a0c99bc22357406f359ace2f602c5d6e376c6wroweLINT_TARGET = $(MODULE).lint
998a0c99bc22357406f359ace2f602c5d6e376c6wroweINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe#
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe# Include sun4 specific headers files
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe#
998a0c99bc22357406f359ace2f602c5d6e376c6wroweINC_PATH += -I$(UTSBASE)/sun4
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe# Turn this on once compiler understands v9 in it's backend
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe#INLINES += $(UTSBASE)/sun4/io/fcode.il
bfae8a5d3c37df19dea49b411b109198c7e84a4fbrianp
bfae8a5d3c37df19dea49b411b109198c7e84a4fbrianp#
bfae8a5d3c37df19dea49b411b109198c7e84a4fbrianp# lint pass one enforcement
7dfb10a15cdfd48a23a9aa5713a2deb129821761wrowe#
7dfb10a15cdfd48a23a9aa5713a2deb129821761wroweCFLAGS += $(CCVERBOSE)
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe
998a0c99bc22357406f359ace2f602c5d6e376c6wrowe#
# Turn on doubleword alignment for 64 bit registers
#
CFLAGS += -dalign
#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/sparc/Makefile.targ