Makefile revision 5290
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#
5290N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
5089N/A#
5089N/A
5089N/Ainclude ../../../make-rules/shared-macros.mk
5089N/A
5089N/ACOMPONENT_NAME= pidgin
5089N/ACOMPONENT_VERSION= 2.10.11
5089N/ACOMPONENT_PROJECT_URL= http://www.pidgin.im
5089N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
5089N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
5089N/ACOMPONENT_ARCHIVE_HASH= \
5089N/A sha256:f2ae211341fc77efb9945d40e9932aa535cdf3a6c8993fe7919fca8cc1c04007
5089N/ACOMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
5089N/ACOMPONENT_BUGDB= utility/pidgin
5089N/A
5089N/ATPNO= 21690
5089N/A
5089N/Ainclude $(WS_MAKE_RULES)/prep.mk
5089N/Ainclude $(WS_MAKE_RULES)/configure.mk
5089N/Ainclude $(WS_MAKE_RULES)/ips.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.
5089N/APATH=$(dir $(CC)):$(SPRO_VROOT)/bin:/usr/gnu/bin:/usr/bin
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)"
5124N/ACONFIGURE_ENV += PKG_CONFIG_PATH=/usr/lib/pkgconfig/gnutls-3
5089N/A
5089N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
5089N/ACONFIGURE_OPTIONS += --disable-binreloc
5290N/ACONFIGURE_OPTIONS += --enable-cyrus-sasl
5124N/ACONFIGURE_OPTIONS += --enable-nss=no
5124N/ACONFIGURE_OPTIONS += --enable-gnutls=yes
5124N/ACONFIGURE_OPTIONS += --with-gnutls-includes=/usr/include/gnutls-3
5124N/ACONFIGURE_OPTIONS += --with-gnutls-libs=/usr/lib/gnutls-3
5089N/ACONFIGURE_OPTIONS += --with-nspr-includes=/usr/include/mps
5089N/ACONFIGURE_OPTIONS += --with-nspr-libs=/usr/lib/mps
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
5089N/ACONFIGURE_OPTIONS += --with-perl-lib=vendor
5089N/A
5089N/A# Always show the build and link lines for easier debugging.
5089N/ACOMPONENT_BUILD_ARGS += V=1
5089N/A
5089N/AASLR_MODE = $(ASLR_ENABLE)
5089N/A
5089N/Aconfigure: $(CONFIGURE_32)
5089N/A
5089N/Abuild: $(BUILD_32)
5089N/A
5089N/Ainstall: $(INSTALL_32)
5089N/A
5089N/Atest: $(NO_TESTS)
5089N/A
5089N/Asystem-test: $(NO_TESTS)
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
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
5089N/AREQUIRED_PACKAGES += library/nspr
5089N/AREQUIRED_PACKAGES += library/python/python-dbus-27
5089N/AREQUIRED_PACKAGES += runtime/perl-512
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
5089N/AREQUIRED_PACKAGES += system/library/libdbus
5089N/AREQUIRED_PACKAGES += system/library/libdbus-glib
5089N/AREQUIRED_PACKAGES += system/library/math
5290N/AREQUIRED_PACKAGES += system/library/security/libsasl
5089N/AREQUIRED_PACKAGES += system/network/avahi
5089N/AREQUIRED_PACKAGES += x11/library/libice
5089N/AREQUIRED_PACKAGES += x11/library/libsm
5089N/AREQUIRED_PACKAGES += x11/library/libx11
5089N/AREQUIRED_PACKAGES += x11/library/libxscrnsaver