Makefile revision 1400
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews# CDDL HEADER START
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# The contents of this file are subject to the terms of the
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Common Development and Distribution License (the "License").
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews# You may not use this file except in compliance with the License.
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews# See the License for the specific language governing permissions
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews# and limitations under the License.
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews# CDDL HEADER END
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews# parfait seems to spin when looking at the .bc files, so
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews# for now disable it.
12c65cbb2025c06408f511aa03995543af223d01Mark AndrewsCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews sha256:9e754c315d68d91a65ef208b9a8bda1fb57e45a7be18aa9397acfcc5ff59de16
12c65cbb2025c06408f511aa03995543af223d01Mark AndrewsCOMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)releases/$(COMPONENT_ARCHIVE)
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews# configure(1) options to use
12c65cbb2025c06408f511aa03995543af223d01Mark AndrewsCONFIGURE_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
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews# configure options to generate 64 bit binaries
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews$(BUILD_DIR)/$(MACH64)/.configured: CONFIGURE_OPTIONS += CC="$(CC) -m64"
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews$(BUILD_DIR)/$(MACH64)/ijs/.configured: CONFIGURE_OPTIONS += CC="$(CC) -m64"
12c65cbb2025c06408f511aa03995543af223d01Mark AndrewsCONFIGURE_ENV += CUPSCONFIG=/usr/bin/cups-config
12c65cbb2025c06408f511aa03995543af223d01Mark AndrewsVARIANTS = $(GS_VARIANT) $(IJS_VARIANT) $(GS_VARIANT_64) $(IJS_VARIANT_64)
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews# autoconf - Generate configuration scripts
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews (cd $(@D); $(RM) -r libpng zlib jpeg ; autoconf)
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews$(GS_VARIANT)/.configured: COMPONENT_PRE_CONFIGURE_ACTION = \
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews$(GS_VARIANT)/.installed: COMPONENT_INSTALL_TARGETS += \
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews install-exec install-so install-scripts install-data \
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews$(GS_VARIANT_64)/.configured: COMPONENT_PRE_CONFIGURE_ACTION = \
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews$(GS_VARIANT_64)/.installed: COMPONENT_INSTALL_TARGETS += \
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews install-exec install-so install-scripts install-data \
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews$(IJS_VARIANT)/.configured: COMPONENT_PRE_CONFIGURE_ACTION = \
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews cd $(@D) ; $(ENV) $(CONFIGURE_ENV) ./autogen.sh )
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews$(IJS_VARIANT_64)/.configured: COMPONENT_PRE_CONFIGURE_ACTION = \
79a55d4f4dcf3d6f617523228503d8584b72a3a3Mukund Sivaraman cd $(@D) ; $(ENV) $(CONFIGURE_ENV) ./autogen.sh )
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews# build gs and ijs
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews# install gs and ijs
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews# empty test target
12c65cbb2025c06408f511aa03995543af223d01Mark Andrews @echo "no tests available"