Merge commit '0b905b49d460a57773d88d714cd880ffe0182b7c'
[unleashed.git] / usr / src / lib / cfgadm_plugins / Makefile.com
blobd6f4bf6782a70a62db0bcc702f60e48538010fac
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
22 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23 # Use is subject to license terms.
25 # lib/cfgadm_plugins/Makefile.com
27 # This is used by open and closed components, so it uses an absolute
28 # path.
29 include $(SRC)/Makefile.psm
31 MODULE =        cfgadm
34 # links in /usr/platform
36 LINKED_PLATFORMS        = SUNW,Ultra-2
37 LINKED_PLATFORMS        += SUNW,Ultra-4
38 LINKED_PLATFORMS        += SUNW,Ultra-250
39 LINKED_PLATFORMS        += SUNW,Ultra-Enterprise
40 LINKED_PLATFORMS        += SUNW,Ultra-Enterprise-10000
41 LINKED_PLATFORMS        += SUNW,UltraSPARC-IIi-Netract
42 LINKED_PLATFORMS        += SUNW,UltraSPARC-IIe-NetraCT-40
43 LINKED_PLATFORMS        += SUNW,UltraSPARC-IIe-NetraCT-60
44 LINKED_PLATFORMS        += SUNW,Sun-Blade-100
45 LINKED_PLATFORMS        += SUNW,Sun-Blade-1000
46 LINKED_PLATFORMS        += SUNW,Sun-Blade-1500
47 LINKED_PLATFORMS        += SUNW,Sun-Blade-2500
48 LINKED_PLATFORMS        += SUNW,A70
49 LINKED_PLATFORMS        += SUNW,Sun-Fire-V445
50 LINKED_PLATFORMS        += SUNW,Sun-Fire-V215
51 LINKED_PLATFORMS        += SUNW,Sun-Fire
52 LINKED_PLATFORMS        += SUNW,Sun-Fire-V240
53 LINKED_PLATFORMS        += SUNW,Sun-Fire-V250
54 LINKED_PLATFORMS        += SUNW,Sun-Fire-V440
55 LINKED_PLATFORMS        += SUNW,Sun-Fire-280R
56 LINKED_PLATFORMS        += SUNW,Sun-Fire-15000
57 LINKED_PLATFORMS        += SUNW,Sun-Fire-880
58 LINKED_PLATFORMS        += SUNW,Sun-Fire-480R
59 LINKED_PLATFORMS        += SUNW,Sun-Fire-V890
60 LINKED_PLATFORMS        += SUNW,Sun-Fire-V490
61 LINKED_PLATFORMS        += SUNW,Serverblade1
62 LINKED_PLATFORMS        += SUNW,Netra-T12
63 LINKED_PLATFORMS        += SUNW,Netra-T4
64 LINKED_PLATFORMS        += SUNW,Netra-CP2300
65 LINKED_PLATFORMS        += SUNW,Netra-CP3010
67 LINKED_DIRS             = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%)
68 LINKED_LIB_DIRS         = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib)
69 LINKED_CFG_DIRS         = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/cfgadm)
71 INS.slink6=     $(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/$(MODULE) $@
73 CLOBBERFILES += $(LIBRARY:.a=.po) generic.po
75 $(LINKED_DIRS):         $(USR_PLAT_DIR)
76         -$(INS.dir)
78 $(LINKED_LIB_DIRS):     $(USR_PLAT_DIR)
79         -$(INS.dir)
81 $(LINKED_CFG_DIRS):     $(USR_PLAT_DIR)
82         -$(INS.slink6)