components/grails/Makefile
changeset 4355 918f15f3f728
parent 4339 6501cf9c29f9
child 4746 8e237ffd0a48
equal deleted inserted replaced
4351:c3f50d5f75d2 4355:918f15f3f728
    37 
    37 
    38 TPNO=			8709
    38 TPNO=			8709
    39 
    39 
    40 include $(WS_MAKE_RULES)/prep.mk
    40 include $(WS_MAKE_RULES)/prep.mk
    41 include $(WS_MAKE_RULES)/ant.mk
    41 include $(WS_MAKE_RULES)/ant.mk
       
    42 
       
    43 # Need to package the .jar files we've built, not the ones included in
       
    44 # the source tarball.  So we need $(BUILD_DIR_32) added to $(PKG_PROTO_DIRS)
       
    45 # but it has to come at the beginning not the end, so we set it before we
       
    46 # include ips.mk.
       
    47 
       
    48 PKG_PROTO_DIRS = $(BUILD_DIR_32)
       
    49 
    42 include $(WS_MAKE_RULES)/ips.mk
    50 include $(WS_MAKE_RULES)/ips.mk
    43 
    51 
    44 # Make sure we use the specially modified versions of grails and grails-debug
    52 # Make sure we use the specially modified versions of grails and grails-debug
    45 COMPONENT_POST_UNPACK_ACTION = \
    53 COMPONENT_POST_UNPACK_ACTION = \
    46 	$(CP) $(COMPONENT_DIR)/files/grails $(SOURCE_DIR)/bin; \
    54 	$(CP) $(COMPONENT_DIR)/files/grails $(SOURCE_DIR)/bin; \
    47 	$(CP) $(COMPONENT_DIR)/files/grails-debug $(SOURCE_DIR)/bin
    55 	$(CP) $(COMPONENT_DIR)/files/grails-debug $(SOURCE_DIR)/bin
    48 
    56 
    49 COMPONENT_PRE_BUILD_ACTION = $(MKDIR) $(@D)/tmp 
    57 COMPONENT_PRE_BUILD_ACTION = $(MKDIR) $(@D)/tmp 
    50 COMPONENT_BUILD_ENV += "ANT_OPTS=-Djava.io.tmpdir=$(BUILD_DIR_32)/tmp"
    58 COMPONENT_BUILD_ENV += "ANT_OPTS=-Djava.io.tmpdir=$(BUILD_DIR_32)/tmp"
    51 
       
    52 # Need to package the .jar files we've built, not the ones included in
       
    53 # the source tarball.
       
    54 PKG_PROTO_DIRS = $(BUILD_DIR_32) $(MANGLED_DIR) $(PROTO_DIR) $(@D) \
       
    55 	$(COMPONENT_DIR) $(COMPONENT_SRC)
       
    56 
    59 
    57 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    60 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    58 
    61 
    59 # common targets
    62 # common targets
    60 build:		$(BUILD_32)
    63 build:		$(BUILD_32)
    75 
    78 
    76 test:		$(NO_TESTS)
    79 test:		$(NO_TESTS)
    77 
    80 
    78 system-test:    $(NO_TESTS)
    81 system-test:    $(NO_TESTS)
    79 
    82 
    80 
       
    81 REQUIRED_PACKAGES += runtime/perl-512
    83 REQUIRED_PACKAGES += runtime/perl-512
    82 REQUIRED_PACKAGES += runtime/perl-516
    84 REQUIRED_PACKAGES += runtime/perl-516
    83 REQUIRED_PACKAGES += runtime/python-27
    85 REQUIRED_PACKAGES += runtime/python-27
    84 REQUIRED_PACKAGES += shell/bash
    86 REQUIRED_PACKAGES += shell/bash
    85 REQUIRED_PACKAGES += shell/ksh93
    87 REQUIRED_PACKAGES += shell/ksh93