components/gnome/clutter-gtk/Makefile
changeset 7293 a449e2e641be
parent 6391 ef24ec0b3a52
child 7687 1093e2a9adbd
equal deleted inserted replaced
7292:addd59c4ffea 7293:a449e2e641be
    39 
    39 
    40 # Requires cogl modules - disable till we get the fixed cogl on build servers
    40 # Requires cogl modules - disable till we get the fixed cogl on build servers
    41 TEST_TARGET = $(SKIP_TEST)
    41 TEST_TARGET = $(SKIP_TEST)
    42 
    42 
    43 # Needs gobject-introspection, not available on S11.
    43 # Needs gobject-introspection, not available on S11.
    44 ifeq ($(BUILD_TYPE), evaluation)
    44 include $(WS_MAKE_RULES)/no-evaluation.mk
    45 BUILD_32_and_64=
       
    46 INSTALL_32_and_64=
       
    47 PUBLISH_STAMP=
       
    48 endif
       
    49 
    45 
    50 include $(WS_MAKE_RULES)/gnome-component.mk
    46 include $(WS_MAKE_RULES)/gnome-component.mk
    51 
    47 
    52 CONFIGURE_OPTIONS += --disable-static
    48 CONFIGURE_OPTIONS += --disable-static
    53 # Required for other components.
    49 # Required for other components.
    54 CONFIGURE_OPTIONS += --enable-introspection
    50 CONFIGURE_OPTIONS += --enable-introspection
    55 CONFIGURE_OPTIONS += --enable-shared
    51 CONFIGURE_OPTIONS += --enable-shared
    56 CONFIGURE_OPTIONS += --with-pic
    52 CONFIGURE_OPTIONS += --with-pic
    57 
       
    58 # Delete this when build servers are installed with the dependencies
       
    59 COGL_BASE = $(WS_COMPONENTS)/gnome/cogl/build/prototype/$(MACH)
       
    60 PKG_CONFIG_PATHS.32 += $(COGL_BASE)/usr/lib/pkgconfig/
       
    61 PKG_CONFIG_PATHS.64 += $(COGL_BASE)/usr/lib/$(MACH64)/pkgconfig/
       
    62 PKG_CONFIG_PATHS += $(PKG_CONFIG_PATHS.$(BITS))
       
    63 
       
    64 LD_OPTIONS.32 += -L $(COGL_BASE)/usr/lib
       
    65 LD_OPTIONS.64 += -L $(COGL_BASE)/usr/lib/$(MACH64)
       
    66 LD_OPTIONS += $(LD_OPTIONS.$(BITS))
       
    67 
       
    68 CPPFLAGS += -I$(COGL_BASE)/usr/include/cogl
       
    69 
       
    70 CLUTTER_BASE = $(WS_COMPONENTS)/gnome/clutter/build/prototype/$(MACH)
       
    71 PKG_CONFIG_PATHS.32 += $(CLUTTER_BASE)/usr/lib/pkgconfig/
       
    72 PKG_CONFIG_PATHS.64 += $(CLUTTER_BASE)/usr/lib/$(MACH64)/pkgconfig/
       
    73 PKG_CONFIG_PATHS += $(PKG_CONFIG_PATHS.$(BITS))
       
    74 
       
    75 LD_OPTIONS.32 += -L $(CLUTTER_BASE)/usr/lib
       
    76 LD_OPTIONS.64 += -L $(CLUTTER_BASE)/usr/lib/$(MACH64)
       
    77 LD_OPTIONS += $(LD_OPTIONS.$(BITS))
       
    78 
       
    79 CPPFLAGS += -I$(CLUTTER_BASE)/usr/include/clutter-1.0 \
       
    80 	    -I/usr/include/json-glib-1.0
       
    81 
       
    82 COMPONENT_BUILD_ENV  += \
       
    83 	XDG_DATA_DIRS="$(COGL_BASE)/usr/share/:$(CLUTTER_BASE)/usr/share/:/usr/share/"
       
    84 
       
    85 COMPONENT_BUILD_ENV += LD_LIBRARY_PATH_32="$(COGL_BASE)$(USRLIB.$(BITS)):$(CLUTTER_BASE)$(USRLIB.$(BITS)):$(BUILD_DIR_32)/clutter-gtk/.libs"
       
    86 COMPONENT_BUILD_ENV += LD_LIBRARY_PATH_64="$(COGL_BASE)$(USRLIB.$(BITS)):$(CLUTTER_BASE)$(USRLIB.$(BITS)):$(BUILD_DIR_64)/clutter-gtk/.libs"
       
    87 
       
    88 # Work around pkgdepend bug which doesn't resolve dependencies from
       
    89 # the local workspace repo. - 15708323
       
    90 DEPENDED += $(WS_TOP)/components/gnome/cogl/build/manifest-$(MACH)-cogl.depend
       
    91 DEPENDED += $(WS_TOP)/components/gnome/clutter/build/manifest-$(MACH)-clutter.depend
       
    92 
       
    93 # Temporary until dependencies are all on build machines
       
    94 REQUIRED_PACKAGES += $(shell $(GSED) -n 's/REQUIRED_PACKAGES +=//p' ../cogl/Makefile)
       
    95 REQUIRED_PACKAGES += $(shell $(GSED) -n -e '/GSED/d' -e 's/REQUIRED_PACKAGES +=//p' ../clutter/Makefile)
       
    96 #end Delete
       
    97 
    53 
    98 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
    54 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
    99 REQUIRED_PACKAGES += library/desktop/cairo
    55 REQUIRED_PACKAGES += library/desktop/cairo
   100 REQUIRED_PACKAGES += library/desktop/clutter
    56 REQUIRED_PACKAGES += library/desktop/clutter
   101 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
    57 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf