xref: /illumos-gate/usr/src/cmd/svc/profile/Makefile (revision 76716eaced8d7659d4594350eb3f343c31fe2806)
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# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25#ident	"%Z%%M%	%I%	%E% SMI"
26
27include ../../Makefile.cmd
28
29OWNER = root
30GROUP = sys
31FILEMODE = 0444
32
33ROOTPROFILE = $(ROOT)/var/svc/profile
34
35PROFILESRCS = \
36	generic_open.xml \
37	generic_limited_net.xml \
38	inetd_generic.xml \
39	inetd_upgrade.xml \
40	ns_dns.xml \
41	ns_files.xml \
42	ns_ldap.xml \
43	ns_nis.xml \
44	ns_nisplus.xml \
45	ns_none.xml \
46	platform_SUNW,SPARC-Enterprise.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