xref: /titanic_51/usr/src/cmd/svc/profile/Makefile (revision bdfc6d18da790deeec2e0eb09c625902defe2498)
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, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
23# Copyright 2004 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,Sun-Fire-15000.xml \
48	platform_SUNW,Sun-Fire-880.xml \
49	platform_SUNW,Sun-Fire.xml \
50	platform_SUNW,Ultra-Enterprise-10000.xml \
51	platform_SUNW,UltraSPARC-IIi-Netract.xml \
52	platform_i86pc.xml \
53	platform_none.xml
54
55PROFILES = $(PROFILESRCS:%=$(ROOTPROFILE)/%)
56
57install: $(PROFILES)
58	$(RM) $(ROOTPROFILE)/generic.xml
59	$(LN) -s generic_open.xml $(ROOTPROFILE)/generic.xml
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