Makefile revision 3817
107N/A#
107N/A# CDDL HEADER START
107N/A#
107N/A# The contents of this file are subject to the terms of the
107N/A# Common Development and Distribution License (the "License").
107N/A# You may not use this file except in compliance with the License.
107N/A#
107N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
107N/A# or http://www.opensolaris.org/os/licensing.
107N/A# See the License for the specific language governing permissions
107N/A# and limitations under the License.
107N/A#
107N/A# When distributing Covered Code, include this CDDL HEADER in each
107N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
107N/A# If applicable, add the following below this CDDL HEADER, with the
107N/A# fields enclosed by brackets "[]" replaced with your own identifying
107N/A# information: Portions Copyright [yyyy] [name of copyright owner]
107N/A#
107N/A# CDDL HEADER END
107N/A#
107N/A
107N/A#
3996N/A# Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
107N/A#
107N/A
107N/Ainclude ../../make-rules/shared-macros.mk
107N/A
107N/ACOMPONENT_NAME= a2ps
107N/ACOMPONENT_VERSION= 4.14
618N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
107N/ACOMPONENT_PROJECT_URL= http://www.gnu.org/software/a2ps/
107N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:f3ae8d3d4564a41b6e2a21f237d2f2b104f48108591e8b83497500182a3ab3a4
618N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/a2ps/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_BUGDB= utility/a2ps
107N/A
3661N/ATPNO= 4517
3661N/A
2601N/Ainclude $(WS_MAKE_RULES)/prep.mk
2601N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
3996N/A
3996N/A# don't use LD_Z_IGNORE: causes linker problems
107N/ALD_Z_IGNORE=
107N/A
107N/ACONFIGURE_OPTIONS += --enable-shared
107N/ACONFIGURE_OPTIONS += --disable-static
107N/ACONFIGURE_OPTIONS += --sysconfdir=/etc/gnu
107N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
107N/ACONFIGURE_OPTIONS += --with-medium=letter
107N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
107N/A
107N/A# because viewpathing isn't quite right in this version of a2ps
107N/ACOMPONENT_PREP_ACTION = \
107N/A (cd $(@D) ; ln -s $(SOURCE_DIR)/auxdir/mkinstalldirs)
107N/ACOMPONENT_POST_CONFIGURE_ACTION = \
107N/A (cd $(@D)/doc ; \
107N/A ln -s $(SOURCE_DIR)/doc/make-authors.pl ; \
107N/A ln -s $(SOURCE_DIR)/doc/translators.txt) ; \
107N/A (cd $(@D)/sheets ; \
107N/A for sheet in $(SOURCE_DIR)/sheets/*.ssh ; do \
107N/A ln -s $$sheet ; \
107N/A done)
107N/A
151N/A# Enable ASLR for this component
107N/AASLR_MODE = $(ASLR_ENABLE)
2601N/A
2601N/A# common targets
107N/Aconfigure: $(CONFIGURE_32)
2601N/A
107N/Abuild: $(BUILD_32)
2601N/A
181N/Ainstall: $(INSTALL_32)
181N/A
107N/Atest: $(TEST_32)
107N/A
3996N/A
REQUIRED_PACKAGES += developer/gperf
REQUIRED_PACKAGES += editor/gnu-emacs
REQUIRED_PACKAGES += runtime/perl-512
REQUIRED_PACKAGES += runtime/perl-516
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/math