Print this page
11226 Remove NetraCT support
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/svc/profile/Makefile
+++ new/usr/src/cmd/svc/profile/Makefile
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21
22 22 #
23 23 # Copyright 2010 Sun Microsystems, Inc. All rights reserved.
24 24 # Use is subject to license terms.
25 25 # Copyright 2019 Peter Tribble.
26 26 #
27 27
28 28 include ../../Makefile.cmd
29 29
30 30 FILEMODE = 0444
31 31
32 32 ROOTPROFILE = $(ROOT)/etc/svc/profile
33 33
34 34 PROFILESRCS = \
35 35 generic_open.xml \
36 36 generic_limited_net.xml \
↓ open down ↓ |
36 lines elided |
↑ open up ↑ |
37 37 inetd_generic.xml \
38 38 inetd_upgrade.xml \
39 39 ns_dns.xml \
40 40 ns_files.xml \
41 41 ns_ldap.xml \
42 42 ns_nis.xml \
43 43 ns_none.xml \
44 44 platform_SUNW,SPARC-Enterprise.xml \
45 45 platform_SUNW,Sun-Fire-880.xml \
46 46 platform_SUNW,Sun-Fire.xml \
47 - platform_SUNW,UltraSPARC-IIi-Netract.xml \
48 47 platform_none.xml \
49 48 platform_sun4v.xml
50 49
51 50 PROFILES = $(PROFILESRCS:%=$(ROOTPROFILE)/%)
52 51
53 52 PROFILES_open = generic_open.xml inetd_generic.xml
54 53 PROFILES_limited = generic_limited_net.xml
55 54 CHECK_OPEN = check_open
56 55 CHECK_LMTD = check_limited
57 56
58 57 COMM = /usr/bin/comm
↓ open down ↓ |
1 lines elided |
↑ open up ↑ |
59 58 TEE = /usr/bin/tee
60 59 TEST = /usr/bin/test
61 60 LISTSVCS = listsvcs.pl
62 61
63 62 install: all $(PROFILES)
64 63 $(RM) $(ROOTPROFILE)/platform.xml
65 64 # SUNW,Sun-Fire-V890
66 65 $(RM) $(ROOTPROFILE)/platform_SUNW,Sun-Fire-V890.xml
67 66 $(LN) $(ROOTPROFILE)/platform_SUNW,Sun-Fire-880.xml \
68 67 $(ROOTPROFILE)/platform_SUNW,Sun-Fire-V890.xml
69 - # SUNW,UltraSPARC-IIe-NetraCT-[46]0
70 - $(RM) $(ROOTPROFILE)/platform_SUNW,UltraSPARC-IIe-NetraCT-40.xml
71 - $(RM) $(ROOTPROFILE)/platform_SUNW,UltraSPARC-IIe-NetraCT-60.xml
72 - $(LN) $(ROOTPROFILE)/platform_SUNW,UltraSPARC-IIi-Netract.xml \
73 - $(ROOTPROFILE)/platform_SUNW,UltraSPARC-IIe-NetraCT-40.xml
74 - $(LN) $(ROOTPROFILE)/platform_SUNW,UltraSPARC-IIi-Netract.xml \
75 - $(ROOTPROFILE)/platform_SUNW,UltraSPARC-IIe-NetraCT-60.xml
76 68
77 69 $(ROOTPROFILE)/%: %
78 70 $(INS.file)
79 71
80 72 all: $(CHECK_OPEN) $(CHECK_LMTD)
81 73
82 74 #
83 75 # Enforce consistency between open and limited profiles per README
84 76 #
85 77 $(CHECK_OPEN) := PROFILES_CHECKED = open
86 78 $(CHECK_OPEN) := PROFILES_COVERING = limited
87 79 $(CHECK_LMTD) := PROFILES_CHECKED = limited
88 80 $(CHECK_LMTD) := PROFILES_COVERING = open
89 81 $(CHECK_OPEN) $(CHECK_LMTD): \
90 82 $(LISTSVCS) $(PROFILES_open) $(PROFILES_limited)
91 83 @$(ECHO) Check for enabled $(PROFILES_CHECKED) services \
92 84 not covered by $(PROFILES_COVERING) profile
93 85 @$(PERL) -w $(LISTSVCS) -e $(PROFILES_$(PROFILES_CHECKED)) > $@.enabled
94 86 @$(PERL) -w $(LISTSVCS) $(PROFILES_$(PROFILES_COVERING)) > $@.all
95 87 @$(COMM) -23 $@.enabled $@.all | $(TEE) $@.notcovered
96 88 @$(TEST) ! -s $@.notcovered && $(TOUCH) $@
97 89
98 90 lint _msg:
99 91
100 92 clobber clean:
101 93 $(RM) $(CHECK_OPEN)* $(CHECK_LMTD)*
↓ open down ↓ |
16 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX