Makefile revision 844
70N/A#
70N/A# CDDL HEADER START
286N/A#
70N/A# The contents of this file are subject to the terms of the
70N/A# Common Development and Distribution License (the "License").
70N/A# You may not use this file except in compliance with the License.
70N/A#
70N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
70N/A# or http://www.opensolaris.org/os/licensing.
70N/A# See the License for the specific language governing permissions
70N/A# and limitations under the License.
70N/A#
70N/A# When distributing Covered Code, include this CDDL HEADER in each
70N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
70N/A# If applicable, add the following below this CDDL HEADER, with the
70N/A# fields enclosed by brackets "[]" replaced with your own identifying
70N/A# information: Portions Copyright [yyyy] [name of copyright owner]
70N/A#
70N/A# CDDL HEADER END
70N/A#
70N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
70N/A#
70N/A
70N/Ainclude ../../make-rules/shared-macros.mk
70N/A
70N/ACOMPONENT_NAME= wxGTK
70N/ACOMPONENT_VERSION= 2.8.12
70N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
70N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
70N/ACOMPONENT_ARCHIVE_HASH= \
433N/A sha256:13cf89f2c29bcb90bb56a31ac1af10f23003d3d43c3e4b24991518f5dc4e5abe
70N/ACOMPONENT_ARCHIVE_URL= http://prdownloads.sourceforge.net/wxwindows/$(COMPONENT_ARCHIVE)
70N/ACOMPONENT_PROJECT_URL= http://www.wxwidgets.org/
70N/A
359N/Ainclude ../../make-rules/prep.mk
359N/Ainclude ../../make-rules/configure.mk
359N/Ainclude ../../make-rules/ips.mk
98N/A
321N/APKG_PROTO_DIRS += $(COMPONENT_DIR)/man
321N/A
213N/A# We need to compile with /usr/lib/$(MACH64)/glib-2.0
304N/A# https://defect.opensolaris.org/bz/show_bug.cgi?id=9957
425N/A$(BUILD_64): CONFIGURE_OPTIONS += PKG_CONFIG_PATH=/usr/lib/$(MACH64)/pkgconfig
425N/A
325N/A# get rid of compiler path set in RUNPATH
320N/ALDFLAGS += $(studio_NORUNPATH)
332N/ALDFLAGS += $(CC_BITS)
231N/ALDFLAGS += $(studio_CXXLIB_CSTD)
98N/A
347N/ACXXFLAGS += $(studio_XREGS)
346N/A
425N/ACONFIGURE_OPTIONS += --with-gtk
324N/ACONFIGURE_OPTIONS += --enable-gtk2
347N/ACONFIGURE_OPTIONS += --enable-unicode
310N/ACONFIGURE_OPTIONS += --enable-mimetype
316N/ACONFIGURE_OPTIONS += --enable-gui
290N/ACONFIGURE_OPTIONS += --enable-xrc
332N/ACONFIGURE_OPTIONS += --with-subdirs
332N/ACONFIGURE_OPTIONS += --with-expat
332N/ACONFIGURE_OPTIONS += --with-sdl
210N/ACONFIGURE_OPTIONS += --without-gnomeprint
128N/ACONFIGURE_OPTIONS += --without-gnomevfs
414N/ACONFIGURE_OPTIONS += --with-opengl
326N/ACONFIGURE_OPTIONS += --without-libmpack
335N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
425N/ACONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
370N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
70N/A
400N/Ainclude ../../make-rules/shared-targets.mk
294N/A
98N/A# I want to use userland's "build" target in contrib subdirectory, but I need
277N/A# to skip the configure phase
433N/A$(BUILD_DIR_32)/contrib/.configured \
356N/A$(BUILD_DIR_64)/contrib/.configured:
289N/A $(TOUCH) $@
326N/A
290N/A# common targets
424N/Abuild: $(BUILD_32_and_64) \
286N/A $(BUILD_DIR_32)/contrib/.built \
90N/A $(BUILD_DIR_64)/contrib/.built
295N/A
70N/Ainstall: $(INSTALL_32_and_64) \
299N/A $(BUILD_DIR_32)/contrib/.installed \
262N/A $(BUILD_DIR_64)/contrib/.installed
277N/A
332N/Atest: $(NO_TESTS)
332N/A
70N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
70N/A
319N/Ainclude ../../make-rules/depend.mk
280N/A