98
99 MSGDIR= messages
100
101
102 all := TARGET= all
103 install := TARGET= install
104 clean := TARGET= clean
105 clobber := TARGET= clobber
106 delete := TARGET= delete
107 lint := TARGET= lint
108 _msg := TARGET= catalog
109 _msg_gettext := TARGET= catalog
110 _msg_sgsmsg := TARGET= catalog
111 chkmsg := TARGET= chkmsg
112
113
114 .KEEP_STATE:
115
116 .PARALLEL: $(SUBDIRS)
117
118 all install: native-add .WAIT $(SUBDIRS)
119
120 include $(SRC)/cmd/Makefile.targ
121
122 # Messaging support
123 #
124 _msg: _msg_gettext _msg_sgsmsg
125
126 _msg_gettext: $(MSGDOMAIN)/$(POFILE)
127
128 # $(MACH)/sgsmsg must be built before we can descend into $(MSGDIR)
129 _msg_sgsmsg: native-add .WAIT $(MSGDIR)
130
131 $(MSGDOMAIN)/$(POFILE): \
132 $(MSGDOMAIN) $(POFILE)
133
134 $(POFILE): $(POSUBDIRS)
135 $(RM) $(POFILE)
136 cat $(POFILES) > $(POFILE)
137
138 $(MSGDIR): $(MSGSUBDIRS) FRC
139 @ cd $@; pwd; $(MAKE) $(TARGET)
140
141 chkmsg: libconv $(MSGSUBDIRS) FRC
142
143 check: chkmsg
144
145 # built from lib/Makefile
146 install_lib: FRC
147 @ cd lex; pwd; $(MAKE) $@
148 @ cd yacc; pwd; $(MAKE) $@
149
150 lint:
151
152 delete \
153 clean clobber: native-clobber .WAIT $(SUBDIRS) $(MSGDIR)
154
155 $(SUBDIRS): FRC
156 @ cd $@; pwd; $(MAKE) $(TARGET)
157
158
159 # Integration of ld and ld.so.1 in some developement cycles requires that both
160 # of these modules be built using the new ld. This `native' target allows us
161 # to build a local ld which will then be used to build the delivered version of
162 # itself and ld.so.1. Once this new functionality appears in the standard ld
163 # this target can be disabled.
164
165 native-add: FRC
166 @ cd tools/$(MACH); pwd; $(MAKE) native
167 @ cd libconv/$(MACH); pwd; $(MAKE)
168 @ cd libelf/$(MACH); pwd; $(MAKE) native
169 @ cd liblddbg/$(MACH); pwd; $(MAKE) native
170 @ cd libldstab/$(MACH); pwd; $(MAKE) native
171 @ cd libld/$(MACH); pwd; $(MAKE) native
172 @ cd ld/$(MACH); pwd; $(MAKE) native
173
174 native-clobber:
175 @ cd tools; pwd; $(MAKE) $(TARGET)
176 $(RM) -r proto/$(MACH)
177
178 FRC:
179
180 #
181 # Cross-reference customization: ignore the directories named by XRPRUNE,
182 # and tweak the file globs slightly.
183 #
184 XRPRUNE= rtld.4.x packages abi
185 XRADD= *.msg mapfile*
186 XRDEL= Makefile* kobj_*
187
188 #
189 # Establish a set of directories for xref to search. As there are duplicates
190 # of things like headers, and only one file will be added to the xref database,
191 # we want xref to list the source file.
192 #
193 XRDIRS= . \
194 ../../common/elfcap \
195 ../../head \
196 ../../uts/common/krtld \
197 ../../uts/common/sys \
198 ../../uts/sparc/sys \
199 ../../uts/sparc/krtld \
200 ../../uts/intel/ia32/krtld \
201 ../../uts/intel/amd64/krtld
202
203 xref: FRC
204 @ $(RM) cscope.*
|
98
99 MSGDIR= messages
100
101
102 all := TARGET= all
103 install := TARGET= install
104 clean := TARGET= clean
105 clobber := TARGET= clobber
106 delete := TARGET= delete
107 lint := TARGET= lint
108 _msg := TARGET= catalog
109 _msg_gettext := TARGET= catalog
110 _msg_sgsmsg := TARGET= catalog
111 chkmsg := TARGET= chkmsg
112
113
114 .KEEP_STATE:
115
116 .PARALLEL: $(SUBDIRS)
117
118 all install: $(SUBDIRS)
119
120 include $(SRC)/cmd/Makefile.targ
121
122 # Messaging support
123 #
124 _msg: _msg_gettext _msg_sgsmsg
125
126 _msg_gettext: $(MSGDOMAIN)/$(POFILE)
127
128 _msg_sgsmsg: $(MSGDIR)
129
130 $(MSGDOMAIN)/$(POFILE): \
131 $(MSGDOMAIN) $(POFILE)
132
133 $(POFILE): $(POSUBDIRS)
134 $(RM) $(POFILE)
135 cat $(POFILES) > $(POFILE)
136
137 $(MSGDIR): $(MSGSUBDIRS) FRC
138 @ cd $@; pwd; $(MAKE) $(TARGET)
139
140 chkmsg: libconv $(MSGSUBDIRS) FRC
141
142 check: chkmsg
143
144 # built from lib/Makefile
145 install_lib: FRC
146 @ cd lex; pwd; $(MAKE) $@
147 @ cd yacc; pwd; $(MAKE) $@
148
149 lint:
150
151 delete clean clobber: $(SUBDIRS) $(MSGDIR)
152
153 $(SUBDIRS): FRC
154 @ cd $@; pwd; $(MAKE) $(TARGET)
155
156 FRC:
157
158 #
159 # Cross-reference customization: ignore the directories named by XRPRUNE,
160 # and tweak the file globs slightly.
161 #
162 XRPRUNE= rtld.4.x abi
163 XRADD= *.msg mapfile*
164 XRDEL= Makefile* kobj_*
165
166 #
167 # Establish a set of directories for xref to search. As there are duplicates
168 # of things like headers, and only one file will be added to the xref database,
169 # we want xref to list the source file.
170 #
171 XRDIRS= . \
172 ../../common/elfcap \
173 ../../head \
174 ../../uts/common/krtld \
175 ../../uts/common/sys \
176 ../../uts/sparc/sys \
177 ../../uts/sparc/krtld \
178 ../../uts/intel/ia32/krtld \
179 ../../uts/intel/amd64/krtld
180
181 xref: FRC
182 @ $(RM) cscope.*
|