usr/src/lib/libdladm/Makefile
author Rishi Srivatsavai <Rishi.Srivatsavai@Sun.COM>
Mon, 08 Jun 2009 11:43:53 -0400
changeset 9815 5d50ee5359bc
parent 8306 5cc8b0ed9ff5
child 10491 8893b747ecdf
permissions -rw-r--r--
PSARC 2009/200 Solaris Simnet 6827930 Simulated network driver
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
#
9815
5d50ee5359bc PSARC 2009/200 Solaris Simnet
Rishi Srivatsavai <Rishi.Srivatsavai@Sun.COM>
parents: 8306
diff changeset
    22
# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    23
# Use is subject to license terms.
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
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    27
include $(SRC)/lib/Makefile.lib
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    28
3871
5a1dfce6c5cc PSARC 2007/140 libdladm restructure
yz147064
parents: 3184
diff changeset
    29
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
    30
		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
    31
		libdlmgmt.h libdlflow.h libdlflow_impl.h libdlstat.h	\
9815
5d50ee5359bc PSARC 2009/200 Solaris Simnet
Rishi Srivatsavai <Rishi.Srivatsavai@Sun.COM>
parents: 8306
diff changeset
    32
		libdlether.h libdlsim.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	\
7c223a798022 PSARC/2006/357 Crossbow - Network Virtualization and Resource Management
Eric Cheng
parents: 5895
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	\
9815
5d50ee5359bc PSARC 2009/200 Solaris Simnet
Rishi Srivatsavai <Rishi.Srivatsavai@Sun.COM>
parents: 8306
diff changeset
    47
		common/libdlether.c common/libdlsim.c
8275
7c223a798022 PSARC/2006/357 Crossbow - Network Virtualization and Resource Management
Eric Cheng
parents: 5895
diff changeset
    48
3184
182e493de99b 6496846 dladm error message handling is a mess
meem
parents: 3147
diff changeset
    49
XGETFLAGS =     -a -x libdladm.xcl
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    50
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    51
all :=		TARGET = all
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    52
clean :=	TARGET = clean
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    53
clobber :=	TARGET = clobber
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    54
install :=	TARGET = install
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    55
lint :=		TARGET = lint
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    56
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    57
.KEEP_STATE:
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    58
2522
79989c8fe091 6357230 specfiles should be nuked
raf
parents: 0
diff changeset
    59
all clean clobber install lint: $(SUBDIRS)
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    60
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    61
install_h:	$(ROOTHDRS)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    62
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    63
check:		$(CHECKHDRS)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    64
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    65
$(POFILE):	pofile_MSGFILES
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    66
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    67
_msg:		$(MSGDOMAINPOFILE)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    68
2522
79989c8fe091 6357230 specfiles should be nuked
raf
parents: 0
diff changeset
    69
$(SUBDIRS): FRC
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    70
	@cd $@; pwd; $(MAKE) $(TARGET)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    71
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    72
FRC:
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    73
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    74
include $(SRC)/Makefile.msg.targ
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    75
include $(SRC)/lib/Makefile.targ