xref: /titanic_44/usr/src/lib/cfgadm_plugins/Makefile.com (revision 6dfee4834394825da35b977ca71cdc965bc7b6a4)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
23# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26#ident	"%Z%%M%	%I%	%E% SMI"
27#
28# lib/cfgadm_plugins/Makefile.com
29
30include ../../../../Makefile.psm
31
32MODULE =	cfgadm
33
34#
35# links in /usr/platform
36#
37LINKED_PLATFORMS	= SUNW,Ultra-2
38LINKED_PLATFORMS	+= SUNW,Ultra-4
39LINKED_PLATFORMS	+= SUNW,Ultra-250
40LINKED_PLATFORMS	+= SUNW,Ultra-Enterprise
41LINKED_PLATFORMS	+= SUNW,Ultra-Enterprise-10000
42LINKED_PLATFORMS	+= SUNW,UltraSPARC-IIi-Netract
43LINKED_PLATFORMS	+= SUNW,UltraSPARC-IIe-NetraCT-40
44LINKED_PLATFORMS	+= SUNW,UltraSPARC-IIe-NetraCT-60
45LINKED_PLATFORMS	+= SUNW,Sun-Blade-100
46LINKED_PLATFORMS	+= SUNW,Sun-Blade-1000
47LINKED_PLATFORMS	+= SUNW,Sun-Blade-1500
48LINKED_PLATFORMS	+= SUNW,Sun-Blade-2500
49LINKED_PLATFORMS	+= SUNW,A70
50LINKED_PLATFORMS	+= SUNW,Sun-Fire-V445
51LINKED_PLATFORMS	+= SUNW,Sun-Fire-V215
52LINKED_PLATFORMS	+= SUNW,Sun-Fire
53LINKED_PLATFORMS	+= SUNW,Sun-Fire-V240
54LINKED_PLATFORMS	+= SUNW,Sun-Fire-V250
55LINKED_PLATFORMS	+= SUNW,Sun-Fire-V440
56LINKED_PLATFORMS	+= SUNW,Sun-Fire-280R
57LINKED_PLATFORMS	+= SUNW,Sun-Fire-15000
58LINKED_PLATFORMS	+= SUNW,Sun-Fire-880
59LINKED_PLATFORMS	+= SUNW,Sun-Fire-480R
60LINKED_PLATFORMS	+= SUNW,Sun-Fire-V890
61LINKED_PLATFORMS	+= SUNW,Sun-Fire-V490
62LINKED_PLATFORMS	+= SUNW,Serverblade1
63LINKED_PLATFORMS	+= SUNW,Netra-T12
64LINKED_PLATFORMS	+= SUNW,Netra-T4
65LINKED_PLATFORMS	+= SUNW,Netra-CP2300
66LINKED_PLATFORMS	+= SUNW,Netra-CP3010
67
68LINKED_DIRS		= $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%)
69LINKED_LIB_DIRS		= $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib)
70LINKED_CFG_DIRS		= $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/cfgadm)
71
72INS.slink6=	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/$(MODULE) $@ $(CHOWNLINK) $(CHGRPLINK)
73
74$(LINKED_DIRS):		$(USR_PLAT_DIR)
75	-$(INS.dir.root.sys)
76
77$(LINKED_LIB_DIRS):	$(USR_PLAT_DIR)
78	-$(INS.dir.root.sys)
79
80$(LINKED_CFG_DIRS):	$(USR_PLAT_DIR)
81	-$(INS.slink6)
82