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