Makefile revision 6557
5089N/A#
5089N/A# CDDL HEADER START
5089N/A#
5089N/A# The contents of this file are subject to the terms of the
5089N/A# Common Development and Distribution License (the "License").
5089N/A# You may not use this file except in compliance with the License.
5089N/A#
5089N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5089N/A# or http://www.opensolaris.org/os/licensing.
5089N/A# See the License for the specific language governing permissions
5089N/A# and limitations under the License.
5089N/A#
5089N/A# When distributing Covered Code, include this CDDL HEADER in each
5089N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5089N/A# If applicable, add the following below this CDDL HEADER, with the
5089N/A# fields enclosed by brackets "[]" replaced with your own identifying
5089N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5089N/A#
5089N/A# CDDL HEADER END
5089N/A#
5680N/A
5680N/A#
5290N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
5089N/A#
5680N/ABUILD_BITS= 64
5089N/Ainclude ../../../make-rules/shared-macros.mk
5089N/A
5089N/ACOMPONENT_NAME= pidgin
6557N/ACOMPONENT_VERSION= 2.11.0
5089N/ACOMPONENT_PROJECT_URL= http://www.pidgin.im
5089N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
5089N/ACOMPONENT_ARCHIVE_HASH= \
6557N/A sha256:f72613440586da3bdba6d58e718dce1b2c310adf8946de66d8077823e57b3333
5089N/ACOMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
5089N/A
6557N/ATPNO= 30500
5089N/A
5385N/A# Cyrus SASL is S12-only (at least for evaluation builds).
5385N/Aifeq ($(BUILD_TYPE), evaluation)
5531N/ABUILD_64=
5531N/AINSTALL_64=
5385N/APUBLISH_STAMP=
5385N/Aendif
5385N/A
5680N/ATEST_TARGET= $(NO_TESTS)
5680N/Ainclude $(WS_MAKE_RULES)/common.mk
5089N/A
5089N/A# Need to pick up the Studio compiler as some Makefiles just use "cc".
5089N/A# Need to pick up the GNU version of xgettext.
5680N/APATH=$(dir $(CC)):$(SPRO_VROOT)/bin:$(GNUBIN):$(USRBINDIR)
5089N/A
5089N/ACFLAGS += -DG_IMPLEMENT_INLINES -DG_HAVE_ISO_VARARGS
5089N/A
5089N/ACOMPONENT_PREP_ACTION = \
5089N/A (cd $(@D) ; \
5089N/A glib-gettextize -f ; \
5089N/A libtoolize --force ; \
5089N/A intltoolize --force --copy --automake ; \
5089N/A aclocal -I . ; \
5089N/A autoheader ; \
5089N/A automake -a -c -f ; \
5089N/A autoconf )
5089N/A
5089N/A# Needed to get libpurple to link properly.
5089N/ALIBS += -lresolv
5089N/ACONFIGURE_ENV += LIBS="$(LIBS)"
5935N/A
5935N/A# Look for gnutls-3 pkg-config & libraries before the defaults
5935N/APKG_CONFIG_PATH.64 := $(PKG_CONFIG_PATH.64)/gnutls-3:$(PKG_CONFIG_PATH.64)
5935N/ALDFLAGS += -L$(USRLIBDIR64)/gnutls-3
5517N/A
5795N/ACONFIGURE_ENV += "ac_cv_path_perlpath=$(PERL)"
5517N/A
5290N/ACONFIGURE_OPTIONS += --enable-cyrus-sasl
5517N/ACONFIGURE_OPTIONS += --disable-nss
5517N/ACONFIGURE_OPTIONS += --enable-gnutls
5680N/ACONFIGURE_OPTIONS += --with-gnutls-includes=$(USRINCDIR)/gnutls-3
5680N/ACONFIGURE_OPTIONS += --with-gnutls-libs=$(USRLIBDIR64)/gnutls-3
5089N/ACONFIGURE_OPTIONS += --enable-gnome-keyring
5089N/ACONFIGURE_OPTIONS += --disable-gevolution
5089N/ACONFIGURE_OPTIONS += --enable-cap
5089N/ACONFIGURE_OPTIONS += --disable-meanwhile
5089N/ACONFIGURE_OPTIONS += --disable-nm
5089N/ACONFIGURE_OPTIONS += --disable-consoleui
5089N/ACONFIGURE_OPTIONS += --disable-vv
5879N/A# 23200148 undo this once 23169155 Move developer/gnome/gettext to Userland
5879N/ACONFIGURE_OPTIONS += INTLTOOL_MERGE="$(PERL) /usr/bin/intltool-merge"
5089N/A
5089N/A# Always show the build and link lines for easier debugging.
5089N/ACOMPONENT_BUILD_ARGS += V=1
5089N/A
5089N/AREQUIRED_PACKAGES += database/sqlite-3
5089N/AREQUIRED_PACKAGES += library/audio/gstreamer
5089N/AREQUIRED_PACKAGES += library/desktop/atk
5089N/AREQUIRED_PACKAGES += library/desktop/cairo
5089N/AREQUIRED_PACKAGES += library/desktop/gdk-pixbuf
6557N/AREQUIRED_PACKAGES += library/desktop/gstreamer-1
5089N/AREQUIRED_PACKAGES += library/desktop/gtk2
5089N/AREQUIRED_PACKAGES += library/desktop/gtkspell
5089N/AREQUIRED_PACKAGES += library/desktop/pango
5089N/AREQUIRED_PACKAGES += library/glib2
5089N/AREQUIRED_PACKAGES += library/gnome/gnome-keyring
5124N/AREQUIRED_PACKAGES += library/gnutls-3
5089N/AREQUIRED_PACKAGES += library/libidn
5089N/AREQUIRED_PACKAGES += library/libxml2
5795N/AREQUIRED_PACKAGES += library/perl-5/xml-parser
5089N/AREQUIRED_PACKAGES += library/python/python-dbus-27
5795N/AREQUIRED_PACKAGES += $(PERL_PKG)
5089N/AREQUIRED_PACKAGES += runtime/python-27
5089N/AREQUIRED_PACKAGES += runtime/tcl-8
5089N/AREQUIRED_PACKAGES += runtime/tk-8
5089N/AREQUIRED_PACKAGES += shell/ksh93
5089N/AREQUIRED_PACKAGES += system/library/libdbus
5089N/AREQUIRED_PACKAGES += system/library/libdbus-glib
5089N/AREQUIRED_PACKAGES += system/library/math
5452N/AREQUIRED_PACKAGES += system/library/security/libsasl2
5089N/AREQUIRED_PACKAGES += system/network/avahi
5089N/AREQUIRED_PACKAGES += x11/library/libice
5089N/AREQUIRED_PACKAGES += x11/library/libsm
5089N/AREQUIRED_PACKAGES += x11/library/libx11
5914N/AREQUIRED_PACKAGES += x11/library/libxext
5089N/AREQUIRED_PACKAGES += x11/library/libxscrnsaver