Makefile revision 6328
6328N/A#
6328N/A# CDDL HEADER START
6328N/A#
6328N/A# The contents of this file are subject to the terms of the
6328N/A# Common Development and Distribution License (the "License").
6328N/A# You may not use this file except in compliance with the License.
6328N/A#
6328N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6328N/A# or http://www.opensolaris.org/os/licensing.
6328N/A# See the License for the specific language governing permissions
6328N/A# and limitations under the License.
6328N/A#
6328N/A# When distributing Covered Code, include this CDDL HEADER in each
6328N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6328N/A# If applicable, add the following below this CDDL HEADER, with the
6328N/A# fields enclosed by brackets "[]" replaced with your own identifying
6328N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6328N/A#
6328N/A# CDDL HEADER END
6328N/A#
6328N/A
6328N/A#
6328N/A# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
6328N/A#
6328N/A
6328N/ABUILD_BITS = 64_and_32
6328N/A# All components using gobject-introspection must be built with gcc as
6328N/A# gobject-introspection does not produce correct results when using Studio.
6328N/ACOMPILER = gcc
6328N/Ainclude ../../../make-rules/shared-macros.mk
6328N/A
6328N/ACOMPONENT_NAME= gupnp-igd
6328N/ACOMPONENT_VERSION= 0.2.4
6328N/ACOMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/GUPnP
6328N/ACOMPONENT_ARCHIVE_HASH= \
6328N/A sha256:38c4a6d7718d17eac17df95a3a8c337677eda77e58978129ad3182d769c38e44
6328N/ACOMPONENT_BUGDB= gnome/libraries
6328N/A
6328N/ATPNO= 25397
6328N/A
6328N/A# Contains a single Python script written for Python 2.x/3.x; prefer 3.4.
6328N/APYTHON=3.4
6328N/APYTHON_VERSIONS=3.4
6328N/A
6328N/A# Hook up tests once dependencies are installed
6328N/ATEST_TARGET = $(SKIP_TEST)
6328N/A
6328N/A# Needs gupnp, not available on S11.
6328N/Aifeq ($(BUILD_TYPE), evaluation)
6328N/ABUILD_32_and_64=
6328N/AINSTALL_32_and_64=
6328N/APUBLISH_STAMP=
6328N/Aendif
6328N/A
6328N/Ainclude $(WS_MAKE_RULES)/gnome-component.mk
6328N/A
6328N/ACONFIGURE_OPTIONS += --disable-static
6328N/A# Required for documentation.
6328N/ACONFIGURE_OPTIONS += --enable-gtk-doc
6328N/A# Required for other components.
6328N/ACONFIGURE_OPTIONS += --enable-introspection
6328N/ACONFIGURE_OPTIONS += --enable-shared
6328N/ACONFIGURE_OPTIONS += --with-pic
6328N/A
6328N/A# Ancient configure script needs regeneration.
6328N/ACOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
6328N/A
6328N/A# Delete this when build servers are installed with gupnp
6328N/AGUPNP_BASE = $(WS_COMPONENTS)/gnome/gupnp/build/prototype/$(MACH)
6328N/APKG_CONFIG_PATHS.32 += $(GUPNP_BASE)/usr/lib/pkgconfig/
6328N/APKG_CONFIG_PATHS.64 += $(GUPNP_BASE)/usr/lib/$(MACH64)/pkgconfig/
6328N/APKG_CONFIG_PATHS += $(PKG_CONFIG_PATHS.$(BITS))
6328N/A
6328N/ALD_OPTIONS.32 += -L $(GUPNP_BASE)/usr/lib
6328N/ALD_OPTIONS.64 += -L $(GUPNP_BASE)/usr/lib/$(MACH64)
6328N/ALD_OPTIONS += $(LD_OPTIONS.$(BITS))
6328N/A
6328N/ACPPFLAGS += -I$(GUPNP_BASE)/usr/include/gupnp-1.0
6328N/A
6328N/A# Work around pkgdepend bug which doesn't resolve dependencies from
6328N/A# the local workspace repo.
6328N/ADEPENDED += $(WS_TOP)/components/gnome/gupnp/build/manifest-$(MACH)-gupnp.depend
6328N/A
6328N/A# Temporary until dependencies are all on build machines
6328N/AREQUIRED_PACKAGES += $(shell $(GSED) -n 's/REQUIRED_PACKAGES +=//p' ../gupnp/Makefile)
6328N/A#end Delete
6328N/A
6328N/AREQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
6328N/AREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
6328N/AREQUIRED_PACKAGES += library/glib2
6328N/AREQUIRED_PACKAGES += library/desktop/gssdp
6328N/AREQUIRED_PACKAGES += library/desktop/gupnp
6328N/AREQUIRED_PACKAGES += runtime/python-34