Makefile revision 3996
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews#
885f47576842cf3c569315b9a48bd9f0ca03f203Automatic Updater# CDDL HEADER START
71bd43eebd9d6e42dbcae62b730f5b6508d5acd8Automatic Updater#
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater# The contents of this file are subject to the terms of the
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater# Common Development and Distribution License (the "License").
2bb3422dc683c013db7042f5736240de6b86f182Automatic Updater# You may not use this file except in compliance with the License.
7b67cfadd077feb0ec3e6c78385ba0d845a9789bMark Andrews#
75b70a68aefaa17ac4e768d5ed85d2f50d471490Automatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater# or http://www.opensolaris.org/os/licensing.
bb93c8542756719b53096b9939e4041d0966026fAutomatic Updater# See the License for the specific language governing permissions
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater# and limitations under the License.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# If applicable, add the following below this CDDL HEADER, with the
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# fields enclosed by brackets "[]" replaced with your own identifying
bc0a53583d92309bebcf93c408e2f3247ebd3d3cAutomatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
56874aef380a64a2c183b7c282c3e7a361d67fa1Automatic Updater#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# CDDL HEADER END
96713299d08c0735c18ebe8772dd2cc1ecd4356aAutomatic Updater#
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
96713299d08c0735c18ebe8772dd2cc1ecd4356aAutomatic Updater#
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsinclude ../../make-rules/shared-macros.mk
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark AndrewsCOMPONENT_NAME= ant
aa1d397c4736cd86540555193d71e55fa3b37b2aMark AndrewsCOMPONENT_VERSION= 1.9.3
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonCOMPONENT_PROJECT_URL= http://ant.apache.org/
aa1d397c4736cd86540555193d71e55fa3b37b2aMark AndrewsCOMPONENT_SRC_NAME= apache-ant
aa1d397c4736cd86540555193d71e55fa3b37b2aMark AndrewsCOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonCOMPONENT_ARCHIVE= $(COMPONENT_SRC)-src.tar.bz2
aa1d397c4736cd86540555193d71e55fa3b37b2aMark AndrewsCOMPONENT_ARCHIVE_HASH= \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington sha256:eb9306e8b8322bb09b78cc3d8e288398f9cb657d76ffc61ee3fb175e786e8365
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterCOMPONENT_ARCHIVE_URL= http://archive.apache.org/dist/ant/source/$(COMPONENT_ARCHIVE)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsCOMPONENT_BUGDB= utility/ant
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater
80faf1588895fd26490f82f95a7a1b771df1c324Automatic UpdaterTPNO= 16382
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updaterinclude $(WS_MAKE_RULES)/prep.mk
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsinclude $(WS_MAKE_RULES)/justmake.mk
3098364bcdd7a719fbafa5fc8d2cc9e90e5a5989Automatic Updaterinclude $(WS_MAKE_RULES)/ips.mk
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsGMAKE=./build.sh
ca904804e43f663f08eb1ac9d6d617930b9a3cd3Automatic Updater
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsANT_ENV+=JAVA_HOME=$(JAVA_HOME)
c0b771f68361b073388b85a689c12cbe502880eeAutomatic Updater
4b2cb1422c7c600fbc13b1cb06a8b4693bc11af8Mark AndrewsANT_DIST_DIRS+=-Ddist.dir=$(PROTO_DIR)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsANT_DIST_DIRS+=-Ddist.bin=$(PROTO_DIR)/usr/bin
aa1d397c4736cd86540555193d71e55fa3b37b2aMark AndrewsANT_DIST_DIRS+=-Ddist.etc=$(PROTO_DIR)/usr/share/lib/ant
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonANT_DIST_DIRS+=-Ddist.docs=$(PROTO_DIR)/usr/share/doc/ant
aa1d397c4736cd86540555193d71e55fa3b37b2aMark AndrewsANT_DIST_DIRS+=-Ddist.manual=$(PROTO_DIR)/usr/share/doc/ant/manual
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark AndrewsANT_DIST_DIRS+=-Ddist.javadocs=$(PROTO_DIR)/usr/share/doc/ant/manual/api
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark AndrewsANT_DIST_DIRS+=-Ddist.lib=$(PROTO_DIR)/usr/share/lib/ant
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonOPTIONAL_LIBS+=/usr/share/lib/java/junit.jar
aa1d397c4736cd86540555193d71e55fa3b37b2aMark AndrewsOPTIONAL_LIBS+=/usr/share/antlr-2.7.7/antlr.jar
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews
91216cff91b34c9ff6e846dc23f248219cafe660Andreas GustafssonCOMPONENT_PRE_BUILD_ACTION = $(CP) $(OPTIONAL_LIBS) $(@D)/lib/optional
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews
d145b64cacc8d9cda51f9924ec70cd4661c3e2cfAutomatic UpdaterCOMPONENT_BUILD_TARGETS = build
bb93c8542756719b53096b9939e4041d0966026fAutomatic UpdaterCOMPONENT_BUILD_ENV += $(ANT_ENV)
723bfc0fc28c486c805de016c4475a35328eb8abAutomatic Updater
55e03fc54708d97917bf26639b987f759bdc1f44Automatic UpdaterCOMPONENT_INSTALL_ARGS = $(ANT_DIST_DIRS)
723bfc0fc28c486c805de016c4475a35328eb8abAutomatic UpdaterCOMPONENT_INSTALL_TARGETS = dist
723bfc0fc28c486c805de016c4475a35328eb8abAutomatic UpdaterCOMPONENT_INSTALL_ENV += $(ANT_ENV)
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont
2a31bd531072824ef252c18303859d6af7451b00Francis DupontCOMPONENT_TEST_TARGETS = test
2a31bd531072824ef252c18303859d6af7451b00Francis DupontCOMPONENT_TEST_ENV += $(ANT_ENV)
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsASLR_MODE = $(ASLR_NOT_APPLICABLE)
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updater
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updaterbuild: $(BUILD_32)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsinstall: $(INSTALL_32)
885f47576842cf3c569315b9a48bd9f0ca03f203Automatic Updater
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updatertest: $(TEST_32)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic UpdaterREQUIRED_PACKAGES += runtime/perl-512
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark AndrewsREQUIRED_PACKAGES += shell/ksh93
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews