Makefile revision 262
197N/A#
197N/A# CDDL HEADER START
197N/A#
197N/A# The contents of this file are subject to the terms of the
197N/A# Common Development and Distribution License (the "License").
197N/A# You may not use this file except in compliance with the License.
197N/A#
197N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
197N/A# or http://www.opensolaris.org/os/licensing.
197N/A# See the License for the specific language governing permissions
197N/A# and limitations under the License.
197N/A#
197N/A# When distributing Covered Code, include this CDDL HEADER in each
197N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
197N/A# If applicable, add the following below this CDDL HEADER, with the
197N/A# fields enclosed by brackets "[]" replaced with your own identifying
197N/A# information: Portions Copyright [yyyy] [name of copyright owner]
197N/A#
197N/A# CDDL HEADER END
197N/A#
197N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
197N/A#
6727N/A
197N/Ainclude ../../make-rules/shared-macros.mk
197N/A
3996N/AMAKEFILE =
3996N/A
197N/ACOMPONENT_NAME= wxGTK
197N/ACOMPONENT_VERSION= 2.8.10
1273N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
197N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
197N/ACOMPONENT_ARCHIVE_HASH= sha1:b90a1010851a1f4a3bc2ea5da5412ac66143d768
618N/ACOMPONENT_ARCHIVE_URL= http://prdownloads.sourceforge.net/wxwindows/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_PROJECT_URL= http://www.wxwidgets.org
1273N/A
197N/Ainclude ../../make-rules/prep.mk
844N/Ainclude ../../make-rules/configure.mk
844N/Ainclude ../../make-rules/ips.mk
197N/A
1273N/APKG_PROTO_DIRS += $(COMPONENT_DIR)/man
197N/A
3661N/A# We need to compile with /usr/lib/$(MACH64)/glib-2.0
3661N/A# https://defect.opensolaris.org/bz/show_bug.cgi?id=9957
197N/A$(BUILD_64): CONFIGURE_OPTIONS += PKG_CONFIG_PATH=/usr/lib/$(MACH64)/pkgconfig
197N/A
197N/A# get rid of compiler path set in RUNPATH
197N/ALDFLAGS += $(studio_NORUNPATH)
197N/ALDFLAGS += $(CC_BITS)
3996N/A
3996N/ACONFIGURE_OPTIONS += --with-gtk
3996N/ACONFIGURE_OPTIONS += --enable-gtk2
197N/ACONFIGURE_OPTIONS += --enable-unicode
6727N/ACONFIGURE_OPTIONS += --enable-mimetype
197N/ACONFIGURE_OPTIONS += --enable-gui
6727N/ACONFIGURE_OPTIONS += --enable-xrc
6727N/ACONFIGURE_OPTIONS += --with-subdirs
6727N/ACONFIGURE_OPTIONS += --with-expat
197N/ACONFIGURE_OPTIONS += --with-sdl
197N/ACONFIGURE_OPTIONS += --without-gnomeprint
197N/ACONFIGURE_OPTIONS += --without-gnomevfs
197N/ACONFIGURE_OPTIONS += --with-opengl
197N/ACONFIGURE_OPTIONS += --without-libmpack
197N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
197N/ACONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
197N/ACONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
6727N/A
6727N/Ainclude ../../make-rules/shared-targets.mk
6727N/A
197N/A# I want to use userland's "build" target in contrib subdirectory, but I need
197N/A# to skip the configure phase
197N/A$(BUILD_DIR_32)/contrib/.configured \
197N/A$(BUILD_DIR_64)/contrib/.configured:
197N/A $(TOUCH) $@
197N/A
197N/A# common targets
197N/Abuild: $(BUILD_32_and_64) \
3996N/A $(BUILD_DIR_32)/contrib/.built \
$(BUILD_DIR_64)/contrib/.built
install: $(INSTALL_32_and_64) \
$(BUILD_DIR_32)/contrib/.installed \
$(BUILD_DIR_64)/contrib/.installed
test: $(NO_TESTS)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk