Makefile revision 4944
4944N/A#
4944N/A# CDDL HEADER START
4944N/A#
4944N/A# The contents of this file are subject to the terms of the
4944N/A# Common Development and Distribution License (the "License").
4944N/A# You may not use this file except in compliance with the License.
4944N/A#
4944N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4944N/A# or http://www.opensolaris.org/os/licensing.
4944N/A# See the License for the specific language governing permissions
4944N/A# and limitations under the License.
4944N/A#
4944N/A# When distributing Covered Code, include this CDDL HEADER in each
4944N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4944N/A# If applicable, add the following below this CDDL HEADER, with the
4944N/A# fields enclosed by brackets "[]" replaced with your own identifying
4944N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4944N/A#
4944N/A# CDDL HEADER END
4944N/A#
4944N/A
4944N/A#
4944N/A# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
4944N/A#
4944N/A
4944N/Ainclude ../../make-rules/shared-macros.mk
4944N/A
4944N/ACOMPONENT_NAME= openjade
4944N/ACOMPONENT_VERSION= 1.3.2
4944N/ACOMPONENT_PROJECT_URL= http://openjade.sourceforge.net/
4944N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
4944N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
4944N/ACOMPONENT_ARCHIVE_HASH= \
4944N/A sha256:1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7d322d1
4944N/ACOMPONENT_ARCHIVE_URL= http://prdownloads.sourceforge.net/openjade/$(COMPONENT_ARCHIVE)
4944N/ACOMPONENT_BUGDB= utility/openjade
4944N/A
4944N/ATPNO= 9620
4944N/A
4944N/A# Added to find the header files since they are not installed in build/*
4944N/APKG_PROTO_DIRS += $(COMPONENT_SRC)/style
4944N/APKG_PROTO_DIRS += $(COMPONENT_SRC)/groveoa
4944N/APKG_PROTO_DIRS += $(COMPONENT_SRC)/grove
4944N/APKG_PROTO_DIRS += $(COMPONENT_SRC)/spgrove
4944N/APKG_PROTO_DIRS += $(COMPONENT_SRC)/generic
4944N/APKG_PROTO_DIRS += $(COMPONENT_SRC)/dsssl
4944N/A
4944N/Ainclude $(WS_MAKE_RULES)/prep.mk
4944N/Ainclude $(WS_MAKE_RULES)/configure.mk
4944N/Ainclude $(WS_MAKE_RULES)/ips.mk
4944N/A
4944N/ACOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
4944N/ACONFIGURE_SCRIPT = $(@D)/configure
4944N/A
4944N/ACXX += $(studio_NORUNPATH)
4944N/A
4944N/ACONFIGURE_OPTIONS += --enable-spincludedir=/usr/include/OpenSP
4944N/ACONFIGURE_OPTIONS.32 += --enable-splibdir=/usr/lib
4944N/ACONFIGURE_OPTIONS.64 += --enable-splibdir=/usr/lib/$(MACH64)
4944N/ACONFIGURE_OPTIONS += --enable-mif
4944N/ACONFIGURE_OPTIONS += --disable-http
4944N/ACONFIGURE_OPTIONS += \
4944N/A--enable-default-catalog="CATALOG:/etc/sgml/catalog:usr/share/sgml/CATALOG"
4944N/ACONFIGURE_OPTIONS += --datadir=/usr/share/sgml/$(COMPONENT_NAME)
4944N/ACONFIGURE_OPTIONS += CXX="$(CXX)"
4944N/ACONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
4944N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
4944N/A
4944N/ACOMPONENT_TEST_DIR = $(BUILD_DIR)/$(MACH$(BITS))/testsuite
4944N/ACOMPONENT_TEST_ARGS = -k -i
4944N/ACOMPONENT_TEST_TARGETS =all
4944N/A
4944N/ACOMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
4944N/A
4944N/ACOMPONENT_INSTALL_TARGETS = install install-man
4944N/A
4944N/AASLR_MODE = $(ASLR_ENABLE)
4944N/A
4944N/Aconfigure: $(CONFIGURE_32_and_64)
4944N/A
4944N/Abuild: $(BUILD_32_and_64)
4944N/A
4944N/Ainstall: $(INSTALL_32_and_64)
4944N/A
4944N/Atest: $(TEST_32_and_64)
4944N/A
4944N/Asystem-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
4944N/A
4944N/AREQUIRED_PACKAGES += developer/documentation-tool/opensp
4944N/AREQUIRED_PACKAGES += system/library
4944N/AREQUIRED_PACKAGES += system/library/c++-runtime
4944N/AREQUIRED_PACKAGES += system/library/math