components/python/pycups/Makefile
changeset 706 6e61f0012046
parent 609 775168282b2f
child 800 2ad056ed89ec
equal deleted inserted replaced
705:ea8fed4b5f65 706:6e61f0012046
    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, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 include ../../../make-rules/shared-macros.mk
    23 include ../../../make-rules/shared-macros.mk
    24 
    24 
    25 PATH=/usr/bin:/usr/gnu/bin:/usr/sbin
    25 PATH=/usr/bin:/usr/gnu/bin:/usr/sbin
    26 
    26 
    37 include $(WS_TOP)/make-rules/ips.mk
    37 include $(WS_TOP)/make-rules/ips.mk
    38 
    38 
    39 # pycups requires VERSION to be defined. Originally set in the package Makefile
    39 # pycups requires VERSION to be defined. Originally set in the package Makefile
    40 CFLAGS += -DVERSION=\\\"$(COMPONENT_VERSION)\\\"
    40 CFLAGS += -DVERSION=\\\"$(COMPONENT_VERSION)\\\"
    41 
    41 
       
    42 # build modules PIC (needed for Python 2.7)
       
    43 CFLAGS += $(CC_PIC)
       
    44 
    42 # common targets
    45 # common targets
    43 build:		$(BUILD_32_and_64)
    46 build:		$(BUILD_32_and_64)
    44 
    47 
    45 install:	$(INSTALL_32_and_64)
    48 install:	$(INSTALL_32_and_64)
    46 
    49