Makefile revision 5992
204N/A#
204N/A# CDDL HEADER START
204N/A#
204N/A# The contents of this file are subject to the terms of the
204N/A# Common Development and Distribution License (the "License").
204N/A# You may not use this file except in compliance with the License.
204N/A#
204N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
204N/A# or http://www.opensolaris.org/os/licensing.
204N/A# See the License for the specific language governing permissions
204N/A# and limitations under the License.
204N/A#
204N/A# When distributing Covered Code, include this CDDL HEADER in each
204N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
204N/A# If applicable, add the following below this CDDL HEADER, with the
204N/A# fields enclosed by brackets "[]" replaced with your own identifying
204N/A# information: Portions Copyright [yyyy] [name of copyright owner]
204N/A#
204N/A# CDDL HEADER END
204N/A#
204N/A
204N/A#
5680N/A# Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
204N/A#
5680N/ABUILD_BITS= 64
5992N/ACOMPILER= gcc
204N/Ainclude ../../make-rules/shared-macros.mk
204N/A#libreadline.so needs libcurses.so, but -z ignore will not leave a dependency.
204N/ALD_Z_IGNORE=
204N/A
204N/ACOMPONENT_NAME= gnuplot
818N/ACOMPONENT_VERSION= 4.6.0
204N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
204N/ACOMPONENT_PROJECT_URL= http://gnuplot.info/
204N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
844N/ACOMPONENT_ARCHIVE_HASH= \
844N/A sha256:6e60adb5039a3541f407c2ade670004178b376754c424c13f0be24c7960c17be
204N/ACOMPONENT_ARCHIVE_URL= http://sourceforge.net/projects/$(COMPONENT_NAME)/files/$(COMPONENT_NAME)/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)/download
1258N/ACOMPONENT_BUGDB= utility/gnuplot
204N/A
2899N/ATPNO= 8452
2899N/A
5992N/ACXXFLAGS += -std=c++11
5992N/A
5992N/A# For now we will build against wxWidgets from this workspace and not
5992N/A# against the system one (which is older).
5992N/A# See also WX_CONFIG setting below.
5992N/AWX_PROTO=$(COMPONENT_DIR)/../wxwidgets/build/prototype/$(MACH)
5992N/ACXXFLAGS += -I$(WX_PROTO)$(USRLIBDIR64)/wx/include/gtk2-unicode-3.0
5992N/ACXXFLAGS += -I$(WX_PROTO)$(USRINCDIR)/wx-3.0
5992N/ALDFLAGS += -L$(WX_PROTO)$(USRLIBDIR64)
5992N/A
206N/ACOMPONENT_BUILD_TARGETS = all info
204N/A
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
204N/A
206N/ACONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
5680N/ACONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)/gnu
204N/ACONFIGURE_OPTIONS += --infodir=$(CONFIGURE_INFODIR)
634N/ACONFIGURE_OPTIONS += --x-libraries=$(CONFIGURE_LIBDIR.$(BITS))
5992N/ACONFIGURE_OPTIONS += WX_CONFIG="$(WX_PROTO)$(USRLIBDIR64)/wx/config/gtk2-unicode-3.0"
5992N/A
5992N/A# Ensure that wxWidgets are built first.
5992N/A../wxwidgets/build/$(MACH64)/.installed:
5992N/A (cd ../wxwidgets ; $(GMAKE) install)
5992N/A$(CONFIGURE_64): ../wxwidgets/build/$(MACH64)/.installed
4337N/A
3817N/AREQUIRED_PACKAGES += image/library/libjpeg
3817N/AREQUIRED_PACKAGES += image/library/libpng
3817N/AREQUIRED_PACKAGES += library/desktop/atk
3817N/AREQUIRED_PACKAGES += library/desktop/cairo
3817N/AREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
3817N/AREQUIRED_PACKAGES += library/desktop/gtk2
3817N/AREQUIRED_PACKAGES += library/desktop/pango
3817N/AREQUIRED_PACKAGES += library/desktop/xdg/libcanberra
3817N/AREQUIRED_PACKAGES += library/gd
3817N/AREQUIRED_PACKAGES += library/glib2
3817N/AREQUIRED_PACKAGES += library/graphics/wxwidgets
3817N/AREQUIRED_PACKAGES += library/ncurses
3817N/AREQUIRED_PACKAGES += library/readline
3817N/AREQUIRED_PACKAGES += library/zlib
3817N/AREQUIRED_PACKAGES += runtime/lua
3817N/AREQUIRED_PACKAGES += shell/ksh93
3817N/AREQUIRED_PACKAGES += system/font/truetype/liberation
3817N/AREQUIRED_PACKAGES += system/font/xorg/xorg-core
5992N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
5992N/AREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
3817N/AREQUIRED_PACKAGES += system/library/fontconfig
3817N/AREQUIRED_PACKAGES += system/library/freetype-2
3817N/AREQUIRED_PACKAGES += system/library/math
3817N/AREQUIRED_PACKAGES += x11/library/libx11
3817N/AREQUIRED_PACKAGES += x11/library/libxcomposite
3817N/AREQUIRED_PACKAGES += x11/library/libxcursor
3817N/AREQUIRED_PACKAGES += x11/library/libxdamage
3817N/AREQUIRED_PACKAGES += x11/library/libxevie
3817N/AREQUIRED_PACKAGES += x11/library/libxext
3817N/AREQUIRED_PACKAGES += x11/library/libxfixes
3817N/AREQUIRED_PACKAGES += x11/library/libxi
3817N/AREQUIRED_PACKAGES += x11/library/libxinerama
3817N/AREQUIRED_PACKAGES += x11/library/libxpm
3817N/AREQUIRED_PACKAGES += x11/library/libxrandr
3817N/AREQUIRED_PACKAGES += x11/library/libxrender
3817N/AREQUIRED_PACKAGES += x11/library/libxscrnsaver