Print this page
make: build and install
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/Makefile.cmd
+++ new/usr/src/cmd/Makefile.cmd
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 # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
23 23 #
24 24 # Definitions common to command source.
25 25 #
26 26 # include global definitions; SRC should be defined in the shell.
27 27 # SRC is needed until RFE 1026993 is implemented.
28 28
29 29 include $(SRC)/Makefile.master
30 30
31 31 LN= ln
32 32 SH= sh
33 33 ECHO= echo
34 34 MKDIR= mkdir
35 35 TOUCH= touch
36 36
37 37 FILEMODE= 0555
38 38 LIBFILEMODE= 0444
39 39 XPG4= $(XPG4PROG:%=%.xpg4)
40 40 XPG6= $(XPG6PROG:%=%.xpg6)
41 41
42 42 KRB5DIR= $(ROOT)/usr
43 43 KRB5BIN= $(KRB5DIR)/bin
44 44 KRB5SBIN= $(KRB5DIR)/sbin
45 45 KRB5LIB= $(KRB5DIR)/lib/krb5
46 46 KRB5RUNPATH= /usr/lib/krb5
47 47 GSSRUNPATH= /usr/lib/gss
48 48
49 49
50 50 ROOTBIN= $(ROOT)/usr/bin
51 51 ROOTLIB= $(ROOT)/usr/lib
52 52 ROOTLIBSVCBIN= $(ROOT)/lib/svc/bin
53 53 ROOTLIBSVCMETHOD= $(ROOT)/lib/svc/method
54 54 ROOTLIBXEN= $(ROOT)/usr/lib/xen/bin
55 55 ROOTLIBZONES= $(ROOT)/lib/zones
56 56
57 57 ROOTSHLIB= $(ROOT)/usr/share/lib
58 58 ROOTPKGBIN= $(ROOT)/usr/sadm/install/bin
59 59 ROOTCLASS_SCR_DIR= $(ROOT)/usr/sadm/install/scripts
60 60 ROOTADMIN_SRC_DIR= $(ROOT)/var/sadm/install/admin
61 61
62 62 ROOTSHLIBCCS= $(ROOTSHLIB)/ccs
63 63 ROOTSBIN= $(ROOT)/sbin
64 64 ROOTUSRSBIN= $(ROOT)/usr/sbin
65 65 ROOTETC= $(ROOT)/etc
66 66
67 67 ROOTETCSECURITY= $(ROOTETC)/security
↓ open down ↓ |
67 lines elided |
↑ open up ↑ |
68 68 ROOTETCTSOL= $(ROOTETCSECURITY)/tsol
69 69 ROOTETCSECLIB= $(ROOTETCSECURITY)/lib
70 70 ROOTETCZONES= $(ROOTETC)/zones
71 71
72 72 ROOTETCFTPD= $(ROOT)/etc/ftpd
73 73 ROOTETCINET= $(ROOT)/etc/inet
74 74 ROOTCCSBIN= $(ROOT)/usr/ccs/bin
75 75 ROOTCCSBIN64= $(ROOTCCSBIN)/$(MACH64)
76 76 ROOTCCSBINLINKDIR= $(ROOT)/../../bin
77 77 ROOTCCSBINLINKDIR64= $(ROOT)../../../bin/$(MACH)
78 +ROOTCCSLIB= $(ROOT)/usr/ccs/lib
78 79 ROOTUSRKVM= $(ROOT)/usr/kvm
79 80 ROOTHAS= $(ROOT)/usr/has
80 81 ROOTHASBIN= $(ROOT)/usr/has/bin
81 82 ROOTHASLIB= $(ROOT)/usr/has/lib
82 83 ROOTXPG4= $(ROOT)/usr/xpg4
83 84 ROOTXPG4BIN= $(ROOT)/usr/xpg4/bin
84 85 ROOTXPG4BIN32= $(ROOTXPG4BIN)/$(MACH32)
85 86 ROOTXPG4BIN64= $(ROOTXPG4BIN)/$(MACH64)
86 87 ROOTXPG6= $(ROOT)/usr/xpg6
87 88 ROOTXPG6BIN= $(ROOT)/usr/xpg6/bin
88 89 ROOTLOCALEDEF= $(ROOT)/usr/lib/localedef
89 90 ROOTCHARMAP= $(ROOTLOCALEDEF)/charmap
90 91 ROOTI18NEXT= $(ROOTLOCALEDEF)/extensions
91 92 ROOTI18NEXT64= $(ROOTLOCALEDEF)/extensions/$(MACH64)
92 93 ROOTBIN32= $(ROOTBIN)/$(MACH32)
93 94 ROOTBIN64= $(ROOTBIN)/$(MACH64)
94 95 ROOTCMDDIR64= $(ROOTCMDDIR)/$(MACH64)
95 96 ROOTLIB64= $(ROOTLIB)/$(MACH64)
96 97 ROOTUSRSBIN32= $(ROOTUSRSBIN)/$(MACH32)
97 98 ROOTUSRSBIN64= $(ROOTUSRSBIN)/$(MACH64)
98 99 ROOTMAN= $(ROOT)/usr/share/man
99 100 ROOTMAN1= $(ROOTMAN)/man1
100 101 ROOTMAN1M= $(ROOTMAN)/man1m
101 102 ROOTMAN3= $(ROOTMAN)/man3
102 103 ROOTVARSMB= $(ROOT)/var/smb
103 104
104 105
105 106 #
106 107 # Like ROOTLIBDIR in $(SRC)/Makefile.lib, any lower-level Makefiles that
107 108 # put their binaries in a non-standard location should reset this and use
108 109 # $(ROOTCMD) in their `install' target. By default we set this to a bogus
109 110 # value so that it will not conflict with any of the other values already
110 111 # defined in this Makefile.
111 112 #
112 113 ROOTCMDDIR= $(ROOT)/__nonexistent_directory__
113 114
114 115 ROOTSHAUDIO= $(ROOT)/usr/share/audio
115 116 ROOTAUDIOSAMP= $(ROOTSHAUDIO)/samples
116 117 ROOTAUDIOSAMPAU=$(ROOTAUDIOSAMP)/au
117 118
118 119 ISAEXEC= $(ROOT)/usr/lib/isaexec
119 120 PLATEXEC= $(ROOT)/usr/lib/platexec
120 121
121 122 LDLIBS = $(LDLIBS.cmd)
122 123
123 124 LDFLAGS.cmd = \
124 125 $(BDIRECT) $(ENVLDFLAGS1) $(ENVLDFLAGS2) $(ENVLDFLAGS3) \
125 126 $(MAPFILE.NES:%=-M%) $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%)
126 127
127 128 LDFLAGS = $(LDFLAGS.cmd)
128 129
129 130 LINTFLAGS= -axsm
130 131 LINTFLAGS64= -axsm -m64
131 132 LINTOUT= lint.out
132 133
133 134 KRB5PROG= $(PROG:%=$(KRB5BIN)/%)
134 135 KRB5SBINPROG= $(PROG:%=$(KRB5SBIN)/%)
135 136 KRB5LIBPROG= $(PROG:%=$(KRB5LIB)/%)
136 137
137 138 ROOTPROG= $(PROG:%=$(ROOTBIN)/%)
138 139 ROOTCMD= $(PROG:%=$(ROOTCMDDIR)/%)
139 140 ROOTSHFILES= $(SHFILES:%=$(ROOTBIN)/%)
140 141 ROOTLIBPROG= $(PROG:%=$(ROOTLIB)/%)
141 142 ROOTLIBSHFILES= $(SHFILES:%=$(ROOTLIB)/%)
142 143 ROOTSHLIBPROG= $(PROG:%=$(ROOTSHLIB)/%)
143 144 ROOTSBINPROG= $(PROG:%=$(ROOTSBIN)/%)
144 145 ROOTPKGBINPROG= $(PROG:%=$(ROOTPKGBIN)/%)
145 146 ROOTCLASS_SCR_FILES= $(SCRIPTS:%=$(ROOTCLASS_SCR_DIR)/%)
146 147 ROOTUSRSBINPROG=$(PROG:%=$(ROOTUSRSBIN)/%)
147 148 ROOTUSRSBINSCRIPT=$(SCRIPT:%=$(ROOTUSRSBIN)/%)
148 149 ROOTETCPROG= $(PROG:%=$(ROOTETC)/%)
149 150 ROOTHASBINPROG= $(PROG:%=$(ROOTHASBIN)/%)
150 151 ROOTHASLIBPROG= $(PROG:%=$(ROOTHASLIB)/%)
151 152 ROOTCCSBINPROG= $(PROG:%=$(ROOTCCSBIN)/%)
152 153 ROOTCCSBINPROG64= $(PROG:%=$(ROOTCCSBIN64)/%)
153 154 ROOTCCSBINLINK=$(PROG:%= $(ROOTCCSBINLINKDIR)/%)
154 155 ROOTCCSBINLINK64=$(PROG:%=$(ROOTCCSBINLINKDIR64)/%)
155 156 ROOTUSRKVMPROG= $(PROG:%=$(ROOTUSRKVM)/%)
156 157 ROOTXPG4PROG= $(XPG4PROG:%=$(ROOTXPG4BIN)/%)
157 158 ROOTXPG4PROG32= $(XPG4PROG:%=$(ROOTXPG4BIN32)/%)
158 159 ROOTXPG4PROG64= $(XPG4PROG:%=$(ROOTXPG4BIN64)/%)
159 160 ROOTXPG6PROG= $(XPG6PROG:%=$(ROOTXPG6BIN)/%)
160 161 ROOTLOCALEPROG= $(PROG:%=$(ROOTLOCALEDEF)/%)
161 162 ROOTPROG64= $(PROG:%=$(ROOTBIN64)/%)
162 163 ROOTPROG32= $(PROG:%=$(ROOTBIN32)/%)
163 164 ROOTCMD64= $(PROG:%=$(ROOTCMDDIR64)/%)
164 165 ROOTUSRSBINPROG32= $(PROG:%=$(ROOTUSRSBIN32)/%)
165 166 ROOTUSRSBINPROG64= $(PROG:%=$(ROOTUSRSBIN64)/%)
166 167 ROOTMAN1FILES= $(MAN1FILES:%=$(ROOTMAN1)/%)
167 168 $(ROOTMAN1FILES) := FILEMODE= 444
168 169 ROOTMAN1MFILES= $(MAN1MFILES:%=$(ROOTMAN1M)/%)
169 170 $(ROOTMAN1MFILES) := FILEMODE= 444
170 171 ROOTMAN3FILES= $(MAN3FILES:%=$(ROOTMAN3)/%)
171 172 $(ROOTMAN3FILES) := FILEMODE= 444
172 173
173 174 # Symlink rules for /usr/ccs/bin commands. Note, those commands under
174 175 # the rule of the linker area, are controlled by a different set of
175 176 # rules defined in $(SRC)/cmd/sgs/Makefile.var.
176 177
177 178 INS.ccsbinlink= \
178 179 $(RM) $(ROOTCCSBINPROG); \
179 180 $(SYMLINK) ../../bin/$(PROG) $(ROOTCCSBINPROG)
180 181
181 182 INS.ccsbinlink64= \
182 183 $(RM) $(ROOTCCSBINPROG64); \
183 184 $(SYMLINK) ../../../bin/$(MACH64)/$(PROG) $(ROOTCCSBINPROG64)
184 185
185 186 ROOTETCDEFAULT= $(ROOTETC)/default
186 187 ROOTETCDEFAULTFILES= $(DEFAULTFILES:%.dfl=$(ROOTETCDEFAULT)/%)
187 188 $(ROOTETCDEFAULTFILES) := FILEMODE = 0644
188 189
189 190 ROOTETCSECFILES= $(ETCSECFILES:%=$(ROOTETCSECURITY)/%)
190 191 $(ROOTETCSECFILES) := FILEMODE = 0644
191 192
192 193 ROOTETCTSOLFILES= $(ETCTSOLFILES:%=$(ROOTETCTSOL)/%)
193 194 $(ROOTETCTSOLFILES) := FILEMODE = 0644
194 195
195 196 ROOTETCSECLIBFILES= $(ETCSECLIBFILES:%=$(ROOTETCSECLIB)/%)
196 197
197 198 ROOTETCZONESFILES= $(ETCZONESFILES:%=$(ROOTETCZONES)/%)
198 199 $(ROOTETCZONESFILES) := FILEMODE = 0444
199 200
200 201 ROOTLIBZONESFILES= $(LIBZONESFILES:%=$(ROOTLIBZONES)/%)
201 202 $(ROOTLIBZONESFILES) := FILEMODE = 0555
202 203
203 204 ROOTADMIN_SRC_FILE= $(ADMINFILE:%=$(ROOTADMIN_SRC_DIR)/%)
204 205 $(ROOTADMIN_SRC_FILE) := FILEMODE = 0444
205 206
206 207 #
207 208 # Directories for smf(5) service manifests and profiles.
208 209 #
209 210 ROOTSVC= $(ROOT)/lib/svc
210 211 ROOTETCSVC= $(ROOT)/etc/svc
211 212
212 213 ROOTSVCMANIFEST= $(ROOTSVC)/manifest
213 214 ROOTSVCPROFILE= $(ROOTETCSVC)/profile
214 215
215 216 ROOTSVCMILESTONE= $(ROOTSVCMANIFEST)/milestone
216 217 ROOTSVCDEVICE= $(ROOTSVCMANIFEST)/device
217 218 ROOTSVCSYSTEM= $(ROOTSVCMANIFEST)/system
218 219 ROOTSVCSYSTEMDEVICE= $(ROOTSVCSYSTEM)/device
219 220 ROOTSVCSYSTEMFILESYSTEM= $(ROOTSVCSYSTEM)/filesystem
220 221 ROOTSVCSYSTEMSECURITY= $(ROOTSVCSYSTEM)/security
221 222 ROOTSVCNETWORK= $(ROOTSVCMANIFEST)/network
222 223 ROOTSVCNETWORKDNS= $(ROOTSVCNETWORK)/dns
223 224 ROOTSVCNETWORKISCSI= $(ROOTSVCNETWORK)/iscsi
224 225 ROOTSVCNETWORKLDAP= $(ROOTSVCNETWORK)/ldap
225 226 ROOTSVCNETWORKNFS= $(ROOTSVCNETWORK)/nfs
226 227 ROOTSVCNETWORKNIS= $(ROOTSVCNETWORK)/nis
227 228 ROOTSVCNETWORKROUTING= $(ROOTSVCNETWORK)/routing
228 229 ROOTSVCNETWORKRPC= $(ROOTSVCNETWORK)/rpc
229 230 ROOTSVCNETWORKSMB= $(ROOTSVCNETWORK)/smb
230 231 ROOTSVCNETWORKSECURITY= $(ROOTSVCNETWORK)/security
231 232 ROOTSVCNETWORKSSL= $(ROOTSVCNETWORK)/ssl
232 233 ROOTSVCNETWORKIPSEC= $(ROOTSVCNETWORK)/ipsec
233 234 ROOTSVCNETWORKSHARES= $(ROOTSVCNETWORK)/shares
234 235 ROOTSVCSMB= $(ROOTSVCNETWORK)/smb
235 236 ROOTSVCPLATFORM= $(ROOTSVCMANIFEST)/platform
236 237 ROOTSVCPLATFORMSUN4U= $(ROOTSVCPLATFORM)/sun4u
237 238 ROOTSVCPLATFORMSUN4V= $(ROOTSVCPLATFORM)/sun4v
238 239 ROOTSVCAPPLICATION= $(ROOTSVCMANIFEST)/application
239 240 ROOTSVCAPPLICATIONMANAGEMENT= $(ROOTSVCAPPLICATION)/management
240 241 ROOTSVCAPPLICATIONSECURITY= $(ROOTSVCAPPLICATION)/security
241 242 ROOTSVCAPPLICATIONPRINT= $(ROOTSVCAPPLICATION)/print
242 243
243 244 #
244 245 # Commands Makefiles delivering a manifest are expected to define MANIFEST.
245 246 #
246 247 # Like ROOTCMDDIR, any lower-level Makefiles that put their manifests in a
247 248 # subdirectory of the manifest directories listed above should reset
248 249 # ROOTMANIFESTDIR and use it in their `install' target. By default we set this
249 250 # to a bogus value so that it will not conflict with any of the other values
250 251 # already defined in this Makefile.
251 252 #
252 253 # The manifest validation of the $SRC/cmd check target is also derived from a
253 254 # valid MANIFEST setting.
254 255 #
255 256 ROOTMANIFESTDIR= $(ROOTSVCMANIFEST)/__nonexistent_directory__
256 257 ROOTMANIFEST= $(MANIFEST:%=$(ROOTMANIFESTDIR)/%)
257 258 CHKMANIFEST= $(MANIFEST:%.xml=%.xmlchk)
258 259
259 260 # Manifests cannot be checked in parallel, because we are using the global
260 261 # repository that is in $(SRC)/cmd/svc/seed/global.db. This is a
261 262 # repository that is built from the manifests in this workspace, whereas
262 263 # the build machine's repository may be out of sync with these manifests.
263 264 # Because we are using a private repository, svccfg-native must start up a
264 265 # private copy of configd-native. We cannot have multiple copies of
265 266 # configd-native trying to access global.db simultaneously.
266 267
267 268 .NO_PARALLEL: $(CHKMANIFEST)
268 269
269 270 #
270 271 # For installing "starter scripts" of services
271 272 #
272 273
273 274 ROOTSVCMETHOD= $(SVCMETHOD:%=$(ROOTLIBSVCMETHOD)/%)
274 275
275 276 ROOTSVCBINDIR= $(ROOTLIBSVCBIN)/__nonexistent_directory__
276 277 ROOTSVCBIN= $(SVCBIN:%=$(ROOTSVCBINDIR)/%)
277 278
278 279 #
279 280
280 281 # For programs that are installed in the root filesystem,
281 282 # build $(ROOTFS_PROG) rather than $(PROG)
282 283 $(ROOTFS_PROG) := LDFLAGS += -Wl,-I/lib/ld.so.1
283 284
284 285 $(KRB5BIN)/%: %
285 286 $(INS.file)
286 287
287 288 $(KRB5SBIN)/%: %
288 289 $(INS.file)
289 290
290 291 $(KRB5LIB)/%: %
291 292 $(INS.file)
292 293
293 294 $(ROOTBIN)/%: %
294 295 $(INS.file)
295 296
296 297 $(ROOTLIB)/%: %
297 298 $(INS.file)
298 299
299 300 $(ROOTBIN64)/%: %
300 301 $(INS.file)
301 302
302 303 $(ROOTLIB64)/%: %
303 304 $(INS.file)
304 305
305 306 $(ROOTBIN32)/%: %
306 307 $(INS.file)
307 308
308 309 $(ROOTSHLIB)/%: %
309 310 $(INS.file)
310 311
311 312 $(ROOTPKGBIN)/%: %
312 313 $(INS.file)
313 314
314 315 $(ROOTCLASS_SCR_DIR)/%: %
315 316 $(INS.file)
316 317
317 318 $(ROOTADMIN_SRC_DIR)/%: %
318 319 $(INS.file)
319 320
320 321 $(ROOTSBIN)/%: %
321 322 $(INS.file)
322 323
323 324 $(ROOTUSRSBIN)/%: %
324 325 $(INS.file)
325 326
326 327 $(ROOTUSRSBIN32)/%: %
327 328 $(INS.file)
328 329
329 330 $(ROOTUSRSBIN64)/%: %
330 331 $(INS.file)
331 332
332 333 $(ROOTETC)/%: %
333 334 $(INS.file)
334 335
335 336 $(ROOTETCFTPD)/%: %
336 337 $(INS.file)
337 338
338 339 $(ROOTETCINET)/%: %
339 340 $(INS.file)
340 341
341 342 $(ROOTETCDEFAULT)/%: %.dfl
342 343 $(INS.rename)
343 344
344 345 $(ROOTETCTSOL)/%: %
345 346 $(INS.file)
346 347
347 348 $(ROOTETCSECLIB)/%: %
348 349 $(INS.file)
349 350
350 351 $(ROOTETCZONES)/%: %
351 352 $(INS.file)
352 353
353 354 $(ROOTLIBZONES)/%: %
354 355 $(INS.file)
355 356
356 357 $(ROOTLIBXEN)/%: %
357 358 $(INS.file)
358 359
359 360 $(ROOTHASBIN)/%: %
360 361 $(INS.file)
361 362
362 363 $(ROOTHASLIB)/%: %
363 364 $(INS.file)
364 365
365 366 $(ROOTUSRKVM)/%: %
366 367 $(INS.file)
367 368
368 369 $(ROOTXPG4BIN)/%: %.xpg4
369 370 $(INS.rename)
370 371
371 372 $(ROOTXPG4BIN32)/%: %.xpg4
372 373 $(INS.rename)
373 374
374 375 $(ROOTXPG4BIN64)/%: %.xpg4
375 376 $(INS.rename)
376 377
377 378 $(ROOTXPG6BIN)/%: %.xpg6
378 379 $(INS.rename)
379 380
380 381 $(ROOTLOCALEDEF)/%: %
381 382 $(INS.file)
382 383
383 384 $(ROOTCHARMAP)/%: %
384 385 $(INS.file)
385 386
386 387 $(ROOTI18NEXT)/%: %
387 388 $(INS.file)
388 389
389 390 $(ROOTI18NEXT64)/%: %
390 391 $(INS.file)
391 392
392 393 $(ROOTLIBSVCMETHOD)/%: %
393 394 $(INS.file)
394 395
395 396 $(ROOTLIBSVCBIN)/%: %
396 397 $(INS.file)
397 398
398 399 $(ROOTSVCMILESTONE)/%: %
399 400 $(INS.file)
400 401
401 402 $(ROOTSVCDEVICE)/%: %
402 403 $(INS.file)
403 404
404 405 $(ROOTSVCSYSTEM)/%: %
405 406 $(INS.file)
406 407
407 408 $(ROOTSVCSYSTEMDEVICE)/%: %
408 409 $(INS.file)
409 410
410 411 $(ROOTSVCSYSTEMFILESYSTEM)/%: %
411 412 $(INS.file)
412 413
413 414 $(ROOTSVCSYSTEMSECURITY)/%: %
414 415 $(INS.file)
415 416
416 417 $(ROOTSVCNETWORK)/%: %
417 418 $(INS.file)
418 419
419 420 $(ROOTSVCNETWORKLDAP)/%: %
420 421 $(INS.file)
421 422
422 423 $(ROOTSVCNETWORKNFS)/%: %
423 424 $(INS.file)
424 425
425 426 $(ROOTSVCNETWORKNIS)/%: %
426 427 $(INS.file)
427 428
428 429 $(ROOTSVCNETWORKRPC)/%: %
429 430 $(INS.file)
430 431
431 432 $(ROOTSVCNETWORKSECURITY)/%: %
432 433 $(INS.file)
433 434
434 435 $(ROOTSVCNETWORKSSL)/%: %
435 436 $(INS.file)
436 437
437 438 $(ROOTSVCNETWORKIPSEC)/%: %
438 439 $(INS.file)
439 440
440 441 $(ROOTSVCNETWORKSHARES)/%: %
441 442 $(INS.file)
442 443
443 444 $(ROOTSVCNETWORKSMB)/%: %
444 445 $(INS.file)
445 446
446 447 $(ROOTSVCAPPLICATION)/%: %
447 448 $(INS.file)
448 449
449 450 $(ROOTSVCAPPLICATIONMANAGEMENT)/%: %
450 451 $(INS.file)
451 452
452 453 $(ROOTSVCAPPLICATIONSECURITY)/%: %
453 454 $(INS.file)
454 455
455 456 $(ROOTSVCAPPLICATIONPRINT)/%: %
456 457 $(INS.file)
457 458
458 459 $(ROOTSVCPLATFORM)/%: %
459 460 $(INS.file)
460 461
461 462 $(ROOTSVCPLATFORMSUN4U)/%: %
462 463 $(INS.file)
463 464
464 465 $(ROOTSVCPLATFORMSUN4V)/%: %
465 466 $(INS.file)
466 467
467 468 # Install rule for gprof, yacc, and lex dependency files
468 469 $(ROOTSHLIBCCS)/%: ../common/%
469 470 $(INS.file)
470 471
471 472 $(ROOTCCSBINLINKDIR)/%: %
472 473 $(INS.ccsbinlink)
473 474
474 475 $(ROOTCCSBINLINKDIR64)/%: %
475 476 $(INS.ccsbinlink64)
476 477
477 478 $(ROOTMAN1)/%: %.sunman
478 479 $(INS.rename)
479 480
480 481 $(ROOTMAN1M)/%: %.sunman
481 482 $(INS.rename)
482 483
483 484 $(ROOTMAN3)/%: %.sunman
484 485 $(INS.rename)
485 486
486 487 $(ROOTVARSMB)/%: %
487 488 $(INS.file)
488 489
489 490 # build rule for statically linked programs with single source file.
490 491 %.static: %.c
491 492 $(LINK.c) -o $@ $< $(LDLIBS)
492 493 $(POST_PROCESS)
493 494
494 495 %.xpg4: %.c
495 496 $(LINK.c) -o $@ $< $(LDLIBS)
496 497 $(POST_PROCESS)
497 498
498 499 %.xpg6: %.c
499 500 $(LINK.c) -o $@ $< $(LDLIBS)
500 501 $(POST_PROCESS)
501 502
502 503 # Define the majority text domain in this directory.
503 504 TEXT_DOMAIN= SUNW_OST_OSCMD
504 505
505 506 CLOBBERFILES += $(XPG4) $(XPG6) $(DCFILE)
506 507
507 508 # This flag is for programs which should not build a 32-bit binary
508 509 sparc_64ONLY= $(POUND_SIGN)
509 510 64ONLY= $($(MACH)_64ONLY)
↓ open down ↓ |
422 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX