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