make-rules/component-report
author Petr Nyc <Petr.Nyc@Oracle.COM>
Fri, 18 Sep 2015 00:26:21 -0400
branchs11u3-sru
changeset 4874 3c3d9a5b5065
parent 3662 d2e09f75ea27
child 5300 7c8e8ab492d5
permissions -rw-r--r--
build metadata for S11.3SRU1.2
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>" >$@
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>" >>$@
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>" >>$@
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>" >>$@
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>" >>$@ ; 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>" >>$@ ; \
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>" >>$@
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
	@echo "<td>" >>$@ ; for arc in $(ARC_CASE) ; do \
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>" >>$@ ; \
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>" >>$@
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>" >>$@ ; 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>" >>$@ ; \
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>" >>$@
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>" >>$@ ; for tpno in $(ALL_TPNOS) ; do \
d2e09f75ea27 19775104 Multiple TPNO's not being correctly displayed on Userland gatelist webpage
John Beck <John.Beck@Oracle.COM>
parents: 2481
diff changeset
    34
	     echo "$${tpno}<br>" >>$@ ; \
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>" >>$@
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>" >>$@ ; 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>" >>$@ ; \
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>" >>$@
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>" >>$@
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>" >>$@
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>" >>$@
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>" >>$@
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 >$@
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)\"" >$@
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)\"" >>$@
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)\"" >>$@
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)\"" >>$@
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)\"" >>$@
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)\"" >>$@
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)\"" >>$@
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)\"" >>$@
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)\"" >>$@
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)\"" >>$@
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 $@ $< \
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