Makefile revision 91e1058474884b4b6f1d3665a96ddeb9a30cd489
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger#
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger# CDDL HEADER START
8d050e0562ded9f29d349f3589d870fe9121f7e2henning mueller#
4e7975a0b641622d0e51ac45e727bc0a8cfdb0a2Eugen Kuksa# The contents of this file are subject to the terms of the
214b17ce5309c42f31fa6df96778cc9c85ae927dEugen Kuksa# Common Development and Distribution License (the "License").
b3d0a03d866957dacb2ef7ae7805c91e09fc858cEugen Kuksa# You may not use this file except in compliance with the License.
5422b48ab5841a2909cd9e53905dae4cd8418f0aJulian Kornberger#
8d050e0562ded9f29d349f3589d870fe9121f7e2henning mueller# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4b8c0f56a6a49c41dd0e9fdd28a27c4f35e2a208Julian Kornberger# or http://www.opensolaris.org/os/licensing.
9337e8c9590bbc8ad58d26bba312236c6328cc9dEugen Kuksa# See the License for the specific language governing permissions
8d050e0562ded9f29d349f3589d870fe9121f7e2henning mueller# and limitations under the License.
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger#
2d0fe7a0a3c1fa2ac6ec083e854b281a26f889bfTim Reddehase# When distributing Covered Code, include this CDDL HEADER in each
2d0fe7a0a3c1fa2ac6ec083e854b281a26f889bfTim Reddehase# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
28042dd9ac50a328466a3dd0464b6e26a7c8796dEugen Kuksa# If applicable, add the following below this CDDL HEADER, with the
28042dd9ac50a328466a3dd0464b6e26a7c8796dEugen Kuksa# fields enclosed by brackets "[]" replaced with your own identifying
28042dd9ac50a328466a3dd0464b6e26a7c8796dEugen Kuksa# information: Portions Copyright [yyyy] [name of copyright owner]
764fc58505e0ba997a3120ed8da1fd2df4a38c27Eugen Kuksa#
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger# CDDL HEADER END
762e5bc50543ad7e95c8a40b9525a4682c0f1782Eugen Kuksa#
c18eca06bdaab35372205f3ed1779cabc5897709Eugen Kuksa#
4f9d4292c951d1665595f832306c7709be114344Eugen Kuksa# uts/intel/i2o_msg/Makefile
98e5579e27d05587d5602ed4bf7c09d4c2b6fcb1Daniel Couto Vale#
98e5579e27d05587d5602ed4bf7c09d4c2b6fcb1Daniel Couto Vale# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger# Use is subject to license terms.
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger#
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger#ident "%Z%%M% %I% %E% SMI"
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger#
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger# This file makes the i2o_msg kernel misc module for an intel system
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger#
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger# intel architecture dependent
62b1e45efde570fb171801dbe2716d24a4b70ad8Eugen Kuksa#
911977c7a98c3d5eed76105c893e044385e7105cEugen Kuksa
911977c7a98c3d5eed76105c893e044385e7105cEugen Kuksa#
911977c7a98c3d5eed76105c893e044385e7105cEugen Kuksa# Path to the base of the uts directory tree (usually /usr/src/uts).
762e5bc50543ad7e95c8a40b9525a4682c0f1782Eugen Kuksa#
762e5bc50543ad7e95c8a40b9525a4682c0f1782Eugen KuksaUTSBASE = ../..
762e5bc50543ad7e95c8a40b9525a4682c0f1782Eugen Kuksa#
762e5bc50543ad7e95c8a40b9525a4682c0f1782Eugen Kuksa# Define the module and object file sets.
5c4c13ac875d79def115ce3d8443d4ec87b3252aJulian Kornberger#
MODULE = i2o_msg
OBJECTS = $(I2OMSG_OBJS:%=$(OBJS_DIR)/%)
LINTS = $(I2OMSG_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
#
# Include common rules.
#
include $(UTSBASE)/intel/Makefile.intel
#
# Define targets
#
ALL_TARGET = $(BINARY)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Overrides
#
DEF_BUILDS = $(DEF_BUILDS32)
ALL_BUILDS = $(ALL_BUILDS32)
#
# For now, disable these lint checks; maintainers should endeavor
# to investigate and remove these for maximum lint coverage.
# Please do not carry these forward to new Makefiles.
#
LINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
#
# 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)/intel/Makefile.targ