Makefile revision 6688
a685d9c3b608eb768d237f20e8e8b1c5d3902146David Lawrence#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# CDDL HEADER START
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# The contents of this file are subject to the terms of the
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# Common Development and Distribution License (the "License").
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# You may not use this file except in compliance with the License.
a685d9c3b608eb768d237f20e8e8b1c5d3902146David Lawrence#
a685d9c3b608eb768d237f20e8e8b1c5d3902146David Lawrence# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
405a4d66d78002e101706085c273c6c0cb6ecd56Bob Halley# or http://www.opensolaris.org/os/licensing.
70e5a7403f0e0a3bd292b8287c5fed5772c15270Automatic Updater# See the License for the specific language governing permissions
405a4d66d78002e101706085c273c6c0cb6ecd56Bob Halley# and limitations under the License.
d09197467bbb156dccf0cbe72bb5c63480d5cfdcDavid Lawrence#
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein# When distributing Covered Code, include this CDDL HEADER in each
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
405a4d66d78002e101706085c273c6c0cb6ecd56Bob Halley# If applicable, add the following below this CDDL HEADER, with the
405a4d66d78002e101706085c273c6c0cb6ecd56Bob Halley# fields enclosed by brackets "[]" replaced with your own identifying
d09197467bbb156dccf0cbe72bb5c63480d5cfdcDavid Lawrence# information: Portions Copyright [yyyy] [name of copyright owner]
a685d9c3b608eb768d237f20e8e8b1c5d3902146David Lawrence#
a685d9c3b608eb768d237f20e8e8b1c5d3902146David Lawrence# CDDL HEADER END
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence#
a685d9c3b608eb768d237f20e8e8b1c5d3902146David Lawrence
440be4c866f6935ac069db79a414304507a664c2Michael Graff#
a685d9c3b608eb768d237f20e8e8b1c5d3902146David Lawrence# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
a685d9c3b608eb768d237f20e8e8b1c5d3902146David Lawrence#
405a4d66d78002e101706085c273c6c0cb6ecd56Bob Halley# 32-bit preferred as only *-config and source generation scripts delivered.
a685d9c3b608eb768d237f20e8e8b1c5d3902146David LawrenceBUILD_BITS= 32_and_64
09f22ac5b09e70bc526015f37168ba33e21ea91fDavid LawrenceCOMPILER= gcc
a685d9c3b608eb768d237f20e8e8b1c5d3902146David Lawrenceinclude ../../make-rules/shared-macros.mk
a685d9c3b608eb768d237f20e8e8b1c5d3902146David Lawrence
c77dc869b34cb4e21661076f6a7701e782a27126David LawrenceCOMPONENT_NAME= wxWidgets
a685d9c3b608eb768d237f20e8e8b1c5d3902146David LawrenceCOMPONENT_VERSION= 3.0.2
a685d9c3b608eb768d237f20e8e8b1c5d3902146David LawrenceCOMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.bz2
d94c5ba48b42a7ba28c9669b62f2790b30ce99d7Bob HalleyCOMPONENT_ARCHIVE_HASH= \
336182859c2458ba300e5873e906d2cca3409943Bob Halley sha256:346879dc554f3ab8d6da2704f651ecb504a22e9d31c17ef5449b129ed711585d
a685d9c3b608eb768d237f20e8e8b1c5d3902146David LawrenceCOMPONENT_ARCHIVE_URL= http://prdownloads.sourceforge.net/wxwindows/$(COMPONENT_ARCHIVE)
336182859c2458ba300e5873e906d2cca3409943Bob HalleyCOMPONENT_PROJECT_URL= http://www.wxwidgets.org/
336182859c2458ba300e5873e906d2cca3409943Bob HalleyCOMPONENT_BUGDB= library/wxwidgets
c77dc869b34cb4e21661076f6a7701e782a27126David Lawrence
a685d9c3b608eb768d237f20e8e8b1c5d3902146David LawrenceTPNO= 28307
405a4d66d78002e101706085c273c6c0cb6ecd56Bob Halley
a685d9c3b608eb768d237f20e8e8b1c5d3902146David LawrenceCXXFLAGS += -std=c++11
a685d9c3b608eb768d237f20e8e8b1c5d3902146David Lawrence
92ef1a9b9dbd48ecb507b42ac62c15afefdaf838David LawrenceTEST_TARGET= $(NO_TESTS)
92ef1a9b9dbd48ecb507b42ac62c15afefdaf838David Lawrence
a685d9c3b608eb768d237f20e8e8b1c5d3902146David Lawrence# Depends on newer cairo, which cannot be updated in S11.
4e16d0eaffdf7d58a9592ea1272472d34e14434cBob Halleyinclude $(WS_MAKE_RULES)/no-evaluation.mk
4e16d0eaffdf7d58a9592ea1272472d34e14434cBob Halley
4e16d0eaffdf7d58a9592ea1272472d34e14434cBob Halleyinclude $(WS_MAKE_RULES)/common.mk
4e16d0eaffdf7d58a9592ea1272472d34e14434cBob Halley
e02884167b7c969b56413f76c48c3802c4dca14dAndreas GustafssonPKG_PROTO_DIRS += $(COMPONENT_DIR)/man
4e16d0eaffdf7d58a9592ea1272472d34e14434cBob Halley
4e16d0eaffdf7d58a9592ea1272472d34e14434cBob HalleyLDFLAGS += $(CC_BITS)
4e16d0eaffdf7d58a9592ea1272472d34e14434cBob Halley
4e16d0eaffdf7d58a9592ea1272472d34e14434cBob HalleyCONFIGURE_OPTIONS += --with-gtk=2
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael GraffCONFIGURE_OPTIONS += --enable-mimetype
d94c5ba48b42a7ba28c9669b62f2790b30ce99d7Bob HalleyCONFIGURE_OPTIONS += --enable-xrc
d94c5ba48b42a7ba28c9669b62f2790b30ce99d7Bob HalleyCONFIGURE_OPTIONS += --with-subdirs
d94c5ba48b42a7ba28c9669b62f2790b30ce99d7Bob HalleyCONFIGURE_OPTIONS += --with-expat
a685d9c3b608eb768d237f20e8e8b1c5d3902146David LawrenceCONFIGURE_OPTIONS += --with-sdl
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael GraffCONFIGURE_OPTIONS += --without-gnomeprint
a685d9c3b608eb768d237f20e8e8b1c5d3902146David LawrenceCONFIGURE_OPTIONS += --without-gnomevfs
a685d9c3b608eb768d237f20e8e8b1c5d3902146David LawrenceCONFIGURE_OPTIONS += --with-opengl
a685d9c3b608eb768d237f20e8e8b1c5d3902146David LawrenceCONFIGURE_OPTIONS += --without-libmpack
a685d9c3b608eb768d237f20e8e8b1c5d3902146David Lawrence
a685d9c3b608eb768d237f20e8e8b1c5d3902146David LawrenceREQUIRED_PACKAGES += image/library/libjpeg
a685d9c3b608eb768d237f20e8e8b1c5d3902146David LawrenceREQUIRED_PACKAGES += image/library/libpng
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael GraffREQUIRED_PACKAGES += image/library/libtiff
a685d9c3b608eb768d237f20e8e8b1c5d3902146David LawrenceREQUIRED_PACKAGES += library/audio/gstreamer
d84aa53079703d471eb818dcab3cdeaa8fd2df28David LawrenceREQUIRED_PACKAGES += library/desktop/cairo
4e16d0eaffdf7d58a9592ea1272472d34e14434cBob HalleyREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael GraffREQUIRED_PACKAGES += library/desktop/gtk2
336182859c2458ba300e5873e906d2cca3409943Bob HalleyREQUIRED_PACKAGES += library/desktop/pango
336182859c2458ba300e5873e906d2cca3409943Bob HalleyREQUIRED_PACKAGES += library/expat
9b2819633e43aef8c9390f48b226f114679343d5Mark AndrewsREQUIRED_PACKAGES += library/glib2
9b2819633e43aef8c9390f48b226f114679343d5Mark AndrewsREQUIRED_PACKAGES += library/libnotify
336182859c2458ba300e5873e906d2cca3409943Bob HalleyREQUIRED_PACKAGES += library/sdl
9b2819633e43aef8c9390f48b226f114679343d5Mark AndrewsREQUIRED_PACKAGES += library/zlib
9b2819633e43aef8c9390f48b226f114679343d5Mark AndrewsREQUIRED_PACKAGES += system/library
9b2819633e43aef8c9390f48b226f114679343d5Mark AndrewsREQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
336182859c2458ba300e5873e906d2cca3409943Bob HalleyREQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
a685d9c3b608eb768d237f20e8e8b1c5d3902146David LawrenceREQUIRED_PACKAGES += system/library/math
405a4d66d78002e101706085c273c6c0cb6ecd56Bob HalleyREQUIRED_PACKAGES += x11/library/libsm
df925e6c66d45d960fbac0383169763967d2111cEvan HuntREQUIRED_PACKAGES += x11/library/libx11
df925e6c66d45d960fbac0383169763967d2111cEvan HuntREQUIRED_PACKAGES += x11/library/libxxf86vm
d94c5ba48b42a7ba28c9669b62f2790b30ce99d7Bob Halley