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