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