make-rules/component-report
author pkidd <patrick.kidd@oracle.com>
Thu, 10 Mar 2016 08:38:19 -0800
branchs11u3-sru
changeset 5573 56564f280aba
parent 5300 7c8e8ab492d5
permissions -rw-r--r--
Added tag 0.175.3.7.0.1.0, S11.3SRU7.1 for changeset 9eae79cfd382
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2434
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
PKG_REPORTS=$(CANONICAL_MANIFESTS:%.p5m=$(BUILD_DIR)/%.pkg-report)
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
HGWEB_BASE_URL = http://userland.us.oracle.com/hg/file/tip/
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
ARIA_BASE_URL = http://people.us.oracle.com/pls/oracle/find_person?p_string=
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
ARC_BASE_URL = http://psarc.us.oracle.com/
2481
638b7db19366 16245054 Auto-generation of Userland gate list - Phase 6
Rich Burridge <rich.burridge@oracle.com>
parents: 2434
diff changeset
     7
BUGDB_URL = http://userland.us.oracle.com/bugdb?cat-subcat=
2434
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
REPORT_TRANSFORMS = $(WS_TOP)/transforms/report
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
CDIR=$(COMPONENT_DIR:$(WS_TOP)/%=%)
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
3662
d2e09f75ea27 19775104 Multiple TPNO's not being correctly displayed on Userland gatelist webpage
John Beck <John.Beck@Oracle.COM>
parents: 2481
diff changeset
    12
# Add all the TPNO* Makefile macros together for further processing below.
d2e09f75ea27 19775104 Multiple TPNO's not being correctly displayed on Userland gatelist webpage
John Beck <John.Beck@Oracle.COM>
parents: 2481
diff changeset
    13
$(foreach macro, $(filter TPNO%, $(.VARIABLES)), \
d2e09f75ea27 19775104 Multiple TPNO's not being correctly displayed on Userland gatelist webpage
John Beck <John.Beck@Oracle.COM>
parents: 2481
diff changeset
    14
    $(eval ALL_TPNOS += $$($(macro))) \
d2e09f75ea27 19775104 Multiple TPNO's not being correctly displayed on Userland gatelist webpage
John Beck <John.Beck@Oracle.COM>
parents: 2481
diff changeset
    15
)
d2e09f75ea27 19775104 Multiple TPNO's not being correctly displayed on Userland gatelist webpage
John Beck <John.Beck@Oracle.COM>
parents: 2481
diff changeset
    16
2434
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
component-report:	$(BUILD_DIR)/component-report
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
$(BUILD_DIR)/component-report:	$(BUILD_DIR)/package-info
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
	@echo "<tr>" >[email protected]
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    21
	@echo "<td><a href='$(COMPONENT_PROJECT_URL)'>$(COMPONENT_NAME)</a></td>" >>[email protected]
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
	@echo "<td><a href='$(COMPONENT_ARCHIVE_URL)'>$(COMPONENT_VERSION)</a></td>" >>[email protected]
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    23
	@echo "<td><a href='$(HGWEB_BASE_URL)$(CDIR)'>$(CDIR)</a></td>" >>[email protected]
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
	@echo "<td>" >>[email protected] ; for pkg in $(PACKAGE) ; do \
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    25
             echo "$$pkg<br>" >>[email protected] ; \
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
	 done ; echo "</td>" >>[email protected]
5300
7c8e8ab492d5 22547960 Add TPNO link to Userland gate list webpage
Rich Burridge <rich.burridge@oracle.com>
parents: 3662
diff changeset
    27
	@echo "<td>" >>[email protected] ; for arc in $(COMP_ARC_CASE) ; do \
2434
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
             echo "<a href='$(ARC_BASE_URL)$$arc'>$$arc</a><br>" >>[email protected] ; \
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    29
	 done ; echo "</td>" >>[email protected]
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
	@echo "<td>" >>[email protected] ; for license in $(LICENSE) ; do \
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
	     echo "$$license<br>" >>[email protected] ; \
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    32
	 done ; echo "</td>" >>[email protected]
3662
d2e09f75ea27 19775104 Multiple TPNO's not being correctly displayed on Userland gatelist webpage
John Beck <John.Beck@Oracle.COM>
parents: 2481
diff changeset
    33
	@echo "<td>" >>[email protected] ; for tpno in $(ALL_TPNOS) ; do \
5300
7c8e8ab492d5 22547960 Add TPNO link to Userland gate list webpage
Rich Burridge <rich.burridge@oracle.com>
parents: 3662
diff changeset
    34
	     echo "<a href='https://pls.us.oracle.com/PLS/faces/ThirdPartyHome?itemDetail=Y&aid=$$tpno'>$${tpno}</a><br>" >>[email protected] ; \
3662
d2e09f75ea27 19775104 Multiple TPNO's not being correctly displayed on Userland gatelist webpage
John Beck <John.Beck@Oracle.COM>
parents: 2481
diff changeset
    35
	 done ; echo "</td>" >>[email protected]
2434
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    36
	@echo "<td>" >>[email protected] ; for bugdb in $(COMPONENT_BUGDB) ; do \
2481
638b7db19366 16245054 Auto-generation of Userland gate list - Phase 6
Rich Burridge <rich.burridge@oracle.com>
parents: 2434
diff changeset
    37
	     echo "<a href='$(BUGDB_URL)$$bugdb'>$$bugdb</a><br>" >>[email protected] ; \
2434
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    38
	 done ; echo "</td>" >>[email protected]
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    39
	@echo "<td><a href='$(ARIA_BASE_URL)$(RESPONSIBLE_ENGINEER)'>$(RESPONSIBLE_ENGINEER)</a></td>" >>[email protected]
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    40
	@echo "<td><a href='$(ARIA_BASE_URL)$(RESPONSIBLE_MANAGER)'>$(RESPONSIBLE_MANAGER)</a></td>" >>[email protected]
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    41
	@echo "<td>$(TEAM)</td>" >>[email protected]
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    42
	@echo "</tr>" >>[email protected]
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    43
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    44
$(BUILD_DIR)/package-info:	$(PKG_REPORTS)
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    45
	@cat $(PKG_REPORTS) | sort -u >[email protected]
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    46
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    47
$(BUILD_DIR)/component-info:	$(PKG_REPORTS)
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    48
	@echo "COMPONENT_NAME=\"$(COMPONENT_NAME)\"" >[email protected]
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    49
	@echo "COMPONENT_VERSION=\"$(COMPONENT_VERSION)\"" >>[email protected]
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    50
	@echo "COMPONENT_PROJECT_URL=\"$(COMPONENT_PROJECT_URL)\"" >>[email protected]
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    51
	@echo "COMPONENT_ARCHIVE_URL=\"$(COMPONENT_ARCHIVE_URL)\"" >>[email protected]
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    52
	@echo "COMPONENT_DIR=\"$(CDIR)\"" >>[email protected]
3662
d2e09f75ea27 19775104 Multiple TPNO's not being correctly displayed on Userland gatelist webpage
John Beck <John.Beck@Oracle.COM>
parents: 2481
diff changeset
    53
	@echo "TPNO=\"$(ALL_TPNOS)\"" >>[email protected]
2434
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    54
	@echo "COMPONENT_BUGDB=\"$(COMPONENT_BUGDB)\"" >>[email protected]
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    55
	@echo "RESPONSIBLE_ENGINEER=\"$(RESPONSIBLE_ENGINEER)\"" >>[email protected]
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    56
	@echo "RESPONSIBLE_MANAGER=\"$(RESPONSIBLE_MANAGER)\"" >>[email protected]
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    57
	@echo "TEAM=\"$(TEAM)\"" >>[email protected]
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    58
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    59
$(BUILD_DIR)/%.pkg-report:	%.p5m $(BUILD_DIR)
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    60
	@$(PKGMOGRIFY) $(PKG_OPTIONS) -P [email protected] $< \
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    61
		$(REPORT_TRANSFORMS) >/dev/null
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    62
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    63
include $(BUILD_DIR)/package-info