Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
235N/A#
235N/A# CDDL HEADER START
822N/A#
822N/A# The contents of this file are subject to the terms of the
822N/A# Common Development and Distribution License (the "License").
235N/A# You may not use this file except in compliance with the License.
1088N/A#
235N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
235N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# uts/intel/trill/Makefile
919N/A#
919N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
919N/A#
235N/A# This makefile drives the production of the TRILL socket kernel
235N/A# module.
235N/A#
822N/A# intel architecture dependent
235N/A#
970N/A
970N/A#
970N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
970N/A#
970N/AUTSBASE = ../..
970N/A
970N/A#
1003N/A# Define the module and object file sets.
970N/A#
235N/AMODULE = trill
981N/AOBJECTS = $(TRILL_OBJS:%=$(OBJS_DIR)/%)
235N/ALINTS = $(TRILL_OBJS:%.o=$(LINTS_DIR)/%.ln)
911N/AROOTMODULE = $(ROOT_SOCK_DIR)/$(MODULE)
981N/A
981N/A#
911N/A# Include common rules.
235N/A#
493N/Ainclude $(UTSBASE)/intel/Makefile.intel
493N/A
235N/ACERRWARN += -_gcc=-Wno-uninitialized
235N/A
235N/A#
235N/A# Define targets
822N/A#
235N/AALL_TARGET = $(BINARY)
235N/ALINT_TARGET = $(MODULE).lint
1042N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
235N/A
235N/A#
235N/A# Overrides.
235N/A#
235N/ACFLAGS += $(CCVERBOSE)
851N/ALDFLAGS += -dy -Ndrv/bridge -Nmisc/mac -Nmisc/dls -Nfs/sockfs
851N/A
981N/A#
981N/A# Default build targets.
1088N/A#
1088N/A.KEEP_STATE:
1088N/A
1088N/Adef: $(DEF_DEPS)
1088N/A
822N/Aall: $(ALL_DEPS)
822N/A
981N/Aclean: $(CLEAN_DEPS)
235N/A
970N/Aclobber: $(CLOBBER_DEPS)
970N/A
970N/Alint: $(LINT_DEPS)
970N/A
970N/Amodlintlib: $(MODLINTLIB_DEPS)
970N/A
970N/Aclean.lint: $(CLEAN_LINT_DEPS)
947N/A
235N/Ainstall: $(INSTALL_DEPS)
247N/A
947N/A#
235N/A# Include common targets.
247N/A#
947N/Ainclude $(UTSBASE)/intel/Makefile.targ
947N/A