Print this page
11226 Remove NetraCT support
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/sun/sys/Makefile
+++ new/usr/src/uts/sun/sys/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.
↓ open down ↓ |
14 lines elided |
↑ open up ↑ |
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 +# Copyright 2019 Peter Tribble.
25 26 #
26 27 # include global definitions
27 28 include ../../../Makefile.master
28 29
29 30 HDRS= \
30 31 avintr.h \
31 32 bootconf.h \
32 33 dkmpio.h \
33 34 fdreg.h fdvar.h \
34 35 obpdefs.h \
35 36 promif.h promimpl.h \
36 37 ser_async.h ser_zscc.h \
37 38 socalio.h socalreg.h \
38 39 socal_cq_defs.h socalmap.h socalvar.h \
39 -ttymux.h ttymuxuser.h \
40 40 zsdev.h
41 41
42 42 SCSIADHDRS= \
43 43 fascmd.h fasdma.h \
44 44 fasreg.h fasvar.h ifpio.h sfvar.h
45 45
46 46 SCSITARGHDRS= \
47 47
48 48 ROOTDIR= $(ROOT)/usr/include/sys
49 49 ROOTDIRS= $(ROOTDIR) \
50 50 $(ROOTDIR)/audio \
51 51 $(ROOTDIR)/scsi/adapters \
52 52 $(ROOTDIR)/scsi/targets
53 53
54 54 ROOTHDRS= $(HDRS:%=$(ROOTDIR)/%)
55 55 ROOTFCHDRS= $(FCHDRS:%=$(ROOTDIR)/fc4/%)
56 56 ROOTSCSIADHDRS= $(SCSIADHDRS:%=$(ROOTDIR)/scsi/adapters/%)
57 57 ROOTSCSITARGHDRS= $(SCSITARGHDRS:%=$(ROOTDIR)/scsi/targets/%)
58 58
59 59
60 60 # install rules
61 61 $(ROOTDIR)/%: %
62 62 $(INS.file)
63 63
64 64 $(ROOTDIR)/audio/%: audio/%
65 65 $(INS.file)
66 66
67 67 $(ROOTDIR)/scsi/adapters/%: scsi/adapters/%
68 68 $(INS.file)
69 69
70 70 $(ROOTDIR)/scsi/targets/%: scsi/targets/%
71 71 $(INS.file)
72 72
73 73 # check files really don't exist
74 74
75 75 audio/%.check: audio/%.h
76 76 $(DOT_H_CHECK)
77 77
78 78 scsi/adapters/%.check: scsi/adapters/%.h
79 79 $(DOT_H_CHECK)
80 80
81 81 scsi/targets/%.check: scsi/targets/%.h
82 82 $(DOT_H_CHECK)
83 83
84 84 CHECKHDRS= \
85 85 $(HDRS:%.h=%.check) \
86 86 $(FCHDRS:%.h=fc4/%.check) \
87 87 $(SCSIADHDRS:%.h=scsi/adapters/%.check) \
88 88 $(SCSITARGHDRS:%.h=scsi/targets/%.check)
89 89
90 90 # headers which won't quite meet the standards...
91 91 #
92 92 # devops.h has a macro where the formal parameters to the macro are greater
93 93 # than 80 characters. cpp (or the equivalent built into acomp) does not allow
94 94 # continuation line breaks in the formal parameter list. This could be fixed
95 95 # by giving shorter names to the formal parameters, but the right fix is to
↓ open down ↓ |
46 lines elided |
↑ open up ↑ |
96 96 # fix cpp. (Also, /* CSTYLED */ doesn't seem to fix this.
97 97 #
98 98 devops.check := CSTYLE_TAIL = | grep -v "line > 80 characters" | true
99 99
100 100 .KEEP_STATE:
101 101
102 102 .PARALLEL: $(CHECKHDRS) $(ROOTHDRS) $(ROOTAUDHDRS) $(ROOTAUDIMPLHDRS) \
103 103 $(ROOTSCSIADHDRS) $(ROOTSCSITARGHDRS) $(ROOTXHDRS) \
104 104 $(ROOTFCHDRS)
105 105
106 -install_h: $(ROOTDIRS) .WAIT $(ROOTHDRS) \
106 +install_h: $(ROOTDIRS) .WAIT $(ROOTHDRS) \
107 107 $(ROOTAUDHDRS) $(ROOTAUDIMPLHDRS) \
108 108 $(ROOTSCSIADHDRS) $(ROOTSCSITARGHDRS) $(ROOTFCHDRS)
109 109
110 110 $(ROOTDIRS):
111 111 $(INS.dir)
112 112
113 113 check: $(CHECKHDRS)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX