usr/src/lib/libdladm/Makefile
author Ramaswamy Tummala <Ramaswamy.Tummala@Sun.COM>
Wed, 14 Apr 2010 10:26:18 -0700
changeset 12163 f0cf0084e756
parent 10616 3be00c4a6835
permissions -rw-r--r--
PSARC 2010/085 IPoIB Administration Enhancement 6837574 IPoIB Administration Enhancement - PSARC 2010/085 6864899 IB datalink names need to be consistent between cluster controllers 6855737 cfgadm status for ibd attachment points gets to inconsistent state 6883212 ibd: add Brussels framework support 6927048 IBD driver should be hardened to handle late HCA port initialization issue 6827237 Fix warlock errors in ibnex
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     1
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     2
# CDDL HEADER START
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     3
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
2522
79989c8fe091 6357230 specfiles should be nuked
raf
parents: 0
diff changeset
     5
# Common Development and Distribution License (the "License").
79989c8fe091 6357230 specfiles should be nuked
raf
parents: 0
diff changeset
     6
# You may not use this file except in compliance with the License.
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     7
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    10
# See the License for the specific language governing permissions
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    11
# and limitations under the License.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    12
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    18
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    19
# CDDL HEADER END
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    20
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    21
#
12163
f0cf0084e756 PSARC 2010/085 IPoIB Administration Enhancement
Ramaswamy Tummala <Ramaswamy.Tummala@Sun.COM>
parents: 10616
diff changeset
    22
# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    23
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    24
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    25
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    26
include $(SRC)/lib/Makefile.lib
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    27
3871
5a1dfce6c5cc PSARC 2007/140 libdladm restructure
yz147064
parents: 3184
diff changeset
    28
HDRS =		libdladm.h libdladm_impl.h libdllink.h libdlaggr.h	\
5895
f251acdd9bdc PSARC/2006/499 Clearview Nemo unification and vanity naming
yz147064
parents: 5084
diff changeset
    29
		libdlwlan.h libdlwlan_impl.h libdlvnic.h libdlvlan.h	\
8306
5cc8b0ed9ff5 6758593 dladm(1m) functionality is not always easily available via libdladm.
Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
parents: 8275
diff changeset
    30
		libdlmgmt.h libdlflow.h libdlflow_impl.h libdlstat.h	\
12163
f0cf0084e756 PSARC 2010/085 IPoIB Administration Enhancement
Ramaswamy Tummala <Ramaswamy.Tummala@Sun.COM>
parents: 10616
diff changeset
    31
		libdlether.h libdlsim.h libdlbridge.h libdliptun.h	\
f0cf0084e756 PSARC 2010/085 IPoIB Administration Enhancement
Ramaswamy Tummala <Ramaswamy.Tummala@Sun.COM>
parents: 10616
diff changeset
    32
		libdlib.h
8275
7c223a798022 PSARC/2006/357 Crossbow - Network Virtualization and Resource Management
Eric Cheng
parents: 5895
diff changeset
    33
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    34
HDRDIR =	common
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    35
3184
182e493de99b 6496846 dladm error message handling is a mess
meem
parents: 3147
diff changeset
    36
SUBDIRS =	$(MACH)
4456
35ab34adfdad PSARC 2007/282 DLPI MAC-Type Mapping Functions
ss150715
parents: 3888
diff changeset
    37
$(BUILD64)SUBDIRS += $(MACH64)
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    38
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    39
POFILE =	libdladm.po
3871
5a1dfce6c5cc PSARC 2007/140 libdladm restructure
yz147064
parents: 3184
diff changeset
    40
MSGFILES =	common/libdladm.c common/linkprop.c common/secobj.c	\
5084
7d838c5c0eed PSARC 2006/260 Solaris on Xen
johnlev
parents: 4456
diff changeset
    41
		common/libdllink.c common/libdlaggr.c	\
5895
f251acdd9bdc PSARC/2006/499 Clearview Nemo unification and vanity naming
yz147064
parents: 5084
diff changeset
    42
		common/libdlwlan.c common/libdlvnic.c	\
8275
7c223a798022 PSARC/2006/357 Crossbow - Network Virtualization and Resource Management
Eric Cheng
parents: 5895
diff changeset
    43
		common/libdlvlan.c common/libdlmgmt.c	\
7c223a798022 PSARC/2006/357 Crossbow - Network Virtualization and Resource Management
Eric Cheng
parents: 5895
diff changeset
    44
		common/flowattr.c common/flowprop.c	\
10491
8893b747ecdf PSARC 2007/596 RBridges: Routing Bridges
Rishi Srivatsavai <Rishi.Srivatsavai@Sun.COM>
parents: 9815
diff changeset
    45
		common/propfuncs.c common/libdlflow.c	\
8306
5cc8b0ed9ff5 6758593 dladm(1m) functionality is not always easily available via libdladm.
Sowmini Varadhan <Sowmini.Varadhan@Sun.COM>
parents: 8275
diff changeset
    46
		common/libdlstat.c common/flowattr.c	\
10491
8893b747ecdf PSARC 2007/596 RBridges: Routing Bridges
Rishi Srivatsavai <Rishi.Srivatsavai@Sun.COM>
parents: 9815
diff changeset
    47
		common/libdlether.c common/libdlsim.c	\
12163
f0cf0084e756 PSARC 2010/085 IPoIB Administration Enhancement
Ramaswamy Tummala <Ramaswamy.Tummala@Sun.COM>
parents: 10616
diff changeset
    48
		common/libdlbridge.c common/libdliptun.c\
f0cf0084e756 PSARC 2010/085 IPoIB Administration Enhancement
Ramaswamy Tummala <Ramaswamy.Tummala@Sun.COM>
parents: 10616
diff changeset
    49
		common/libdlib.c
8275
7c223a798022 PSARC/2006/357 Crossbow - Network Virtualization and Resource Management
Eric Cheng
parents: 5895
diff changeset
    50
3184
182e493de99b 6496846 dladm error message handling is a mess
meem
parents: 3147
diff changeset
    51
XGETFLAGS =     -a -x libdladm.xcl
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    52
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    53
all :=		TARGET = all
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    54
clean :=	TARGET = clean
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    55
clobber :=	TARGET = clobber
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    56
install :=	TARGET = install
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    57
lint :=		TARGET = lint
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    58
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    59
.KEEP_STATE:
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    60
2522
79989c8fe091 6357230 specfiles should be nuked
raf
parents: 0
diff changeset
    61
all clean clobber install lint: $(SUBDIRS)
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    62
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    63
install_h:	$(ROOTHDRS)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    64
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    65
check:		$(CHECKHDRS)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    66
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    67
$(POFILE):	pofile_MSGFILES
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    68
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    69
_msg:		$(MSGDOMAINPOFILE)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    70
2522
79989c8fe091 6357230 specfiles should be nuked
raf
parents: 0
diff changeset
    71
$(SUBDIRS): FRC
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    72
	@cd $@; pwd; $(MAKE) $(TARGET)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    73
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    74
FRC:
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    75
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    76
include $(SRC)/Makefile.msg.targ
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    77
include $(SRC)/lib/Makefile.targ