xref: /titanic_52/usr/src/lib/cfgadm_plugins/Makefile.com (revision 911106dfb16696472af8c1b7b4c554a829354fa8)
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 (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25#ident	"%Z%%M%	%I%	%E% SMI"
26#
27# lib/cfgadm_plugins/Makefile.com
28
29# This is used by open and closed components, so it uses an absolute
30# path.
31include $(SRC)/Makefile.psm
32
33MODULE =	cfgadm
34
35#
36# links in /usr/platform
37#
38LINKED_PLATFORMS	= SUNW,Ultra-2
39LINKED_PLATFORMS	+= SUNW,Ultra-4
40LINKED_PLATFORMS	+= SUNW,Ultra-250
41LINKED_PLATFORMS	+= SUNW,Ultra-Enterprise
42LINKED_PLATFORMS	+= SUNW,Ultra-Enterprise-10000
43LINKED_PLATFORMS	+= SUNW,UltraSPARC-IIi-Netract
44LINKED_PLATFORMS	+= SUNW,UltraSPARC-IIe-NetraCT-40
45LINKED_PLATFORMS	+= SUNW,UltraSPARC-IIe-NetraCT-60
46LINKED_PLATFORMS	+= SUNW,Sun-Blade-100
47LINKED_PLATFORMS	+= SUNW,Sun-Blade-1000
48LINKED_PLATFORMS	+= SUNW,Sun-Blade-1500
49LINKED_PLATFORMS	+= SUNW,Sun-Blade-2500
50LINKED_PLATFORMS	+= SUNW,A70
51LINKED_PLATFORMS	+= SUNW,Sun-Fire-V445
52LINKED_PLATFORMS	+= SUNW,Sun-Fire-V215
53LINKED_PLATFORMS	+= SUNW,Sun-Fire
54LINKED_PLATFORMS	+= SUNW,Sun-Fire-V240
55LINKED_PLATFORMS	+= SUNW,Sun-Fire-V250
56LINKED_PLATFORMS	+= SUNW,Sun-Fire-V440
57LINKED_PLATFORMS	+= SUNW,Sun-Fire-280R
58LINKED_PLATFORMS	+= SUNW,Sun-Fire-15000
59LINKED_PLATFORMS	+= SUNW,Sun-Fire-880
60LINKED_PLATFORMS	+= SUNW,Sun-Fire-480R
61LINKED_PLATFORMS	+= SUNW,Sun-Fire-V890
62LINKED_PLATFORMS	+= SUNW,Sun-Fire-V490
63LINKED_PLATFORMS	+= SUNW,Serverblade1
64LINKED_PLATFORMS	+= SUNW,Netra-T12
65LINKED_PLATFORMS	+= SUNW,Netra-T4
66LINKED_PLATFORMS	+= SUNW,Netra-CP2300
67LINKED_PLATFORMS	+= SUNW,Netra-CP3010
68LINKED_PLATFORMS	+= TAD,SPARCLE
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