Makefile revision 7291
f2472b79d241967fa28f8284470b1c5cafee7b12wrowe#
bf52162f2d05c1fb1a107c7ef108de73f739b3edpquerna# CDDL HEADER START
84fbf855118f318dd5e511d8e5b902cecc1177c0jim#
84fbf855118f318dd5e511d8e5b902cecc1177c0jim# The contents of this file are subject to the terms of the
0ed19acadd3d3dd593759173d87d2243e97914e2sf# Common Development and Distribution License (the "License").
0ed19acadd3d3dd593759173d87d2243e97914e2sf# You may not use this file except in compliance with the License.
0ed19acadd3d3dd593759173d87d2243e97914e2sf#
0ed19acadd3d3dd593759173d87d2243e97914e2sf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
df419be6d7d4b68823efa05722375552af49c2b6minfrin# or http://www.opensolaris.org/os/licensing.
df419be6d7d4b68823efa05722375552af49c2b6minfrin# See the License for the specific language governing permissions
df419be6d7d4b68823efa05722375552af49c2b6minfrin# and limitations under the License.
df419be6d7d4b68823efa05722375552af49c2b6minfrin#
c03e31374e50a227cb554a0f1d4a9056ce80d99asf# When distributing Covered Code, include this CDDL HEADER in each
c03e31374e50a227cb554a0f1d4a9056ce80d99asf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c03e31374e50a227cb554a0f1d4a9056ce80d99asf# If applicable, add the following below this CDDL HEADER, with the
40b22d3b20454959fe51fdc89907908d77701078minfrin# fields enclosed by brackets "[]" replaced with your own identifying
40b22d3b20454959fe51fdc89907908d77701078minfrin# information: Portions Copyright [yyyy] [name of copyright owner]
40b22d3b20454959fe51fdc89907908d77701078minfrin#
b4a00883f358625923365ca1560c96edec172a52sf# CDDL HEADER END
b4a00883f358625923365ca1560c96edec172a52sf#
b4a00883f358625923365ca1560c96edec172a52sf
b4a00883f358625923365ca1560c96edec172a52sf#
87af9ffc3a42633fe12e11a0ff77bc099ecdca82sf# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
87af9ffc3a42633fe12e11a0ff77bc099ecdca82sf#
87af9ffc3a42633fe12e11a0ff77bc099ecdca82sf
f58bb3da705eb7ec926f4883597fc2eb1336a360minfrinBUILD_BITS = 64_and_32
f58bb3da705eb7ec926f4883597fc2eb1336a360minfrin# All components using gobject-introspection must be built with gcc as
f58bb3da705eb7ec926f4883597fc2eb1336a360minfrin# gobject-introspection does not produce correct results when using Studio.
f58bb3da705eb7ec926f4883597fc2eb1336a360minfrinCOMPILER = gcc
f58bb3da705eb7ec926f4883597fc2eb1336a360minfrininclude ../../../make-rules/shared-macros.mk
be192cefa381d5bae6868034687471754cb43175sf
be192cefa381d5bae6868034687471754cb43175sfCOMPONENT_NAME= gupnp-igd
be192cefa381d5bae6868034687471754cb43175sfCOMPONENT_VERSION= 0.2.4
be192cefa381d5bae6868034687471754cb43175sfCOMPONENT_PROJECT_URL= https://wiki.gnome.org/Projects/GUPnP
f4a0825e91eec135b5e41c697439e9a13014fa2cminfrinCOMPONENT_ARCHIVE_HASH= \
f4a0825e91eec135b5e41c697439e9a13014fa2cminfrin sha256:38c4a6d7718d17eac17df95a3a8c337677eda77e58978129ad3182d769c38e44
f4a0825e91eec135b5e41c697439e9a13014fa2cminfrinCOMPONENT_BUGDB= gnome/libraries
f4a0825e91eec135b5e41c697439e9a13014fa2cminfrin
5876f43a746f688a32b7201bced8591ddf19bd43minfrinTPNO= 25397
5876f43a746f688a32b7201bced8591ddf19bd43minfrin
5876f43a746f688a32b7201bced8591ddf19bd43minfrin# Contains a single Python script written for Python 2.x/3.x; prefer 3.4.
5876f43a746f688a32b7201bced8591ddf19bd43minfrinPYTHON=3.4
4aef34911af88f96c5b6d9b71a550a5a97bbc0b6minfrinPYTHON_VERSIONS=3.4
4aef34911af88f96c5b6d9b71a550a5a97bbc0b6minfrin
4aef34911af88f96c5b6d9b71a550a5a97bbc0b6minfrin# Hook up tests once dependencies are installed
4aef34911af88f96c5b6d9b71a550a5a97bbc0b6minfrinTEST_TARGET = $(SKIP_TEST)
4aef34911af88f96c5b6d9b71a550a5a97bbc0b6minfrin
4cefc38158672f5de8119886d9754cf0609a9371minfrin# Needs gupnp, not available on S11.
4cefc38158672f5de8119886d9754cf0609a9371minfrininclude $(WS_MAKE_RULES)/no-evaluation.mk
4cefc38158672f5de8119886d9754cf0609a9371minfrin
4cefc38158672f5de8119886d9754cf0609a9371minfrininclude $(WS_MAKE_RULES)/gnome-component.mk
4cefc38158672f5de8119886d9754cf0609a9371minfrin
11d3c510dca5b5178ad4739ffc1567ef2155bda9minfrinCONFIGURE_OPTIONS += --disable-static
11d3c510dca5b5178ad4739ffc1567ef2155bda9minfrin# Required for documentation.
11d3c510dca5b5178ad4739ffc1567ef2155bda9minfrinCONFIGURE_OPTIONS += --enable-gtk-doc
d974a1624c0bb4f1c2e8b36fcf8ba1f12284ed8dsf# Required for other components.
d974a1624c0bb4f1c2e8b36fcf8ba1f12284ed8dsfCONFIGURE_OPTIONS += --enable-introspection
d974a1624c0bb4f1c2e8b36fcf8ba1f12284ed8dsfCONFIGURE_OPTIONS += --enable-shared
1a8c329935111a5059363efe927d631371b78414minfrinCONFIGURE_OPTIONS += --with-pic
1a8c329935111a5059363efe927d631371b78414minfrin
fac37c9794a18c24d187f4e0f97a9476c4344118minfrin# Ancient configure script needs regeneration.
fac37c9794a18c24d187f4e0f97a9476c4344118minfrinCOMPONENT_PREP_ACTION += (cd $(@D); autoreconf -fiv);
fac37c9794a18c24d187f4e0f97a9476c4344118minfrin
fc58f0ff708564b67cd578c626b6500d1cd63a51sfREQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
fc58f0ff708564b67cd578c626b6500d1cd63a51sfREQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
fc58f0ff708564b67cd578c626b6500d1cd63a51sfREQUIRED_PACKAGES += library/glib2
fc58f0ff708564b67cd578c626b6500d1cd63a51sfREQUIRED_PACKAGES += library/desktop/gssdp
fc58f0ff708564b67cd578c626b6500d1cd63a51sfREQUIRED_PACKAGES += library/desktop/gupnp
fc58f0ff708564b67cd578c626b6500d1cd63a51sfREQUIRED_PACKAGES += runtime/python-34
4e5fe1d203ddf3956a77be3c797c01fd4be8b211sf