Makefile revision 5124
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# CDDL HEADER START
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# The contents of this file are subject to the terms of the
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# Common Development and Distribution License (the "License").
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# You may not use this file except in compliance with the License.
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# or http://www.opensolaris.org/os/licensing.
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# See the License for the specific language governing permissions
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# and limitations under the License.
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# When distributing Covered Code, include this CDDL HEADER in each
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# If applicable, add the following below this CDDL HEADER, with the
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# fields enclosed by brackets "[]" replaced with your own identifying
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# information: Portions Copyright [yyyy] [name of copyright owner]
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# CDDL HEADER END
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi#
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiinclude ../../../make-rules/shared-macros.mk
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCOMPONENT_NAME= pidgin
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCOMPONENT_VERSION= 2.10.11
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCOMPONENT_PROJECT_URL= http://www.pidgin.im
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCOMPONENT_ARCHIVE_HASH= \
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi sha256:f2ae211341fc77efb9945d40e9932aa535cdf3a6c8993fe7919fca8cc1c04007
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCOMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCOMPONENT_BUGDB= utility/pidgin
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiTPNO= 21690
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiinclude $(WS_MAKE_RULES)/prep.mk
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiinclude $(WS_MAKE_RULES)/configure.mk
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiinclude $(WS_MAKE_RULES)/ips.mk
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# Need to pick up the Studio compiler as some Makefiles just use "cc".
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# Need to pick up the GNU version of xgettext.
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiPATH=$(dir $(CC)):$(SPRO_VROOT)/bin:/usr/gnu/bin:/usr/bin
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCFLAGS += -DG_IMPLEMENT_INLINES -DG_HAVE_ISO_VARARGS
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCOMPONENT_PREP_ACTION = \
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi (cd $(@D) ; \
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi glib-gettextize -f ; \
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi libtoolize --force ; \
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi intltoolize --force --copy --automake ; \
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi aclocal -I . ; \
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi autoheader ; \
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi automake -a -c -f ; \
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi autoconf )
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# Needed to get libpurple to link properly.
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiLIBS += -lresolv
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCONFIGURE_ENV += LIBS="$(LIBS)"
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCONFIGURE_ENV += PKG_CONFIG_PATH=/usr/lib/pkgconfig/gnutls-3
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCONFIGURE_OPTIONS += --disable-binreloc
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCONFIGURE_OPTIONS += --enable-nss=no
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCONFIGURE_OPTIONS += --enable-gnutls=yes
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCONFIGURE_OPTIONS += --with-gnutls-includes=/usr/include/gnutls-3
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCONFIGURE_OPTIONS += --with-gnutls-libs=/usr/lib/gnutls-3
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCONFIGURE_OPTIONS += --with-nspr-includes=/usr/include/mps
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCONFIGURE_OPTIONS += --with-nspr-libs=/usr/lib/mps
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCONFIGURE_OPTIONS += --enable-gnome-keyring
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCONFIGURE_OPTIONS += --disable-gevolution
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCONFIGURE_OPTIONS += --enable-cap
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCONFIGURE_OPTIONS += --disable-meanwhile
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCONFIGURE_OPTIONS += --disable-nm
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCONFIGURE_OPTIONS += --disable-consoleui
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCONFIGURE_OPTIONS += --disable-vv
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCONFIGURE_OPTIONS += --with-perl-lib=vendor
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi# Always show the build and link lines for easier debugging.
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiCOMPONENT_BUILD_ARGS += V=1
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiASLR_MODE = $(ASLR_ENABLE)
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiconfigure: $(CONFIGURE_32)
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindibuild: $(BUILD_32)
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiinstall: $(INSTALL_32)
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecinditest: $(NO_TESTS)
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindisystem-test: $(NO_TESTS)
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += database/sqlite-3
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += library/audio/gstreamer
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += library/desktop/atk
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += library/desktop/cairo
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += library/desktop/gtk2
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += library/desktop/gtkspell
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += library/desktop/pango
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += library/glib2
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += library/gnome/gnome-keyring
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += library/gnutls-3
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += library/libidn
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += library/libxml2
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += library/nspr
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += library/python/python-dbus-27
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += runtime/perl-512
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += runtime/python-27
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += runtime/tcl-8
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += runtime/tk-8
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += shell/ksh93
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += system/library
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += system/library/libdbus
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += system/library/libdbus-glib
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += system/library/math
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += system/network/avahi
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += x11/library/libice
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += x11/library/libsm
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += x11/library/libx11
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindiREQUIRED_PACKAGES += x11/library/libxscrnsaver
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi