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