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