xref: /titanic_41/usr/src/lib/cfgadm_plugins/Makefile.com (revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4)
17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
56ee3e50cSgd78059# Common Development and Distribution License (the "License").
66ee3e50cSgd78059# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
217c478bd9Sstevel@tonic-gate#
22*24fe0b3bSjmcp# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
237c478bd9Sstevel@tonic-gate# Use is subject to license terms.
247c478bd9Sstevel@tonic-gate#
257c478bd9Sstevel@tonic-gate# lib/cfgadm_plugins/Makefile.com
267c478bd9Sstevel@tonic-gate
27fb9f9b97Skupfer# This is used by open and closed components, so it uses an absolute
28fb9f9b97Skupfer# path.
29fb9f9b97Skupferinclude $(SRC)/Makefile.psm
307c478bd9Sstevel@tonic-gate
317c478bd9Sstevel@tonic-gateMODULE =	cfgadm
327c478bd9Sstevel@tonic-gate
337c478bd9Sstevel@tonic-gate#
347c478bd9Sstevel@tonic-gate# links in /usr/platform
357c478bd9Sstevel@tonic-gate#
367c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	= SUNW,Ultra-2
377c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Ultra-4
387c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Ultra-250
397c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Ultra-Enterprise
407c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Ultra-Enterprise-10000
417c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,UltraSPARC-IIi-Netract
427c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,UltraSPARC-IIe-NetraCT-40
437c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,UltraSPARC-IIe-NetraCT-60
447c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Sun-Blade-100
457c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Sun-Blade-1000
467c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Sun-Blade-1500
477c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Sun-Blade-2500
487c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,A70
49d58fda43SjbeloroLINKED_PLATFORMS	+= SUNW,Sun-Fire-V445
50d58fda43SjbeloroLINKED_PLATFORMS	+= SUNW,Sun-Fire-V215
517c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Sun-Fire
527c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Sun-Fire-V240
537c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Sun-Fire-V250
547c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Sun-Fire-V440
557c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Sun-Fire-280R
567c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Sun-Fire-15000
577c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Sun-Fire-880
587c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Sun-Fire-480R
597c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Sun-Fire-V890
607c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Sun-Fire-V490
617c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Serverblade1
627c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Netra-T12
637c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Netra-T4
647c478bd9Sstevel@tonic-gateLINKED_PLATFORMS	+= SUNW,Netra-CP2300
651cb6af97SwnelsonLINKED_PLATFORMS	+= SUNW,Netra-CP3010
666ee3e50cSgd78059LINKED_PLATFORMS	+= TAD,SPARCLE
677c478bd9Sstevel@tonic-gate
687c478bd9Sstevel@tonic-gateLINKED_DIRS		= $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%)
697c478bd9Sstevel@tonic-gateLINKED_LIB_DIRS		= $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib)
707c478bd9Sstevel@tonic-gateLINKED_CFG_DIRS		= $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/cfgadm)
717c478bd9Sstevel@tonic-gate
72*24fe0b3bSjmcpINS.slink6=	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/$(MODULE) $@
737c478bd9Sstevel@tonic-gate
747c478bd9Sstevel@tonic-gate$(LINKED_DIRS):		$(USR_PLAT_DIR)
757c478bd9Sstevel@tonic-gate	-$(INS.dir.root.sys)
767c478bd9Sstevel@tonic-gate
777c478bd9Sstevel@tonic-gate$(LINKED_LIB_DIRS):	$(USR_PLAT_DIR)
787c478bd9Sstevel@tonic-gate	-$(INS.dir.root.sys)
797c478bd9Sstevel@tonic-gate
807c478bd9Sstevel@tonic-gate$(LINKED_CFG_DIRS):	$(USR_PLAT_DIR)
817c478bd9Sstevel@tonic-gate	-$(INS.slink6)
82