components/python/pycups/Makefile
changeset 3817 30b42c38bbc4
parent 3497 091183b2cc24
child 4339 6501cf9c29f9
equal deleted inserted replaced
3814:60344306d223 3817:30b42c38bbc4
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
    25 
    25 
    26 include ../../../make-rules/shared-macros.mk
    26 include ../../../make-rules/shared-macros.mk
    27 
    27 
    28 COMPONENT_NAME=		pycups
    28 COMPONENT_NAME=		pycups
    38 TPNO=			9025
    38 TPNO=			9025
    39 
    39 
    40 # Fails to compile: not Python 3 ready.
    40 # Fails to compile: not Python 3 ready.
    41 PYTHON_VERSIONS=	2.7 2.6
    41 PYTHON_VERSIONS=	2.7 2.6
    42 
    42 
    43 include $(WS_TOP)/make-rules/prep.mk
    43 include $(WS_MAKE_RULES)/prep.mk
    44 include $(WS_TOP)/make-rules/setup.py.mk
    44 include $(WS_MAKE_RULES)/setup.py.mk
    45 include $(WS_TOP)/make-rules/ips.mk
    45 include $(WS_MAKE_RULES)/ips.mk
    46 
    46 
    47 # pycups requires VERSION to be defined. Originally set in the package Makefile
    47 # pycups requires VERSION to be defined. Originally set in the package Makefile
    48 CFLAGS += -DVERSION=\\\"$(COMPONENT_VERSION)\\\"
    48 CFLAGS += -DVERSION=\\\"$(COMPONENT_VERSION)\\\"
    49 
    49 
    50 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    50 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    57 
    57 
    58 install:	$(INSTALL_32_and_64)
    58 install:	$(INSTALL_32_and_64)
    59 
    59 
    60 test:		$(TEST_32_and_64)
    60 test:		$(TEST_32_and_64)
    61 
    61 
    62 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    63 
    62 
    64 include $(WS_TOP)/make-rules/depend.mk
    63 REQUIRED_PACKAGES += library/print/cups-libs
       
    64 REQUIRED_PACKAGES += print/cups
       
    65 REQUIRED_PACKAGES += system/library