xref: /titanic_52/usr/src/cmd/svc/profile/Makefile (revision ba4e3c84e6b9390bbf7df80b5f1d11dec34cc525)
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#
23# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26#ident	"%Z%%M%	%I%	%E% SMI"
27
28include ../../Makefile.cmd
29
30OWNER = root
31GROUP = sys
32FILEMODE = 0444
33
34ROOTPROFILE = $(ROOT)/var/svc/profile
35
36PROFILESRCS = \
37	generic_open.xml \
38	generic_limited_net.xml \
39	inetd_generic.xml \
40	inetd_upgrade.xml \
41	ns_dns.xml \
42	ns_files.xml \
43	ns_ldap.xml \
44	ns_nis.xml \
45	ns_nisplus.xml \
46	ns_none.xml \
47	platform_SUNW,SPARC-Enterprise.xml \
48	platform_SUNW,Sun-Fire-15000.xml \
49	platform_SUNW,Sun-Fire-880.xml \
50	platform_SUNW,Sun-Fire.xml \
51	platform_SUNW,Ultra-Enterprise-10000.xml \
52	platform_SUNW,UltraSPARC-IIi-Netract.xml \
53	platform_i86pc.xml \
54	platform_none.xml \
55	platform_sun4v.xml
56
57PROFILES = $(PROFILESRCS:%=$(ROOTPROFILE)/%)
58
59install: $(PROFILES)
60	$(RM) $(ROOTPROFILE)/platform.xml
61	# SUNW,Sun-Fire-V890
62	$(RM) $(ROOTPROFILE)/platform_SUNW,Sun-Fire-V890.xml
63	$(LN) $(ROOTPROFILE)/platform_SUNW,Sun-Fire-880.xml \
64	    $(ROOTPROFILE)/platform_SUNW,Sun-Fire-V890.xml
65	# SUNW,UltraSPARC-IIe-NetraCT-[46]0
66	$(RM) $(ROOTPROFILE)/platform_SUNW,UltraSPARC-IIe-NetraCT-40.xml
67	$(RM) $(ROOTPROFILE)/platform_SUNW,UltraSPARC-IIe-NetraCT-60.xml
68	$(LN) $(ROOTPROFILE)/platform_SUNW,UltraSPARC-IIi-Netract.xml \
69	$(ROOTPROFILE)/platform_SUNW,UltraSPARC-IIe-NetraCT-40.xml
70	$(LN) $(ROOTPROFILE)/platform_SUNW,UltraSPARC-IIi-Netract.xml \
71	    $(ROOTPROFILE)/platform_SUNW,UltraSPARC-IIe-NetraCT-60.xml
72
73$(ROOTPROFILE)/%: %
74	$(INS.file)
75
76all lint clobber clean _msg:
77