components/lua/Makefile
branchs11-update
changeset 3996 20c0f21bbe1e
parent 3661 47545fb8aed4
child 4226 efcbdc9d6dd8
equal deleted inserted replaced
3994:3781477accf3 3996:20c0f21bbe1e
    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 include ../../make-rules/shared-macros.mk
    23 include ../../make-rules/shared-macros.mk
    24 
    24 
    25 COMPONENT_NAME=		lua
    25 COMPONENT_NAME=		lua
    26 COMPONENT_VERSION=	5.1.4
    26 COMPONENT_VERSION=	5.1.4
    32 COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)ftp/$(COMPONENT_ARCHIVE)
    32 COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)ftp/$(COMPONENT_ARCHIVE)
    33 COMPONENT_BUGDB=	utility/lua
    33 COMPONENT_BUGDB=	utility/lua
    34 
    34 
    35 TPNO=			5814
    35 TPNO=			5814
    36 
    36 
    37 include ../../make-rules/prep.mk
    37 include $(WS_MAKE_RULES)/prep.mk
    38 include ../../make-rules/justmake.mk
    38 include $(WS_MAKE_RULES)/justmake.mk
    39 include ../../make-rules/ips.mk
    39 include $(WS_MAKE_RULES)/ips.mk
    40 
    40 
    41 # This is because lua uses $(CC) to build it's shared libraries.
    41 # This is because lua uses $(CC) to build it's shared libraries.
    42 CC +=		$(CC_BITS)
    42 CC +=		$(CC_BITS)
    43 
    43 
    44 CFLAGS +=	$(CC_PIC) $(CPP_LARGEFILES)
    44 CFLAGS +=	$(CC_PIC) $(CPP_LARGEFILES)
    55 	
    55 	
    56 install:	$(INSTALL_32_and_64)
    56 install:	$(INSTALL_32_and_64)
    57 		
    57 		
    58 test: 		$(TEST_32_and_64)
    58 test: 		$(TEST_32_and_64)
    59 		
    59 		
    60 BUILD_PKG_DEPENDENCIES =        $(BUILD_TOOLS)
       
    61 
    60 
    62 include ../../make-rules/depend.mk
       
    63 
    61 
       
    62 REQUIRED_PACKAGES += system/library
       
    63 REQUIRED_PACKAGES += system/library/math