components/wxwidgets/Makefile
changeset 3817 30b42c38bbc4
parent 2225 f064d3d3190d
child 4056 5f384332cee7
equal deleted inserted replaced
3814:60344306d223 3817:30b42c38bbc4
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 
    23 
    24 include ../../make-rules/shared-macros.mk
    24 include ../../make-rules/shared-macros.mk
    25 
    25 
    26 COMPONENT_NAME=		wxwidgets
    26 COMPONENT_NAME=		wxwidgets
    34 COMPONENT_PROJECT_URL=  http://www.wxwidgets.org/
    34 COMPONENT_PROJECT_URL=  http://www.wxwidgets.org/
    35 COMPONENT_BUGDB=	library/wxwidgets
    35 COMPONENT_BUGDB=	library/wxwidgets
    36 
    36 
    37 TPNO=			9216
    37 TPNO=			9216
    38 
    38 
    39 include ../../make-rules/prep.mk
    39 include $(WS_MAKE_RULES)/prep.mk
    40 include ../../make-rules/configure.mk
    40 include $(WS_MAKE_RULES)/configure.mk
    41 include ../../make-rules/ips.mk
    41 include $(WS_MAKE_RULES)/ips.mk
    42 
    42 
    43 PKG_PROTO_DIRS += $(COMPONENT_DIR)/man
    43 PKG_PROTO_DIRS += $(COMPONENT_DIR)/man
    44 
    44 
    45 # We need to compile with /usr/lib/$(MACH64)/glib-2.0
    45 # We need to compile with /usr/lib/$(MACH64)/glib-2.0
    46 # https://defect.opensolaris.org/bz/show_bug.cgi?id=9957
    46 # https://defect.opensolaris.org/bz/show_bug.cgi?id=9957
    68 CONFIGURE_OPTIONS += --without-libmpack
    68 CONFIGURE_OPTIONS += --without-libmpack
    69 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
    69 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
    70 CONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
    70 CONFIGURE_OPTIONS += CXXFLAGS="$(CXXFLAGS)"
    71 CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
    71 CONFIGURE_OPTIONS += LDFLAGS="$(LDFLAGS)"
    72 
    72 
    73 include ../../make-rules/shared-targets.mk
       
    74 
       
    75 # I want to use userland's "build" target in contrib subdirectory, but I need
    73 # I want to use userland's "build" target in contrib subdirectory, but I need
    76 # to skip the configure phase
    74 # to skip the configure phase
    77 $(BUILD_DIR_32)/contrib/.configured \
    75 $(BUILD_DIR_32)/contrib/.configured \
    78 $(BUILD_DIR_64)/contrib/.configured:
    76 $(BUILD_DIR_64)/contrib/.configured:
    79 	$(TOUCH) $@
    77 	$(TOUCH) $@
    89 		$(BUILD_DIR_32)/contrib/.installed \
    87 		$(BUILD_DIR_32)/contrib/.installed \
    90 		$(BUILD_DIR_64)/contrib/.installed
    88 		$(BUILD_DIR_64)/contrib/.installed
    91 
    89 
    92 test: 		$(NO_TESTS)
    90 test: 		$(NO_TESTS)
    93 
    91 
    94 BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
    92 REQUIRED_PACKAGES += image/library/libjpeg
    95 
    93 REQUIRED_PACKAGES += image/library/libpng
    96 include ../../make-rules/depend.mk
    94 REQUIRED_PACKAGES += image/library/libtiff
       
    95 REQUIRED_PACKAGES += library/desktop/atk
       
    96 REQUIRED_PACKAGES += library/desktop/gdk-pixbuf
       
    97 REQUIRED_PACKAGES += library/desktop/gtk2
       
    98 REQUIRED_PACKAGES += library/desktop/pango
       
    99 REQUIRED_PACKAGES += library/expat
       
   100 REQUIRED_PACKAGES += library/glib2
       
   101 REQUIRED_PACKAGES += library/sdl
       
   102 REQUIRED_PACKAGES += library/zlib
       
   103 REQUIRED_PACKAGES += shell/ksh93
       
   104 REQUIRED_PACKAGES += system/library
       
   105 REQUIRED_PACKAGES += system/library/c++-runtime
       
   106 REQUIRED_PACKAGES += system/library/math
       
   107 REQUIRED_PACKAGES += x11/library/libsm
       
   108 REQUIRED_PACKAGES += x11/library/libx11
       
   109 REQUIRED_PACKAGES += x11/library/libxcursor
       
   110 REQUIRED_PACKAGES += x11/library/libxinerama
       
   111 REQUIRED_PACKAGES += x11/library/libxxf86vm