Makefile (ae39239e04452933e89d03a1fb502e3e2836a332) | Makefile (d34af1a4fea9785e1d7f8aff94fe157b2af0d2f5) |
---|---|
1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 148 unchanged lines hidden (view full) --- 157# 158PDIR= packages.$(PKGMACH) 159 160# 161# The tools proto must be specified for dependency generation. 162# Publication from the tools proto area is managed in the 163# publication rule. 164# | 1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 148 unchanged lines hidden (view full) --- 157# 158PDIR= packages.$(PKGMACH) 159 160# 161# The tools proto must be specified for dependency generation. 162# Publication from the tools proto area is managed in the 163# publication rule. 164# |
165$(PDIR)/SUNWonbld.dep:= PKGROOT= $(TOOLSROOT) | 165$(PDIR)/developer-build-onbld.dep:= PKGROOT= $(TOOLSROOT) |
166 167PKGPUBLISHER= $(PKGPUBLISHER_REDIST) 168$(PKGDEST)/repo.extra:= PKGPUBLISHER= $(PKGPUBLISHER_NONREDIST) 169 170# 171# To get these defaults, manifests should simply refer to $(PKGVERS). 172# 173PKGVERS_COMPONENT= 0.$(RELEASE) --- 120 unchanged lines hidden (view full) --- 294# obsolete Include in incorporation, but not group package 295# renamed Include in incorporation, but not group package 296# current Include in incorporation and group package 297# 298# Since the semantics of the "noincorp" package status dictate that 299# such packages are not included in the incorporation or group packages, 300# there is no need to build noincorp package lists. 301# | 166 167PKGPUBLISHER= $(PKGPUBLISHER_REDIST) 168$(PKGDEST)/repo.extra:= PKGPUBLISHER= $(PKGPUBLISHER_NONREDIST) 169 170# 171# To get these defaults, manifests should simply refer to $(PKGVERS). 172# 173PKGVERS_COMPONENT= 0.$(RELEASE) --- 120 unchanged lines hidden (view full) --- 294# obsolete Include in incorporation, but not group package 295# renamed Include in incorporation, but not group package 296# current Include in incorporation and group package 297# 298# Since the semantics of the "noincorp" package status dictate that 299# such packages are not included in the incorporation or group packages, 300# there is no need to build noincorp package lists. 301# |
302# Since packages depend on their incorporation, noincorp necessarily 303# implies nodepend, or it would inadvertently pull in other packages. 304# | |
305PKGLISTS= \ 306 $(REPOS:%=$(PDIR)/packages.%.current) \ 307 $(REPOS:%=$(PDIR)/packages.%.renamed) \ 308 $(REPOS:%=$(PDIR)/packages.%.obsolete) 309 310.KEEP_STATE: 311 312.PARALLEL: $(PKGS) $(PROC_PKGS) $(DEP_PKGS) \ --- 105 unchanged lines hidden (view full) --- 418 print "Suppressing dependency resolution"; \ 419 for p in $(DEP_PKGS:%.dep=%); do \ 420 $(CP) $$p.dep $$p.res; \ 421 done; \ 422 else \ 423 print "Resolving dependencies"; \ 424 pkgdepend resolve -m $(DEP_PKGS); \ 425 for p in $(DEP_PKGS:%.dep=%); do \ | 302PKGLISTS= \ 303 $(REPOS:%=$(PDIR)/packages.%.current) \ 304 $(REPOS:%=$(PDIR)/packages.%.renamed) \ 305 $(REPOS:%=$(PDIR)/packages.%.obsolete) 306 307.KEEP_STATE: 308 309.PARALLEL: $(PKGS) $(PROC_PKGS) $(DEP_PKGS) \ --- 105 unchanged lines hidden (view full) --- 415 print "Suppressing dependency resolution"; \ 416 for p in $(DEP_PKGS:%.dep=%); do \ 417 $(CP) $$p.dep $$p.res; \ 418 done; \ 419 else \ 420 print "Resolving dependencies"; \ 421 pkgdepend resolve -m $(DEP_PKGS); \ 422 for p in $(DEP_PKGS:%.dep=%); do \ |
426 $(MV) $$p.dep.res $$p.res; \ | 423 if [ "$$(print $$p.metadata.*)" = \ 424 "$$(print $$p.metadata.noincorp.*)" ]; \ 425 then \ 426 print "Removing dependency versions from $$p"; \ 427 $(PKGMOGRIFY) $(PKGMOG_VERBOSE) \ 428 -O $$p.res -I transforms \ 429 strip_versions $$p.dep.res; \ 430 $(RM) $$p.dep.res; \ 431 else \ 432 $(MV) $$p.dep.res $$p.res; \ 433 fi; \ |
427 done; \ 428 fi 429 $(PKGDEBUG)for p in $(DEP_SYNTH_PKGS:%.dep=%); \ 430 do \ 431 $(CP) $$p.dep $$p.res; \ 432 done 433 $(PKGDEBUG)$(TOUCH) $(@) 434 --- 93 unchanged lines hidden (view full) --- 528 @print "Processing manifest $(<F)" 529 $(PKGDEBUG)$(RM) $(@) $(@:%.mog=%) $(@:%.mog=%.nodepend) \ 530 $(PDIR)/$(@F:%.mog=%).metadata.* 531 $(PKGDEBUG)eval REPO=redist PKGSTAT=current \ 532 NODEPEND=$(SUPPRESSPKGDEP) \ 533 `$(PKGMOGRIFY) $(PKGMOG_VERBOSE) $(PM_INC:%= -I %) \ 534 $(PKGMOG_DEFINES:%=-D %) -O $(@) $(<) $(PM_TRANSFORMS)`; \ 535 if [ -f $(@) ]; then \ | 434 done; \ 435 fi 436 $(PKGDEBUG)for p in $(DEP_SYNTH_PKGS:%.dep=%); \ 437 do \ 438 $(CP) $$p.dep $$p.res; \ 439 done 440 $(PKGDEBUG)$(TOUCH) $(@) 441 --- 93 unchanged lines hidden (view full) --- 535 @print "Processing manifest $(<F)" 536 $(PKGDEBUG)$(RM) $(@) $(@:%.mog=%) $(@:%.mog=%.nodepend) \ 537 $(PDIR)/$(@F:%.mog=%).metadata.* 538 $(PKGDEBUG)eval REPO=redist PKGSTAT=current \ 539 NODEPEND=$(SUPPRESSPKGDEP) \ 540 `$(PKGMOGRIFY) $(PKGMOG_VERBOSE) $(PM_INC:%= -I %) \ 541 $(PKGMOG_DEFINES:%=-D %) -O $(@) $(<) $(PM_TRANSFORMS)`; \ 542 if [ -f $(@) ]; then \ |
536 if [ \( "$$NODEPEND" != "false" \) -o \ 537 \( "$$PKGSTAT" = "noincorp" \) ]; then \ | 543 if [ "$$NODEPEND" != "false" ]; then \ |
538 $(TOUCH) $(@:%.mog=%.nodepend); \ 539 fi; \ 540 $(LN) -s $(@F) \ 541 $(PDIR)/$(@F:%.mog=%).metadata.$$PKGSTAT.$$REPO; \ 542 if [ \( "$$PKGSTAT" = "current" \) -o \ 543 \( "$$PKGSTAT" = "renamed" \) ]; \ 544 then print $(PKGDEP_INCORP) >> $(@); \ 545 fi; \ --- 217 unchanged lines hidden --- | 544 $(TOUCH) $(@:%.mog=%.nodepend); \ 545 fi; \ 546 $(LN) -s $(@F) \ 547 $(PDIR)/$(@F:%.mog=%).metadata.$$PKGSTAT.$$REPO; \ 548 if [ \( "$$PKGSTAT" = "current" \) -o \ 549 \( "$$PKGSTAT" = "renamed" \) ]; \ 550 then print $(PKGDEP_INCORP) >> $(@); \ 551 fi; \ --- 217 unchanged lines hidden --- |