xref: /titanic_44/usr/src/lib/cfgadm_plugins/Makefile.com (revision 49df45665521d358380d3324f56fbc1ef143e72f)
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
51LINKED_PLATFORMS	+= SUNW,Sun-Fire-V240
52LINKED_PLATFORMS	+= SUNW,Sun-Fire-V250
53LINKED_PLATFORMS	+= SUNW,Sun-Fire-V440
54LINKED_PLATFORMS	+= SUNW,Sun-Fire-280R
55LINKED_PLATFORMS	+= SUNW,Sun-Fire-15000
56LINKED_PLATFORMS	+= SUNW,Sun-Fire-880
57LINKED_PLATFORMS	+= SUNW,Sun-Fire-480R
58LINKED_PLATFORMS	+= SUNW,Sun-Fire-V890
59LINKED_PLATFORMS	+= SUNW,Sun-Fire-V490
60LINKED_PLATFORMS	+= SUNW,Serverblade1
61LINKED_PLATFORMS	+= SUNW,Netra-T12
62LINKED_PLATFORMS	+= SUNW,Netra-T4
63LINKED_PLATFORMS	+= SUNW,Netra-CP2300
64LINKED_PLATFORMS	+= SUNW,Netra-CP3010
65
66LINKED_DIRS		= $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%)
67LINKED_LIB_DIRS		= $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib)
68LINKED_CFG_DIRS		= $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/cfgadm)
69
70INS.slink6=	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/$(MODULE) $@ $(CHOWNLINK) $(CHGRPLINK)
71
72$(LINKED_DIRS):		$(USR_PLAT_DIR)
73	-$(INS.dir.root.sys)
74
75$(LINKED_LIB_DIRS):	$(USR_PLAT_DIR)
76	-$(INS.dir.root.sys)
77
78$(LINKED_CFG_DIRS):	$(USR_PLAT_DIR)
79	-$(INS.slink6)
80