Makefile revision 7334
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# CDDL HEADER START
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# The contents of this file are subject to the terms of the
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# Common Development and Distribution License (the "License").
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# You may not use this file except in compliance with the License.
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# or http://www.opensolaris.org/os/licensing.
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# See the License for the specific language governing permissions
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# and limitations under the License.
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# When distributing Covered Code, include this CDDL HEADER in each
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# If applicable, add the following below this CDDL HEADER, with the
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# fields enclosed by brackets "[]" replaced with your own identifying
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# information: Portions Copyright [yyyy] [name of copyright owner]
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# CDDL HEADER END
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk#
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# 32-bit preferred as only *-config and source generation scripts delivered.
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkBUILD_BITS= 32_and_64
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCOMPILER= gcc
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkinclude ../../make-rules/shared-macros.mk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCOMPONENT_NAME= wxWidgets
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCOMPONENT_VERSION= 3.0.2
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCOMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.bz2
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCOMPONENT_ARCHIVE_HASH= \
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk sha256:346879dc554f3ab8d6da2704f651ecb504a22e9d31c17ef5449b129ed711585d
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCOMPONENT_ARCHIVE_URL= http://prdownloads.sourceforge.net/wxwindows/$(COMPONENT_ARCHIVE)
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCOMPONENT_PROJECT_URL= http://www.wxwidgets.org/
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCOMPONENT_BUGDB= library/wxwidgets
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkTPNO= 28307
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCXXFLAGS += -std=c++11
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# patch 002-gst1.0.2.patch modifies configure.in
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCOMPONENT_PREP_ACTION += (cd $(@D); autoconf);
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkTEST_TARGET= $(NO_TESTS)
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# Depends on newer cairo, which cannot be updated in S11.
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkinclude $(WS_MAKE_RULES)/no-evaluation.mk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkinclude $(WS_MAKE_RULES)/common.mk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkPKG_PROTO_DIRS += $(COMPONENT_DIR)/man
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkLDFLAGS += $(CC_BITS)
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk# Use the GNOME 3 libnotify even though the GNOME 2 one is still the default
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkPKG_CONFIG_PATHS.32 += $(PKG_CONFIG_PATH.32)/libnotify-4
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkPKG_CONFIG_PATHS.64 += $(PKG_CONFIG_PATH.64)/libnotify-4
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkPKG_CONFIG_PATHS += $(PKG_CONFIG_PATHS.$(BITS))
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkLD_OPTIONS.32 += -L $(USRLIB.32)/libnotify-4 -R $(USRLIB.32)/libnotify-4
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkLD_OPTIONS.64 += -L $(USRLIB.64)/libnotify-4 -R $(USRLIB.64)/libnotify-4
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkLD_OPTIONS += $(LD_OPTIONS.$(BITS))
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --with-gtk=2
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --enable-mimetype
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --enable-xrc
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --with-subdirs
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --with-expat
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --with-sdl
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --without-gnomeprint
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --without-gnomevfs
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --with-opengl
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpkCONFIGURE_OPTIONS += --without-libmpack
45916cd2fec6e79bca5dee0421bd39e3c2910d1ejpk
REQUIRED_PACKAGES += image/library/libjpeg
REQUIRED_PACKAGES += image/library/libpng
REQUIRED_PACKAGES += image/library/libtiff
REQUIRED_PACKAGES += library/desktop/cairo
REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
REQUIRED_PACKAGES += library/desktop/gstreamer-1
REQUIRED_PACKAGES += library/desktop/gstreamer-1/gst-plugins-base
REQUIRED_PACKAGES += library/desktop/gtk2
REQUIRED_PACKAGES += library/desktop/libnotify
REQUIRED_PACKAGES += library/desktop/pango
REQUIRED_PACKAGES += library/expat
REQUIRED_PACKAGES += library/glib2
REQUIRED_PACKAGES += library/sdl
REQUIRED_PACKAGES += library/zlib
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
REQUIRED_PACKAGES += system/library/math
REQUIRED_PACKAGES += x11/library/libsm
REQUIRED_PACKAGES += x11/library/libx11
REQUIRED_PACKAGES += x11/library/libxxf86vm