Makefile revision 181
44N/A#
44N/A# CDDL HEADER START
44N/A#
44N/A# The contents of this file are subject to the terms of the
44N/A# Common Development and Distribution License (the "License").
44N/A# You may not use this file except in compliance with the License.
44N/A#
44N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
44N/A# or http://www.opensolaris.org/os/licensing.
44N/A# See the License for the specific language governing permissions
44N/A# and limitations under the License.
44N/A#
44N/A# When distributing Covered Code, include this CDDL HEADER in each
44N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
44N/A# If applicable, add the following below this CDDL HEADER, with the
44N/A# fields enclosed by brackets "[]" replaced with your own identifying
44N/A# information: Portions Copyright [yyyy] [name of copyright owner]
44N/A#
44N/A# CDDL HEADER END
44N/A#
75N/A
75N/A#
59N/A# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
44N/A#
75N/A
44N/Ainclude ../../make-rules/shared-macros.mk
44N/A
44N/ACOMPONENT_NAME= a2ps
44N/ACOMPONENT_VERSION= 4.13
44N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
44N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC)b.tar.gz
44N/ACOMPONENT_ARCHIVE_HASH= sha1:cfc79a3e54115e569f667fa3fd2c2ec16d22b31a
44N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/a2ps/$(COMPONENT_ARCHIVE)
44N/A
44N/Ainclude ../../make-rules/prep.mk
44N/Ainclude ../../make-rules/configure.mk
44N/Ainclude ../../make-rules/ips.mk
44N/A
44N/ACONFIGURE_OPTIONS += --enable-shared
44N/ACONFIGURE_OPTIONS += --disable-static
44N/ACONFIGURE_OPTIONS += --sysconfdir=/etc/gnu
58N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
44N/ACONFIGURE_OPTIONS += --with-medium=letter
61N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
44N/A
44N/A# because viewpathing isn't quite right in this version of a2ps
44N/ACOMPONENT_PREP_ACTION = \
59N/A (cd $(@D) ; ln -s $(SOURCE_DIR)/auxdir/mkinstalldirs)
44N/ACOMPONENT_POST_CONFIGURE_ACTION = \
44N/A (cd $(@D)/doc ; \
59N/A ln -s $(SOURCE_DIR)/doc/make-authors.pl ; \
59N/A ln -s $(SOURCE_DIR)/doc/translators.txt) ; \
59N/A (cd $(@D)/sheets ; \
177N/A for sheet in $(SOURCE_DIR)/sheets/*.ssh ; do \
59N/A ln -s $$sheet ; \
59N/A done)
44N/A
44N/A# common targets
44N/Abuild: $(BUILD_32)
44N/A
181N/Ainstall: $(INSTALL_32)
44N/A
181N/Atest: $(TEST_32)
83N/A
44N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
44N/A
44N/Ainclude ../../make-rules/depend.mk