components/gnuplot/Makefile
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Wed, 27 Apr 2011 22:40:44 -0700
changeset 206 a4474882bf60
parent 204 78dfe4707c7c
permissions -rw-r--r--
7010355 python needs to be packaged to separate out non-core dependencies 7035055 move apr and apr-util to userland (fix history) 7035672 subversion needs to move to Userland (fix download, build, missing files) 7038682 components should take advantage of automatic .pyc file action creation 7038812 userland shared-macros.mk should add bittedness to more macros 7038816 userland makefiles should declare some phony targets.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
204
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
     1
#
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
     2
# CDDL HEADER START
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
     3
#
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
     7
#
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    11
# and limitations under the License.
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    12
#
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    18
#
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    19
# CDDL HEADER END
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    20
#
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    21
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    22
#
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    23
# Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved.
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    24
#
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    25
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    27
#libreadline.so needs libcurses.so, but -z ignore will not leave a dependency.
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    28
LD_Z_IGNORE=
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    29
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    30
COMPONENT_NAME=		gnuplot
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    31
COMPONENT_VERSION=	4.4.0
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    32
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    33
COMPONENT_PROJECT_URL=  http://gnuplot.info/
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    34
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    35
COMPONENT_ARCHIVE_HASH= sha1:04a2eede7b2af8e64144aa8ffede6535b7a043b5
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    36
COMPONENT_ARCHIVE_URL=  http://sourceforge.net/projects/$(COMPONENT_NAME)/files/$(COMPONENT_NAME)/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    37
206
a4474882bf60 7010355 python needs to be packaged to separate out non-core dependencies
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 204
diff changeset
    38
COMPONENT_BUILD_TARGETS = all info
204
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    39
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    40
include ../../make-rules/prep.mk
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    41
include ../../make-rules/configure.mk
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    42
include ../../make-rules/ips.mk
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    43
206
a4474882bf60 7010355 python needs to be packaged to separate out non-core dependencies
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 204
diff changeset
    44
CONFIGURE_OPTIONS  += --libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
204
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    45
CONFIGURE_OPTIONS  += --sysconfdir=/etc/gnu
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    46
CONFIGURE_OPTIONS  += --infodir=$(CONFIGURE_INFODIR)
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    47
CONFIGURE_OPTIONS  += CFLAGS="$(CFLAGS)"
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    48
CONFIGURE_OPTIONS  += CXXFLAGS="$(CXXFLAGS)"
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    49
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    50
include ../../make-rules/shared-targets.mk
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    51
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    52
# common targets
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    53
build:		$(BUILD_32)
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    54
206
a4474882bf60 7010355 python needs to be packaged to separate out non-core dependencies
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 204
diff changeset
    55
install:	$(INSTALL_32)
204
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    56
206
a4474882bf60 7010355 python needs to be packaged to separate out non-core dependencies
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 204
diff changeset
    57
test:		$(TEST_32)
204
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    58
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    59
BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    60
78dfe4707c7c 7028339 Desire to have gnuplot in userland gate
David Marx <David.M.Marx@Oracle.Com>
parents:
diff changeset
    61
include ../../make-rules/depend.mk