Makefile revision 3718
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User#
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# CDDL HEADER START
c7ef13f6c9ef4436bc804b150e0a93307b11fa27Tinderbox User#
c7ef13f6c9ef4436bc804b150e0a93307b11fa27Tinderbox User# The contents of this file are subject to the terms of the
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User# Common Development and Distribution License (the "License").
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User# You may not use this file except in compliance with the License.
c57668a2fbbe558c1bd21652813616f2f517c469Tinderbox User#
5e047890ac9b745db060d95f7d1b4f876511240dTinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
137fdbc214e99c4cbe57551e9e14f2015c2e42aeTinderbox User# or http://www.opensolaris.org/os/licensing.
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox User# See the License for the specific language governing permissions
bed0874e1a09e810575328c4bfc346a47514b69fMark Andrews# and limitations under the License.
02b47c5d62e1e827743684c28a08e871da454a2dMark Andrews#
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# When distributing Covered Code, include this CDDL HEADER in each
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e20309353e6246485c521278131d3fced73d7957Tinderbox User# If applicable, add the following below this CDDL HEADER, with the
e20309353e6246485c521278131d3fced73d7957Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
9a5217f827ac0e006016745e5305b31dc0c7767fTinderbox User#
3cc98b8ecedcbc8465f1cf2740b966b315662430Automatic Updater# CDDL HEADER END
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
e20309353e6246485c521278131d3fced73d7957Tinderbox User#
e20309353e6246485c521278131d3fced73d7957Tinderbox Userinclude ../../make-rules/shared-macros.mk
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
df4ebd8217d02dafc12145b55c4d93d0255d1ec7Tinderbox UserCOMPONENT_NAME= gawk
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark AndrewsCOMPONENT_VERSION= 3.1.8
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCOMPONENT_PROJECT_URL= http://www.gnu.org/software/gawk/
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCOMPONENT_ARCHIVE_HASH= \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson sha256:5dbc7b2c4c328711337c2aacd09a122c7313122262e3ff034590f014067412b4
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/gawk/$(COMPONENT_ARCHIVE)
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox UserCOMPONENT_BUGDB= utility/gawk
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# The additional gawk specific set of transforms to be applied to the
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater# test results to try to normalize them.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCOMPONENT_TEST_TRANSFORMS += \
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt '-e "s|\(^/usr/gnu/bin/make\).*|\1|" '
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
24934f08b9ff81c2be711e566e8002d145573031Tinderbox UserTPNO= 6808
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Huntinclude ../../make-rules/prep.mk
24934f08b9ff81c2be711e566e8002d145573031Tinderbox Userinclude ../../make-rules/configure.mk
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox Userinclude ../../make-rules/ips.mk
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox UserCONFIGURE_BINDIR.64 = $(CONFIGURE_PREFIX)/bin
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCONFIGURE_LIBDIR.64 = $(CONFIGURE_PREFIX)/lib
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterCONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic UpdaterCONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic UpdaterCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterASLR_MODE = $(ASLR_ENABLE)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# common targets
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrewsconfigure: $(CONFIGURE_64)
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrewsbuild: $(BUILD_64)
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User
e20309353e6246485c521278131d3fced73d7957Tinderbox Userinstall: $(INSTALL_64)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
24934f08b9ff81c2be711e566e8002d145573031Tinderbox Usertest: $(TEST_64)
e20309353e6246485c521278131d3fced73d7957Tinderbox User
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
7feccf248d2a20a2ae48b290f58ded5abc853e9aTinderbox User
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsinclude ../../make-rules/depend.mk
c59750de3ea3c7d5890000fb4606e8f5835a52aaTinderbox User