components/gnome/atk/Makefile
changeset 5894 bfe6c718eff5
child 6005 e19e3cf52cc4
equal deleted inserted replaced
5893:2a56e1b60ff1 5894:bfe6c718eff5
       
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License (the "License").
       
     6 # You may not use this file except in compliance with the License.
       
     7 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 # or http://www.opensolaris.org/os/licensing.
       
    10 # See the License for the specific language governing permissions
       
    11 # and limitations under the License.
       
    12 #
       
    13 # When distributing Covered Code, include this CDDL HEADER in each
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 # If applicable, add the following below this CDDL HEADER, with the
       
    16 # fields enclosed by brackets "[]" replaced with your own identifying
       
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 #
       
    19 # CDDL HEADER END
       
    20 #
       
    21 
       
    22 #
       
    23 # Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
       
    24 #
       
    25 
       
    26 # All components using gobject-introspection must be built with gcc as
       
    27 # gobject-introspection does not produce correct results when using Studio.
       
    28 COMPILER =      	gcc
       
    29 BUILD_BITS =            32_and_64
       
    30 include ../../../make-rules/shared-macros.mk
       
    31 
       
    32 COMPONENT_NAME=		atk
       
    33 COMPONENT_VERSION=	2.18.0
       
    34 COMPONENT_PROJECT_URL=	https://wiki.gnome.org/Accessibility
       
    35 COMPONENT_ARCHIVE_HASH=	\
       
    36     sha256:ce6c48d77bf951083029d5a396dd552d836fff3c1715d3a7022e917e46d0c92b
       
    37 COMPONENT_BUGDB=	gnome/a11y-libs-core
       
    38 
       
    39 TPNO=			24624
       
    40 
       
    41 include $(WS_MAKE_RULES)/gnome-component.mk
       
    42 
       
    43 # Workaround for build failures due to atk Makefiles not passing CFLAGS or
       
    44 # LDFLAGS, especially the -m32/64 flag, to g-ir-scanner
       
    45 COMPONENT_BUILD_ENV += CFLAGS="$(strip $(CFLAGS))"
       
    46 COMPONENT_BUILD_ENV += LDFLAGS="$(strip $(LDFLAGS))"
       
    47 
       
    48 # Upstream's "gmake test" target builds tests but does not run them,
       
    49 # so run them manually for now.
       
    50 COMPONENT_TEST_TARGETS += ; cd tests; ./testdocument; ./testrole ; \
       
    51 	./testrelation ; ./teststateset ; ./testvalue
       
    52 
       
    53 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
       
    54 
       
    55 CONFIGURE_OPTIONS += --enable-introspection
       
    56 CONFIGURE_OPTIONS += --disable-silent-rules
       
    57 
       
    58 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
       
    59 REQUIRED_PACKAGES += library/desktop/gobject/gobject-introspection
       
    60 REQUIRED_PACKAGES += library/glib2
       
    61