Makefile revision 3996
2N/A#
2N/A# CDDL HEADER START
2N/A#
2N/A# The contents of this file are subject to the terms of the
2N/A# Common Development and Distribution License (the "License").
2N/A# You may not use this file except in compliance with the License.
2N/A#
2N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A# or http://www.opensolaris.org/os/licensing.
2N/A# See the License for the specific language governing permissions
2N/A# and limitations under the License.
2N/A#
2N/A# When distributing Covered Code, include this CDDL HEADER in each
2N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A# If applicable, add the following below this CDDL HEADER, with the
2N/A# fields enclosed by brackets "[]" replaced with your own identifying
2N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2N/A#
2N/A# CDDL HEADER END
2N/A#
727N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
2N/A#
2N/A
32N/Ainclude ../../make-rules/shared-macros.mk
32N/A
313N/ACOMPONENT_NAME= wxwidgets
313N/ACOMPONENT_VERSION= 2.8.12
313N/ACOMPONENT_SRC_NAME= wxGTK
313N/ACOMPONENT_SRC= $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
313N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
313N/ACOMPONENT_ARCHIVE_HASH= \
313N/A sha256:13cf89f2c29bcb90bb56a31ac1af10f23003d3d43c3e4b24991518f5dc4e5abe
313N/ACOMPONENT_ARCHIVE_URL= http://prdownloads.sourceforge.net/wxwindows/$(COMPONENT_ARCHIVE)
313N/ACOMPONENT_PROJECT_URL= http://www.wxwidgets.org/
313N/ACOMPONENT_BUGDB= library/wxwidgets
313N/A
313N/ATPNO= 9216
313N/A
313N/Ainclude $(WS_MAKE_RULES)/prep.mk
313N/Ainclude $(WS_MAKE_RULES)/configure.mk
313N/Ainclude $(WS_MAKE_RULES)/ips.mk
127N/A
127N/APKG_PROTO_DIRS += $(COMPONENT_DIR)/man
127N/A
127N/A# We need to compile with /usr/lib/$(MACH64)/glib-2.0
538N/A# https://defect.opensolaris.org/bz/show_bug.cgi?id=9957
538N/A$(BUILD_64): CONFIGURE_OPTIONS += PKG_CONFIG_PATH=/usr/lib/$(MACH64)/pkgconfig
538N/A
538N/A# get rid of compiler path set in RUNPATH
538N/ALDFLAGS += $(studio_NORUNPATH)
538N/ALDFLAGS += $(CC_BITS)
538N/ALDFLAGS += $(studio_CXXLIB_CSTD)
538N/A
327N/ACXXFLAGS += $(studio_XREGS)
327N/A
327N/ACONFIGURE_OPTIONS += --with-gtk
327N/ACONFIGURE_OPTIONS += --enable-gtk2
327N/ACONFIGURE_OPTIONS += --enable-unicode
327N/ACONFIGURE_OPTIONS += --enable-mimetype
327N/ACONFIGURE_OPTIONS += --enable-gui
327N/ACONFIGURE_OPTIONS += --enable-xrc
327N/ACONFIGURE_OPTIONS += --with-subdirs
327N/ACONFIGURE_OPTIONS += --with-expat
327N/ACONFIGURE_OPTIONS += --with-sdl
327N/ACONFIGURE_OPTIONS += --without-gnomeprint
177N/ACONFIGURE_OPTIONS += --without-gnomevfs
177N/ACONFIGURE_OPTIONS += --with-opengl
2N/ACONFIGURE_OPTIONS += --without-libmpack
145N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
26N/ACONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
38N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
38N/A
26N/A# I want to use userland's "build" target in contrib subdirectory, but I need
26N/A# to skip the configure phase
477N/A$(BUILD_DIR_32)/contrib/.configured \
538N/A$(BUILD_DIR_64)/contrib/.configured:
38N/A $(TOUCH) $@
2N/A
6N/A# common targets
2N/Abuild: $(BUILD_32_and_64) \
727N/A $(BUILD_DIR_32)/contrib/.built \
2N/A $(BUILD_DIR_64)/contrib/.built
34N/A
34N/Ainstall: $(INSTALL_32_and_64) \
94N/A $(BUILD_DIR_32)/contrib/.installed \
94N/A $(BUILD_DIR_64)/contrib/.installed
156N/A
156N/Atest: $(NO_TESTS)
34N/A
59N/A
72N/AREQUIRED_PACKAGES += image/library/libjpeg
72N/AREQUIRED_PACKAGES += image/library/libpng
72N/AREQUIRED_PACKAGES += image/library/libtiff
59N/AREQUIRED_PACKAGES += library/desktop/atk
2N/AREQUIRED_PACKAGES += library/desktop/gtk2
85N/AREQUIRED_PACKAGES += library/desktop/pango
61N/AREQUIRED_PACKAGES += library/expat
61N/AREQUIRED_PACKAGES += library/glib2
220N/AREQUIRED_PACKAGES += library/sdl
61N/AREQUIRED_PACKAGES += library/zlib
61N/AREQUIRED_PACKAGES += shell/ksh93
172N/AREQUIRED_PACKAGES += system/library
61N/AREQUIRED_PACKAGES += system/library/c++-runtime
61N/AREQUIRED_PACKAGES += system/library/math
220N/AREQUIRED_PACKAGES += x11/library/libsm
220N/AREQUIRED_PACKAGES += x11/library/libx11
61N/AREQUIRED_PACKAGES += x11/library/libxcursor
172N/AREQUIRED_PACKAGES += x11/library/libxinerama
454N/AREQUIRED_PACKAGES += x11/library/libxxf86vm
61N/A