Makefile revision 1485
295N/A#
295N/A# CDDL HEADER START
295N/A#
295N/A# The contents of this file are subject to the terms of the
295N/A# Common Development and Distribution License (the "License").
295N/A# You may not use this file except in compliance with the License.
295N/A#
295N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
295N/A# or http://www.opensolaris.org/os/licensing.
295N/A# See the License for the specific language governing permissions
295N/A# and limitations under the License.
295N/A#
295N/A# When distributing Covered Code, include this CDDL HEADER in each
295N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
295N/A# If applicable, add the following below this CDDL HEADER, with the
295N/A# fields enclosed by brackets "[]" replaced with your own identifying
295N/A# information: Portions Copyright [yyyy] [name of copyright owner]
295N/A#
295N/A# CDDL HEADER END
295N/A#
295N/A
295N/A#
1485N/A# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
295N/A#
295N/A
295N/Ainclude ../../make-rules/shared-macros.mk
295N/A
295N/ACOMPONENT_NAME= gocr
1485N/ACOMPONENT_VERSION= 0.49
295N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
295N/ACOMPONENT_PROJECT_URL= http://jocr.sourceforge.net/
295N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
1485N/A sha256:cc29931d50b3be11608dc79d1c7d8a20919dbe6313b1ba5dc88ecf99cffd171a
1485N/ACOMPONENT_ARCHIVE_URL= http://www-e.uni-magdeburg.de/jschulen/ocr/$(COMPONENT_ARCHIVE)
1258N/ACOMPONENT_BUGDB= utility/gocr
295N/A
295N/Ainclude ../../make-rules/prep.mk
295N/Ainclude ../../make-rules/configure.mk
295N/Ainclude ../../make-rules/ips.mk
295N/A
295N/APKG_PROTO_DIRS += $(COMPONENT_SRC)
295N/A
295N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
295N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
295N/A
295N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
295N/A
1485N/A# Needed to successfully link the 64-bit version.
1485N/ACC += $(CC_BITS)
1485N/A
1485N/AASLR_MODE = $(ASLR_ENABLE)
295N/A
295N/A# common targets
1485N/Abuild: $(BUILD_64)
295N/A
1485N/Ainstall: $(INSTALL_64)
295N/A
295N/Atest: $(NO_TESTS)
295N/A
295N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
295N/A
295N/Ainclude ../../make-rules/depend.mk