xref: /titanic_41/usr/src/lib/cfgadm_plugins/Makefile.com (revision 0b42f15ac52b077791d4ba079e8c163c592c3fda)
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#
2224fe0b3bSjmcp# 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
667c478bd9Sstevel@tonic-gate
677c478bd9Sstevel@tonic-gateLINKED_DIRS		= $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%)
687c478bd9Sstevel@tonic-gateLINKED_LIB_DIRS		= $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib)
697c478bd9Sstevel@tonic-gateLINKED_CFG_DIRS		= $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/cfgadm)
707c478bd9Sstevel@tonic-gate
7124fe0b3bSjmcpINS.slink6=	$(RM) -r $@; $(SYMLINK) ../../$(PLATFORM)/lib/$(MODULE) $@
727c478bd9Sstevel@tonic-gate
73*b6805bf7SGordon RossCLOBBERFILES += $(LIBRARY:.a=.po) generic.po
74*b6805bf7SGordon Ross
757c478bd9Sstevel@tonic-gate$(LINKED_DIRS):		$(USR_PLAT_DIR)
7648bc00d6Sjmcp	-$(INS.dir)
777c478bd9Sstevel@tonic-gate
787c478bd9Sstevel@tonic-gate$(LINKED_LIB_DIRS):	$(USR_PLAT_DIR)
7948bc00d6Sjmcp	-$(INS.dir)
807c478bd9Sstevel@tonic-gate
817c478bd9Sstevel@tonic-gate$(LINKED_CFG_DIRS):	$(USR_PLAT_DIR)
827c478bd9Sstevel@tonic-gate	-$(INS.slink6)
83