Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
246N/A#
246N/A# CDDL HEADER START
246N/A#
246N/A# The contents of this file are subject to the terms of the
246N/A# Common Development and Distribution License (the "License").
246N/A# You may not use this file except in compliance with the License.
246N/A#
246N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
246N/A# or http://www.opensolaris.org/os/licensing.
246N/A# See the License for the specific language governing permissions
246N/A# and limitations under the License.
246N/A#
246N/A# When distributing Covered Code, include this CDDL HEADER in each
246N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
246N/A# If applicable, add the following below this CDDL HEADER, with the
246N/A# fields enclosed by brackets "[]" replaced with your own identifying
246N/A# information: Portions Copyright [yyyy] [name of copyright owner]
246N/A#
246N/A# CDDL HEADER END
246N/A#
844N/A#
246N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
246N/A# Use is subject to license terms.
246N/A#
246N/A#ident "%Z%%M% %I% %E% SMI"
649N/A#
618N/A# This makefile drives the production of the kernel component of
246N/A# the lx brand
246N/A#
246N/A
844N/A#
844N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
1273N/A#
246N/AUTSBASE = ../..
246N/A
246N/A#
246N/A# Path to where brand common sources live
246N/A#
246N/ALX_CMN = $(SRC)/common/brand/lx
246N/A
246N/A#
246N/A# Define the module and object file sets.
246N/A#
246N/AMODULE = lx_brand
246N/AOBJECTS = $(LX_BRAND_OBJS:%=$(OBJS_DIR)/%)
246N/ALINTS = $(LX_BRAND_OBJS:%.o=$(LINTS_DIR)/%.ln)
246N/AROOTMODULE = $(ROOT_BRAND_DIR)/$(MODULE)
246N/A
246N/A#
246N/A# Include common rules.
246N/A#
246N/Ainclude $(UTSBASE)/intel/Makefile.intel
246N/A
246N/A#
246N/A# Define targets
246N/A#
246N/AALL_TARGET = $(BINARY)
246N/ALINT_TARGET = $(MODULE).lint
246N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
246N/A
246N/AINC_PATH += -I$(UTSBASE)/common/brand/lx -I$(LX_CMN)
#
# lint pass one enforcement
#
CFLAGS += $(CCVERBOSE)
LDFLAGS += -dy -Nexec/elfexec
#
# 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_ASSIGN_NARROW_CONV
LINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
#
# 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
#
# Include brand-specific rules
#
include $(UTSBASE)/intel/lx_brand/Makefile.rules