components/grails/Makefile
branchs11-update
changeset 2969 f8d4fd8116f7
parent 2434 6c9bb5cf5610
child 3661 47545fb8aed4
equal deleted inserted replaced
2968:3f4acbcf337b 2969:f8d4fd8116f7
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2011, 2014, 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=		grails
    28 COMPONENT_NAME=		grails
    37 
    37 
    38 include ../../make-rules/prep.mk
    38 include ../../make-rules/prep.mk
    39 include ../../make-rules/ant.mk
    39 include ../../make-rules/ant.mk
    40 include ../../make-rules/ips.mk
    40 include ../../make-rules/ips.mk
    41 
    41 
       
    42 # Make sure we use the specially modified versions of grails and grails-debug
       
    43 COMPONENT_POST_UNPACK_ACTION = \
       
    44 	$(CP) $(COMPONENT_DIR)/files/grails $(SOURCE_DIR)/bin; \
       
    45 	$(CP) $(COMPONENT_DIR)/files/grails-debug $(SOURCE_DIR)/bin
       
    46 
    42 COMPONENT_PRE_BUILD_ACTION = $(MKDIR) $(@D)/tmp 
    47 COMPONENT_PRE_BUILD_ACTION = $(MKDIR) $(@D)/tmp 
    43 COMPONENT_BUILD_ENV += "ANT_OPTS=-Djava.io.tmpdir=$(BUILD_DIR_32)/tmp"
    48 COMPONENT_BUILD_ENV += "ANT_OPTS=-Djava.io.tmpdir=$(BUILD_DIR_32)/tmp"
       
    49 
       
    50 # Need to package the .jar files we've built, not the ones included in
       
    51 # the source tarball.
       
    52 PKG_PROTO_DIRS = $(BUILD_DIR_32) $(MANGLED_DIR) $(PROTO_DIR) $(@D) \
       
    53 	$(COMPONENT_DIR) $(COMPONENT_SRC)
       
    54 
       
    55 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    44 
    56 
    45 # common targets
    57 # common targets
    46 build:		$(BUILD_32)
    58 build:		$(BUILD_32)
    47 
    59 
    48 # fix names with spaces
    60 # fix names with spaces