Makefile revision 4081
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt#
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# CDDL HEADER START
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt#
a747113422afaa29ce72d2c5ba7f0b7ea9ec2054Evan Hunt# The contents of this file are subject to the terms of the
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Common Development and Distribution License (the "License").
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# You may not use this file except in compliance with the License.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt#
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# or http://www.opensolaris.org/os/licensing.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# See the License for the specific language governing permissions
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# and limitations under the License.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt#
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# When distributing Covered Code, include this CDDL HEADER in each
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# If applicable, add the following below this CDDL HEADER, with the
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# fields enclosed by brackets "[]" replaced with your own identifying
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt#
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# CDDL HEADER END
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt#
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt#
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt#
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Huntinclude ../../make-rules/shared-macros.mk
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCOMPONENT_NAME= xmlto
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCOMPONENT_VERSION= 0.0.26
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCOMPONENT_PROJECT_URL= https://fedorahosted.org/xmlto/
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCOMPONENT_ARCHIVE_HASH= \
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt sha256:cfd8d2a26077be1d5566dfe22dd66099ae4f4600dea97d6e113a2cc5b8708977
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCOMPONENT_ARCHIVE_URL= https://fedorahosted.org/releases/x/m/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCOMPONENT_BUGDB= utility/xmlto
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntTPNO= 22220
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Huntinclude $(WS_MAKE_RULES)/prep.mk
ef421f66f47224a42073deaf087378c5d0c9952eEvan Huntinclude $(WS_MAKE_RULES)/configure.mk
ef421f66f47224a42073deaf087378c5d0c9952eEvan Huntinclude $(WS_MAKE_RULES)/ips.mk
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# These will be used by the xmlto script.
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCONFIGURE_ENV += FIND="/usr/gnu/bin/find"
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCONFIGURE_ENV += GETOPT="/usr/gnu/bin/getopt"
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCONFIGURE_ENV += GREP="/usr/gnu/bin/grep"
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCONFIGURE_ENV += TAIL="/usr/gnu/bin/tail"
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntASLR_MODE = $(ASLR_ENABLE)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# common targets
ef421f66f47224a42073deaf087378c5d0c9952eEvan Huntconfigure: $(CONFIGURE_64)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Huntbuild: $(BUILD_64)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Huntinstall: $(INSTALL_64)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunttest: $(TEST_64)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntREQUIRED_PACKAGES += file/gnu-coreutils
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntREQUIRED_PACKAGES += file/gnu-findutils
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntREQUIRED_PACKAGES += library/libxml2
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntREQUIRED_PACKAGES += library/libxslt
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntREQUIRED_PACKAGES += shell/bash
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntREQUIRED_PACKAGES += shell/gnu-getopt
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntREQUIRED_PACKAGES += system/library
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntREQUIRED_PACKAGES += text/gnu-grep
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt