Makefile revision 4944
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza#
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# CDDL HEADER START
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza#
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# The contents of this file are subject to the terms of the
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# Common Development and Distribution License (the "License").
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# You may not use this file except in compliance with the License.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza#
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# or http://www.opensolaris.org/os/licensing.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# See the License for the specific language governing permissions
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# and limitations under the License.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza#
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# When distributing Covered Code, include this CDDL HEADER in each
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# If applicable, add the following below this CDDL HEADER, with the
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# fields enclosed by brackets "[]" replaced with your own identifying
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# information: Portions Copyright [yyyy] [name of copyright owner]
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza#
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# CDDL HEADER END
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza#
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza
74b5a35d491a5d9569dd85fa6d4037ba66246430Paul Cheng#
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza#
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Prazainclude ../../make-rules/shared-macros.mk
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaCOMPONENT_NAME= openjade
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaCOMPONENT_VERSION= 1.3.2
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaCOMPONENT_PROJECT_URL= http://openjade.sourceforge.net/
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaCOMPONENT_ARCHIVE_HASH= \
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza sha256:1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7d322d1
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaCOMPONENT_ARCHIVE_URL= http://prdownloads.sourceforge.net/openjade/$(COMPONENT_ARCHIVE)
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaCOMPONENT_BUGDB= utility/openjade
1a5ea5323390ffdf86f171d238b41e381d2292b9Richard Lowe
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaTPNO= 9620
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza# Added to find the header files since they are not installed in build/*
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaPKG_PROTO_DIRS += $(COMPONENT_SRC)/style
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaPKG_PROTO_DIRS += $(COMPONENT_SRC)/groveoa
e74d0425cd5aa5edafc47d16cc1207335085452aRichard LowePKG_PROTO_DIRS += $(COMPONENT_SRC)/grove
e74d0425cd5aa5edafc47d16cc1207335085452aRichard LowePKG_PROTO_DIRS += $(COMPONENT_SRC)/spgrove
e74d0425cd5aa5edafc47d16cc1207335085452aRichard LowePKG_PROTO_DIRS += $(COMPONENT_SRC)/generic
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaPKG_PROTO_DIRS += $(COMPONENT_SRC)/dsssl
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Praza
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane Prazainclude $(WS_MAKE_RULES)/prep.mk
7479608a1e8d38091cc9977bda12b484ec53871bjoyce mcintoshinclude $(WS_MAKE_RULES)/configure.mk
e74d0425cd5aa5edafc47d16cc1207335085452aRichard Loweinclude $(WS_MAKE_RULES)/ips.mk
33392354a001a7e6e504717bd3f249456d36cc00Alexander Pyhalov
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaCOMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaCONFIGURE_SCRIPT = $(@D)/configure
e74d0425cd5aa5edafc47d16cc1207335085452aRichard Lowe
e74d0425cd5aa5edafc47d16cc1207335085452aRichard LoweCXX += $(studio_NORUNPATH)
e74d0425cd5aa5edafc47d16cc1207335085452aRichard Lowe
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaCONFIGURE_OPTIONS += --enable-spincludedir=/usr/include/OpenSP
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaCONFIGURE_OPTIONS.32 += --enable-splibdir=/usr/lib
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaCONFIGURE_OPTIONS.64 += --enable-splibdir=/usr/lib/$(MACH64)
ead1f93ee620d7580f7e53350fe5a884fc4f158aLiane PrazaCONFIGURE_OPTIONS += --enable-mif
b60141bb4b106f4b56e8f351564a8d9d9e493e1cGordon RossCONFIGURE_OPTIONS += --disable-http
CONFIGURE_OPTIONS += \
--enable-default-catalog="CATALOG:/etc/sgml/catalog:usr/share/sgml/CATALOG"
CONFIGURE_OPTIONS += --datadir=/usr/share/sgml/$(COMPONENT_NAME)
CONFIGURE_OPTIONS += CXX="$(CXX)"
CONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
COMPONENT_TEST_DIR = $(BUILD_DIR)/$(MACH$(BITS))/testsuite
COMPONENT_TEST_ARGS = -k -i
COMPONENT_TEST_TARGETS =all
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
COMPONENT_INSTALL_TARGETS = install install-man
ASLR_MODE = $(ASLR_ENABLE)
configure: $(CONFIGURE_32_and_64)
build: $(BUILD_32_and_64)
install: $(INSTALL_32_and_64)
test: $(TEST_32_and_64)
system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED)
REQUIRED_PACKAGES += developer/documentation-tool/opensp
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/c++-runtime
REQUIRED_PACKAGES += system/library/math