automake-1.9: add old, but unleashed-patched, libtool.m4
[unleashed-userland.git] / components / developer / automake-1.9 / Makefile
blob0a4c4fc26ab782b40cab69c51cfbed77cdb76816
2 # CDDL HEADER START
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.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
23 # Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
26 include ../../../make-rules/shared-macros.mk
28 COMPONENT_NAME= automake
29 COMPONENT_VERSION= 1.9.6
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
31 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
32 COMPONENT_ARCHIVE_HASH= \
33 sha256:e6d3030dd3f7a07ee2075da5f77864a3cc3e78c5bf76bb48df23dbe3d6ba13b9
34 COMPONENT_ARCHIVE_URL= http://ftp.gnu.org/pub/gnu/automake/$(COMPONENT_ARCHIVE)
35 COMPONENT_BUGDB= utility/automake
37 COMPONENT_SRC_1= gettext-0.12.1
38 COMPONENT_ARCHIVE_1= $(COMPONENT_SRC_1).tar.gz
39 COMPONENT_ARCHIVE_HASH_1= sha256:95a05acbaaa9c13eb449d438e65e2d75ec78bacffd6f6cd720536465ca3c1583
40 COMPONENT_ARCHIVE_URL_1= http://ftp.gnu.org/pub/gnu/gettext/$(COMPONENT_ARCHIVE_1)
42 include $(WS_TOP)/make-rules/prep.mk
43 include $(WS_TOP)/make-rules/configure.mk
44 include $(WS_TOP)/make-rules/ips.mk
46 COMPONENT_PRE_CONFIGURE_ACTION = cp $(COMPONENT_DIR)/files/config.* $(SOURCE_DIR)/lib/
48 COMPONENT_POST_INSTALL_ACTION= install -m 0444 $(SOURCE_DIR_1)/gettext-runtime/m4/*.m4 $(COMPONENT_DIR)/files/libtool.m4 $(PROTO_DIR)/usr/share/aclocal-1.9/
50 CONFIGURE_OPTIONS += --docdir=$(CONFIGURE_PREFIX)/share/doc/automake-1.9
51 CONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
52 CONFIGURE_OPTIONS += PERL="$(PERL)"
54 # common targets
55 build: $(BUILD_32)
57 install: $(INSTALL_32)
59 test: $(TEST_32)
61 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
63 include $(WS_TOP)/make-rules/depend.mk