Makefile (14c3be3932e278c263b32fb17daff38fd4de18f8) Makefile (7b07063d906859b2be1e88791f801b3c96e432f6)
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

--- 8 unchanged lines hidden (view full) ---

17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24# Copyright 2015, OmniTI Computer Consulting, Inc. All rights reserved.
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

--- 8 unchanged lines hidden (view full) ---

17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24# Copyright 2015, OmniTI Computer Consulting, Inc. All rights reserved.
25# Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
25#
26
27include $(SRC)/Makefile.master
28include $(SRC)/Makefile.buildnum
29
30#
31# Make sure we're getting a consistent execution environment for the
32# embedded scripts.

--- 586 unchanged lines hidden (view full) ---

619# contents of the processed manifests, which can vary depending on build
620# environment.
621#
622$(PKGLISTS): $(PROC_PKGS)
623 $(PKGDEBUG)sdotr=$(@F:packages.%=%); \
624 r=$${sdotr%.+(?)}; s=$${sdotr#+(?).}; \
625 print "Generating $$r $$s package list"; \
626 $(RM) $(@); $(TOUCH) $(@); \
26#
27
28include $(SRC)/Makefile.master
29include $(SRC)/Makefile.buildnum
30
31#
32# Make sure we're getting a consistent execution environment for the
33# embedded scripts.

--- 586 unchanged lines hidden (view full) ---

620# contents of the processed manifests, which can vary depending on build
621# environment.
622#
623$(PKGLISTS): $(PROC_PKGS)
624 $(PKGDEBUG)sdotr=$(@F:packages.%=%); \
625 r=$${sdotr%.+(?)}; s=$${sdotr#+(?).}; \
626 print "Generating $$r $$s package list"; \
627 $(RM) $(@); $(TOUCH) $(@); \
627 $(NAWK) 'BEGIN { \
628 $(AWK) 'BEGIN { \
628 if (ARGC < 2) { \
629 exit; \
630 } \
631 retcode = 0; \
632 for (i = 1; i < ARGC; i++) { \
633 do { \
634 e = getline f < ARGV[i]; \
635 } while ((e == 1) && (f !~ /name=pkg.fmri/)); \

--- 36 unchanged lines hidden (view full) ---

672# Staging the license and description files in the proto area allows
673# us to do proper unreferenced file checking of both license and
674# description files without blanket exceptions, and to pull license
675# content without reference to $CODEMGR_WS during publication.
676#
677stage-licenses: license-list FRC
678 $(PKGDEBUG)$(MAKE) -e -f Makefile.lic \
679 PKGDEBUG=$(PKGDEBUG) LICROOT=$(PKGROOT)/licenses \
629 if (ARGC < 2) { \
630 exit; \
631 } \
632 retcode = 0; \
633 for (i = 1; i < ARGC; i++) { \
634 do { \
635 e = getline f < ARGV[i]; \
636 } while ((e == 1) && (f !~ /name=pkg.fmri/)); \

--- 36 unchanged lines hidden (view full) ---

673# Staging the license and description files in the proto area allows
674# us to do proper unreferenced file checking of both license and
675# description files without blanket exceptions, and to pull license
676# content without reference to $CODEMGR_WS during publication.
677#
678stage-licenses: license-list FRC
679 $(PKGDEBUG)$(MAKE) -e -f Makefile.lic \
680 PKGDEBUG=$(PKGDEBUG) LICROOT=$(PKGROOT)/licenses \
680 `$(NAWK) '{ \
681 `$(AWK) '{ \
681 print "$(PKGROOT)/licenses/" $$0; \
682 print "$(PKGROOT)/licenses/" $$0 ".descrip"; \
683 }' license-list` > /dev/null;
684
685protocmp: makesilent
686 @validate_pkg -a $(PKGMACH) -v \
687 $(EXCEPTIONS:%=-e $(CODEMGR_WS)/exception_lists/%) \
688 -m $(PDIR) -p $(PKGROOT) -p $(TOOLSROOT)

--- 51 unchanged lines hidden ---
682 print "$(PKGROOT)/licenses/" $$0; \
683 print "$(PKGROOT)/licenses/" $$0 ".descrip"; \
684 }' license-list` > /dev/null;
685
686protocmp: makesilent
687 @validate_pkg -a $(PKGMACH) -v \
688 $(EXCEPTIONS:%=-e $(CODEMGR_WS)/exception_lists/%) \
689 -m $(PDIR) -p $(PKGROOT) -p $(TOOLSROOT)

--- 51 unchanged lines hidden ---