xref: /titanic_44/usr/src/lib/cfgadm_plugins/Makefile.com (revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95)
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
30# This is used by open and closed components, so it uses an absolute
31# path.
32include $(SRC)/Makefile.psm
33
34MODULE =	cfgadm
35
36#
37# links in /usr/platform
38#
39LINKED_PLATFORMS	= SUNW,Ultra-2
40LINKED_PLATFORMS	+= SUNW,Ultra-4
41LINKED_PLATFORMS	+= SUNW,Ultra-250
42LINKED_PLATFORMS	+= SUNW,Ultra-Enterprise
43LINKED_PLATFORMS	+= SUNW,Ultra-Enterprise-10000
44LINKED_PLATFORMS	+= SUNW,UltraSPARC-IIi-Netract
45LINKED_PLATFORMS	+= SUNW,UltraSPARC-IIe-NetraCT-40
46LINKED_PLATFORMS	+= SUNW,UltraSPARC-IIe-NetraCT-60
47LINKED_PLATFORMS	+= SUNW,Sun-Blade-100
48LINKED_PLATFORMS	+= SUNW,Sun-Blade-1000
49LINKED_PLATFORMS	+= SUNW,Sun-Blade-1500
50LINKED_PLATFORMS	+= SUNW,Sun-Blade-2500
51LINKED_PLATFORMS	+= SUNW,A70
52LINKED_PLATFORMS	+= SUNW,Sun-Fire-V445
53LINKED_PLATFORMS	+= SUNW,Sun-Fire-V215
54LINKED_PLATFORMS	+= SUNW,Sun-Fire
55LINKED_PLATFORMS	+= SUNW,Sun-Fire-V240
56LINKED_PLATFORMS	+= SUNW,Sun-Fire-V250
57LINKED_PLATFORMS	+= SUNW,Sun-Fire-V440
58LINKED_PLATFORMS	+= SUNW,Sun-Fire-280R
59LINKED_PLATFORMS	+= SUNW,Sun-Fire-15000
60LINKED_PLATFORMS	+= SUNW,Sun-Fire-880
61LINKED_PLATFORMS	+= SUNW,Sun-Fire-480R
62LINKED_PLATFORMS	+= SUNW,Sun-Fire-V890
63LINKED_PLATFORMS	+= SUNW,Sun-Fire-V490
64LINKED_PLATFORMS	+= SUNW,Serverblade1
65LINKED_PLATFORMS	+= SUNW,Netra-T12
66LINKED_PLATFORMS	+= SUNW,Netra-T4
67LINKED_PLATFORMS	+= SUNW,Netra-CP2300
68LINKED_PLATFORMS	+= SUNW,Netra-CP3010
69
70LINKED_DIRS		= $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%)
71LINKED_LIB_DIRS		= $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib)
72LINKED_CFG_DIRS		= $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/cfgadm)
73
74INS.slink6=	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/$(MODULE) $@ $(CHOWNLINK) $(CHGRPLINK)
75
76$(LINKED_DIRS):		$(USR_PLAT_DIR)
77	-$(INS.dir.root.sys)
78
79$(LINKED_LIB_DIRS):	$(USR_PLAT_DIR)
80	-$(INS.dir.root.sys)
81
82$(LINKED_CFG_DIRS):	$(USR_PLAT_DIR)
83	-$(INS.slink6)
84