Makefile revision 3996
61ea54c309169801a1833f99729723071c24c047Dirk Hogan# CDDL HEADER START
61ea54c309169801a1833f99729723071c24c047Dirk Hogan# The contents of this file are subject to the terms of the
61ea54c309169801a1833f99729723071c24c047Dirk Hogan# Common Development and Distribution License (the "License").
61ea54c309169801a1833f99729723071c24c047Dirk Hogan# You may not use this file except in compliance with the License.
61ea54c309169801a1833f99729723071c24c047Dirk Hogan# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
61ea54c309169801a1833f99729723071c24c047Dirk Hogan# See the License for the specific language governing permissions
61ea54c309169801a1833f99729723071c24c047Dirk Hogan# and limitations under the License.
3744900be632496920d4c9aca8f94ba6db4dd882Dirk Hogan# When distributing Covered Code, include this CDDL HEADER in each
61ea54c309169801a1833f99729723071c24c047Dirk Hogan# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
61ea54c309169801a1833f99729723071c24c047Dirk Hogan# If applicable, add the following below this CDDL HEADER, with the
61ea54c309169801a1833f99729723071c24c047Dirk Hogan# fields enclosed by brackets "[]" replaced with your own identifying
61ea54c309169801a1833f99729723071c24c047Dirk Hogan# information: Portions Copyright [yyyy] [name of copyright owner]
61ea54c309169801a1833f99729723071c24c047Dirk Hogan# CDDL HEADER END
61ea54c309169801a1833f99729723071c24c047Dirk Hogan# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
61ea54c309169801a1833f99729723071c24c047Dirk Hogan# parfait seems to spin when looking at the .bc files (13704877), so
61ea54c309169801a1833f99729723071c24c047Dirk Hogan# for now disable it.
61ea54c309169801a1833f99729723071c24c047Dirk HoganCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
61ea54c309169801a1833f99729723071c24c047Dirk Hogan sha256:9e754c315d68d91a65ef208b9a8bda1fb57e45a7be18aa9397acfcc5ff59de16
61ea54c309169801a1833f99729723071c24c047Dirk HoganCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)releases/$(COMPONENT_ARCHIVE)
61ea54c309169801a1833f99729723071c24c047Dirk Hogan# configure(1) options to use
61ea54c309169801a1833f99729723071c24c047Dirk HoganCONFIGURE_OPTIONS += --with-fontpath=/usr/share/ghostscript/$(COMPONENT_VERSION)/Resource:/usr/share/ghostscript/$(COMPONENT_VERSION)/Resource/Font:/usr/share/ghostscript/fonts:/usr/openwin/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/TrueType:/usr/openwin/lib/X11/fonts/Type3:/usr/X11/lib/X11/fonts/Type1:/usr/X11/lib/fonts/TrueType:/usr/X11/lib/X11/fonts/Type3:/usr/X11/lib/X11/fonts/Resource:/usr/X11/lib/X11/Resource/Font
61ea54c309169801a1833f99729723071c24c047Dirk Hogan# configure options to generate 64 bit binaries
61ea54c309169801a1833f99729723071c24c047Dirk Hogan$(BUILD_DIR)/$(MACH64)/.configured: CONFIGURE_OPTIONS += CC="$(CC) -m64"
61ea54c309169801a1833f99729723071c24c047Dirk Hogan$(BUILD_DIR)/$(MACH64)/ijs/.configured: CONFIGURE_OPTIONS += CC="$(CC) -m64"
61ea54c309169801a1833f99729723071c24c047Dirk HoganVARIANTS = $(GS_VARIANT) $(IJS_VARIANT) $(GS_VARIANT_64) $(IJS_VARIANT_64)
61ea54c309169801a1833f99729723071c24c047Dirk Hogan# autoconf - Generate configuration scripts
61ea54c309169801a1833f99729723071c24c047Dirk Hogan$(GS_VARIANT)/.configured: COMPONENT_PRE_CONFIGURE_ACTION = \
61ea54c309169801a1833f99729723071c24c047Dirk Hogan$(GS_VARIANT)/.installed: COMPONENT_INSTALL_TARGETS += \
61ea54c309169801a1833f99729723071c24c047Dirk Hogan install-exec install-so install-scripts install-data \
61ea54c309169801a1833f99729723071c24c047Dirk Hogan$(GS_VARIANT_64)/.configured: COMPONENT_PRE_CONFIGURE_ACTION = \
61ea54c309169801a1833f99729723071c24c047Dirk Hogan$(GS_VARIANT_64)/.installed: COMPONENT_INSTALL_TARGETS += \
61ea54c309169801a1833f99729723071c24c047Dirk Hogan install-exec install-so install-scripts install-data \
61ea54c309169801a1833f99729723071c24c047Dirk Hogan$(IJS_VARIANT)/.configured: COMPONENT_PRE_CONFIGURE_ACTION = \
61ea54c309169801a1833f99729723071c24c047Dirk Hogan cd $(@D) ; $(ENV) $(CONFIGURE_ENV) ./autogen.sh )
61ea54c309169801a1833f99729723071c24c047Dirk Hogan$(IJS_VARIANT_64)/.configured: COMPONENT_PRE_CONFIGURE_ACTION = \
61ea54c309169801a1833f99729723071c24c047Dirk Hogan cd $(@D) ; $(ENV) $(CONFIGURE_ENV) ./autogen.sh )
61ea54c309169801a1833f99729723071c24c047Dirk Hogan# build gs and ijs
61ea54c309169801a1833f99729723071c24c047Dirk Hogan# install gs and ijs
61ea54c309169801a1833f99729723071c24c047Dirk Hogan# empty test target
61ea54c309169801a1833f99729723071c24c047Dirk Hogan @echo "no tests available"