Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
7f007e36bec06aba6b3a0f84a64f2abf99edfcd8gstein#
50298555098049d0ebddd539668502fb5b796de0wrowe# CDDL HEADER START
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# The contents of this file are subject to the terms of the
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# Common Development and Distribution License (the "License").
45b59e112a5c656da7c1b37f2aabc8371dd71afcrbb# You may not use this file except in compliance with the License.
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbb#
b876b7bcf0ce3d232da723246d709e8dbbfe8762rbb# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
cf6bf6c34c936e6a6fe731dbce4a5c3c8bf8e9a3gstein# or http://www.opensolaris.org/os/licensing.
35330e0d79ceb8027223bbb8330a381b1f989d6etrawick# See the License for the specific language governing permissions
6f6f4a4bca281779d196acbdd5c017bb90858305trawick# and limitations under the License.
8dd4618c4709236b4ea297d7250d282e463ce2d8rbb#
09bd86d0db1114ee23eda0a6eb76ca055877a1cftrawick# When distributing Covered Code, include this CDDL HEADER in each
2deb319e6b3de239f45c16a3e9e836d44f1f7108rbb# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
bd929c73ef04789b7183b840d8db6e01d03a4d86rbb# If applicable, add the following below this CDDL HEADER, with the
70f6f32765cfaadd6da8de6f0fea97ddd72d8fadmanoj# fields enclosed by brackets "[]" replaced with your own identifying
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj# information: Portions Copyright [yyyy] [name of copyright owner]
2a6c49cfaef5979a5a06098f3ce987cd76769409manoj#
531c23ff01a2489646f0a2029097013b328d935agstein# CDDL HEADER END
50298555098049d0ebddd539668502fb5b796de0wrowe#
50298555098049d0ebddd539668502fb5b796de0wrowe#
50298555098049d0ebddd539668502fb5b796de0wrowe# uts/sparc/trill/Makefile
50298555098049d0ebddd539668502fb5b796de0wrowe#
50298555098049d0ebddd539668502fb5b796de0wrowe# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
50298555098049d0ebddd539668502fb5b796de0wrowe# Use is subject to license terms.
50298555098049d0ebddd539668502fb5b796de0wrowe#
50298555098049d0ebddd539668502fb5b796de0wrowe# This makefile drives the production of the TRILL socket kernel
50298555098049d0ebddd539668502fb5b796de0wrowe# module.
447c6ce3ff08073c44f6785d5256271fcb877512wrowe#
447c6ce3ff08073c44f6785d5256271fcb877512wrowe# sparc architecture dependent
447c6ce3ff08073c44f6785d5256271fcb877512wrowe#
447c6ce3ff08073c44f6785d5256271fcb877512wrowe
73cbcafbe4c5ce51e6ba8043d33235fde09b6e94trawick#
73cbcafbe4c5ce51e6ba8043d33235fde09b6e94trawick# Path to the base of the uts directory tree (usually /usr/src/uts).
73cbcafbe4c5ce51e6ba8043d33235fde09b6e94trawick#
bfb62a96023822c56c9120e4ee627d4091cc59c2rbbUTSBASE = ../..
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard
50298555098049d0ebddd539668502fb5b796de0wrowe#
85cbdc16ac57fa68ce1358a308269abcd417f4d9stoddard# Define the module and object file sets.
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddard#
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddardMODULE = trill
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddardOBJECTS = $(TRILL_OBJS:%=$(OBJS_DIR)/%)
d208bda4a893cc81ed5d3ed1cdd7d706e012bd42stoddardLINTS = $(TRILL_OBJS:%.o=$(LINTS_DIR)/%.ln)
10b386767f6c87b45937244371cb751f0b454d16wroweROOTMODULE = $(ROOT_SOCK_DIR)/$(MODULE)
10b386767f6c87b45937244371cb751f0b454d16wrowe
863ec32e13d6c9619414c48b51109f3dca99cbc6wrowe#
863ec32e13d6c9619414c48b51109f3dca99cbc6wrowe# Include common rules.
75960f20f88dad6bc67892c711c429946063d133stoddard#
75960f20f88dad6bc67892c711c429946063d133stoddardinclude $(UTSBASE)/sparc/Makefile.sparc
75960f20f88dad6bc67892c711c429946063d133stoddard
75960f20f88dad6bc67892c711c429946063d133stoddardCERRWARN += -_gcc=-Wno-uninitialized
75960f20f88dad6bc67892c711c429946063d133stoddard
75960f20f88dad6bc67892c711c429946063d133stoddard#
75960f20f88dad6bc67892c711c429946063d133stoddard# Define targets
10b386767f6c87b45937244371cb751f0b454d16wrowe#
10b386767f6c87b45937244371cb751f0b454d16wroweALL_TARGET = $(BINARY)
10b386767f6c87b45937244371cb751f0b454d16wroweLINT_TARGET = $(MODULE).lint
10b386767f6c87b45937244371cb751f0b454d16wroweINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
10b386767f6c87b45937244371cb751f0b454d16wrowe
10b386767f6c87b45937244371cb751f0b454d16wrowe#
50298555098049d0ebddd539668502fb5b796de0wrowe# Overrides.
10b386767f6c87b45937244371cb751f0b454d16wrowe#
a9e07e4f90adcc7bc768db3055431c3dcd560cd1manojCFLAGS += $(CCVERBOSE)
f6a6245816cd866361da8c576b1f47c7a54b6610fanfLDFLAGS += -dy -Ndrv/bridge -Nmisc/mac -Nmisc/dls -Nfs/sockfs
f6a6245816cd866361da8c576b1f47c7a54b6610fanf
97b758d0b174d7b7c5a1de1a583f5840ec3fc910trawick#
db3ccce11afac4fc1d4f51a65424412f7480c46cgstein# Default build targets.
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick#
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick.KEEP_STATE:
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick
79d5106a9b65b956d646f5daae4b94bc79e315b8trawickdef: $(DEF_DEPS)
79d5106a9b65b956d646f5daae4b94bc79e315b8trawick
79d5106a9b65b956d646f5daae4b94bc79e315b8trawickall: $(ALL_DEPS)
9eccc0a669a3e711629345b357c46acce5fefdb4gstein
9eccc0a669a3e711629345b357c46acce5fefdb4gsteinclean: $(CLEAN_DEPS)
750fcd3495b59eff6d4844409ae1dfb46d026059gstein
750fcd3495b59eff6d4844409ae1dfb46d026059gsteinclobber: $(CLOBBER_DEPS)
750fcd3495b59eff6d4844409ae1dfb46d026059gstein
750fcd3495b59eff6d4844409ae1dfb46d026059gsteinlint: $(LINT_DEPS)
750fcd3495b59eff6d4844409ae1dfb46d026059gstein
750fcd3495b59eff6d4844409ae1dfb46d026059gsteinmodlintlib: $(MODLINTLIB_DEPS)
750fcd3495b59eff6d4844409ae1dfb46d026059gstein
750fcd3495b59eff6d4844409ae1dfb46d026059gsteinclean.lint: $(CLEAN_LINT_DEPS)
750fcd3495b59eff6d4844409ae1dfb46d026059gstein
750fcd3495b59eff6d4844409ae1dfb46d026059gsteininstall: $(INSTALL_DEPS)
9eccc0a669a3e711629345b357c46acce5fefdb4gstein
e9cfc70fceb74521ba0814cdc88808c7d4d00c97gstein#
e9cfc70fceb74521ba0814cdc88808c7d4d00c97gstein# Include common targets.
e9cfc70fceb74521ba0814cdc88808c7d4d00c97gstein#
e9cfc70fceb74521ba0814cdc88808c7d4d00c97gsteininclude $(UTSBASE)/sparc/Makefile.targ
e9cfc70fceb74521ba0814cdc88808c7d4d00c97gstein