Makefile revision 1485
65410a6c1c900489c9028f7c235484f137e42df1sf#
65410a6c1c900489c9028f7c235484f137e42df1sf# CDDL HEADER START
65410a6c1c900489c9028f7c235484f137e42df1sf#
723d1cf47a33d814dc2d980473060e8faf4036a2nd# The contents of this file are subject to the terms of the
65410a6c1c900489c9028f7c235484f137e42df1sf# Common Development and Distribution License (the "License").
65410a6c1c900489c9028f7c235484f137e42df1sf# You may not use this file except in compliance with the License.
65410a6c1c900489c9028f7c235484f137e42df1sf#
65410a6c1c900489c9028f7c235484f137e42df1sf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
65410a6c1c900489c9028f7c235484f137e42df1sf# or http://www.opensolaris.org/os/licensing.
65410a6c1c900489c9028f7c235484f137e42df1sf# See the License for the specific language governing permissions
65410a6c1c900489c9028f7c235484f137e42df1sf# and limitations under the License.
65410a6c1c900489c9028f7c235484f137e42df1sf#
65410a6c1c900489c9028f7c235484f137e42df1sf# When distributing Covered Code, include this CDDL HEADER in each
65410a6c1c900489c9028f7c235484f137e42df1sf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
65410a6c1c900489c9028f7c235484f137e42df1sf# If applicable, add the following below this CDDL HEADER, with the
65410a6c1c900489c9028f7c235484f137e42df1sf# fields enclosed by brackets "[]" replaced with your own identifying
65410a6c1c900489c9028f7c235484f137e42df1sf# information: Portions Copyright [yyyy] [name of copyright owner]
65410a6c1c900489c9028f7c235484f137e42df1sf#
65410a6c1c900489c9028f7c235484f137e42df1sf# CDDL HEADER END
65410a6c1c900489c9028f7c235484f137e42df1sf#
65410a6c1c900489c9028f7c235484f137e42df1sf
65410a6c1c900489c9028f7c235484f137e42df1sf#
65410a6c1c900489c9028f7c235484f137e42df1sf# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
65410a6c1c900489c9028f7c235484f137e42df1sf#
94aba9caa9b2f7a0e95a55f51264c908b69470e2igalic
65410a6c1c900489c9028f7c235484f137e42df1sfinclude ../../make-rules/shared-macros.mk
65410a6c1c900489c9028f7c235484f137e42df1sf
65410a6c1c900489c9028f7c235484f137e42df1sfCOMPONENT_NAME= gocr
65410a6c1c900489c9028f7c235484f137e42df1sfCOMPONENT_VERSION= 0.49
65410a6c1c900489c9028f7c235484f137e42df1sfCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
65410a6c1c900489c9028f7c235484f137e42df1sfCOMPONENT_PROJECT_URL= http://jocr.sourceforge.net/
65410a6c1c900489c9028f7c235484f137e42df1sfCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
65410a6c1c900489c9028f7c235484f137e42df1sfCOMPONENT_ARCHIVE_HASH= \
6b61d4aa37ff7f6281bec53463ba667e461c7efesf sha256:cc29931d50b3be11608dc79d1c7d8a20919dbe6313b1ba5dc88ecf99cffd171a
6b61d4aa37ff7f6281bec53463ba667e461c7efesfCOMPONENT_ARCHIVE_URL= http://www-e.uni-magdeburg.de/jschulen/ocr/$(COMPONENT_ARCHIVE)
6b61d4aa37ff7f6281bec53463ba667e461c7efesfCOMPONENT_BUGDB= utility/gocr
6b61d4aa37ff7f6281bec53463ba667e461c7efesf
6b61d4aa37ff7f6281bec53463ba667e461c7efesfinclude ../../make-rules/prep.mk
65410a6c1c900489c9028f7c235484f137e42df1sfinclude ../../make-rules/configure.mk
65410a6c1c900489c9028f7c235484f137e42df1sfinclude ../../make-rules/ips.mk
6b15044d54a096e6323ff1540f1a491e8de7622dsf
6b15044d54a096e6323ff1540f1a491e8de7622dsfPKG_PROTO_DIRS += $(COMPONENT_SRC)
6b15044d54a096e6323ff1540f1a491e8de7622dsf
6b61d4aa37ff7f6281bec53463ba667e461c7efesfCOMPONENT_PRE_CONFIGURE_ACTION = \
6b61d4aa37ff7f6281bec53463ba667e461c7efesf ($(CLONEY) $(SOURCE_DIR) $(@D))
1a055593d7fa3619f0b49e7daa364e4adb066941covener
6b61d4aa37ff7f6281bec53463ba667e461c7efesfCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
6b61d4aa37ff7f6281bec53463ba667e461c7efesf
6b61d4aa37ff7f6281bec53463ba667e461c7efesf# Needed to successfully link the 64-bit version.
1a055593d7fa3619f0b49e7daa364e4adb066941covenerCC += $(CC_BITS)
65410a6c1c900489c9028f7c235484f137e42df1sf
a343f97443af94a56b903dfa1226eddcccf32b66gryzorASLR_MODE = $(ASLR_ENABLE)
a343f97443af94a56b903dfa1226eddcccf32b66gryzor
a343f97443af94a56b903dfa1226eddcccf32b66gryzor# common targets
a343f97443af94a56b903dfa1226eddcccf32b66gryzorbuild: $(BUILD_64)
65410a6c1c900489c9028f7c235484f137e42df1sf
65410a6c1c900489c9028f7c235484f137e42df1sfinstall: $(INSTALL_64)
65410a6c1c900489c9028f7c235484f137e42df1sf
65410a6c1c900489c9028f7c235484f137e42df1sftest: $(NO_TESTS)
65410a6c1c900489c9028f7c235484f137e42df1sf
65410a6c1c900489c9028f7c235484f137e42df1sfBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
65410a6c1c900489c9028f7c235484f137e42df1sf
65410a6c1c900489c9028f7c235484f137e42df1sfinclude ../../make-rules/depend.mk
65410a6c1c900489c9028f7c235484f137e42df1sf