Makefile revision 7165
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# CDDL HEADER START
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews#
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson# The contents of this file are subject to the terms of the
c13b8351b4dfb18806af4eb3c0fea240d83d1f82Andreas Gustafsson# Common Development and Distribution License (the "License").
c13b8351b4dfb18806af4eb3c0fea240d83d1f82Andreas Gustafsson# You may not use this file except in compliance with the License.
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson#
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c13b8351b4dfb18806af4eb3c0fea240d83d1f82Andreas Gustafsson# or http://www.opensolaris.org/os/licensing.
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson# See the License for the specific language governing permissions
dd977047669f15fe3ea1a977871d7678cebf5082Andreas Gustafsson# and limitations under the License.
dd977047669f15fe3ea1a977871d7678cebf5082Andreas Gustafsson#
dd977047669f15fe3ea1a977871d7678cebf5082Andreas Gustafsson# When distributing Covered Code, include this CDDL HEADER in each
dd977047669f15fe3ea1a977871d7678cebf5082Andreas Gustafsson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dd977047669f15fe3ea1a977871d7678cebf5082Andreas Gustafsson# If applicable, add the following below this CDDL HEADER, with the
a185ac41ac0627ec711d13bf6fdd8a830b753060Andreas Gustafsson# fields enclosed by brackets "[]" replaced with your own identifying
1928be262ca25485f4d7f0f6473fc5cafa0c3905Andreas Gustafsson# information: Portions Copyright [yyyy] [name of copyright owner]
dd977047669f15fe3ea1a977871d7678cebf5082Andreas Gustafsson#
dd977047669f15fe3ea1a977871d7678cebf5082Andreas Gustafsson# CDDL HEADER END
dd977047669f15fe3ea1a977871d7678cebf5082Andreas Gustafsson#
ca44fe49bec16436cd95ace0af2e244f2096b284Brian Wellington
dd977047669f15fe3ea1a977871d7678cebf5082Andreas Gustafsson#
dd977047669f15fe3ea1a977871d7678cebf5082Andreas Gustafsson# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
1928be262ca25485f4d7f0f6473fc5cafa0c3905Andreas Gustafsson#
a185ac41ac0627ec711d13bf6fdd8a830b753060Andreas Gustafsson# 32-bit preferred as only *-config and source generation scripts delivered.
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas GustafssonBUILD_BITS= 32_and_64
e9918d6a9df388b971a4805844165dd3fc3a88caAndreas GustafssonCOMPILER= gcc
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafssoninclude ../../make-rules/shared-macros.mk
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas GustafssonCOMPONENT_NAME= wxWidgets
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas GustafssonCOMPONENT_VERSION= 3.0.2
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas GustafssonCOMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.bz2
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas GustafssonCOMPONENT_ARCHIVE_HASH= \
0d50da49baa7d2d39146d46789d88053af5b1b50Michael Sawyer sha256:346879dc554f3ab8d6da2704f651ecb504a22e9d31c17ef5449b129ed711585d
0d50da49baa7d2d39146d46789d88053af5b1b50Michael SawyerCOMPONENT_ARCHIVE_URL= http://prdownloads.sourceforge.net/wxwindows/$(COMPONENT_ARCHIVE)
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas GustafssonCOMPONENT_PROJECT_URL= http://www.wxwidgets.org/
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas GustafssonCOMPONENT_BUGDB= library/wxwidgets
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas GustafssonTPNO= 28307
e1e635578dedd17313312031be2759285c7c8e17Andreas Gustafsson
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas GustafssonCXXFLAGS += -std=c++11
7beeb415ca3f1b230d35a8d385d99d2901cf9ff9Andreas Gustafsson
7beeb415ca3f1b230d35a8d385d99d2901cf9ff9Andreas Gustafsson# patch 002-gst1.0.2.patch modifies configure.in
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas GustafssonCOMPONENT_PREP_ACTION += (cd $(@D); autoconf);
7beeb415ca3f1b230d35a8d385d99d2901cf9ff9Andreas Gustafsson
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas GustafssonTEST_TARGET= $(NO_TESTS)
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson
a185ac41ac0627ec711d13bf6fdd8a830b753060Andreas Gustafsson# Depends on newer cairo, which cannot be updated in S11.
a185ac41ac0627ec711d13bf6fdd8a830b753060Andreas Gustafssoninclude $(WS_MAKE_RULES)/no-evaluation.mk
0e9dcd548051a8ec34744bfa18b4e09fea742a39Andreas Gustafsson
7beeb415ca3f1b230d35a8d385d99d2901cf9ff9Andreas Gustafssoninclude $(WS_MAKE_RULES)/common.mk
7beeb415ca3f1b230d35a8d385d99d2901cf9ff9Andreas Gustafsson
7beeb415ca3f1b230d35a8d385d99d2901cf9ff9Andreas GustafssonPKG_PROTO_DIRS += $(COMPONENT_DIR)/man
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews
LDFLAGS += $(CC_BITS)
CONFIGURE_OPTIONS += --with-gtk=2
CONFIGURE_OPTIONS += --enable-mimetype
CONFIGURE_OPTIONS += --enable-xrc
CONFIGURE_OPTIONS += --with-subdirs
CONFIGURE_OPTIONS += --with-expat
CONFIGURE_OPTIONS += --with-sdl
CONFIGURE_OPTIONS += --without-gnomeprint
CONFIGURE_OPTIONS += --without-gnomevfs
CONFIGURE_OPTIONS += --with-opengl
CONFIGURE_OPTIONS += --without-libmpack
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/pango
REQUIRED_PACKAGES += library/expat
REQUIRED_PACKAGES += library/glib2
REQUIRED_PACKAGES += library/libnotify
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