comparison make/jprt.gmk @ 6432:178a30fcfb43

Merge
author coffeys
date Tue, 02 Jul 2013 11:18:56 +0100
parents a06412e13bf7
children
comparison
equal deleted inserted replaced
3:8e1315b95f98 4:c14a0126ea12
1 # 1 #
2 # Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. 2 # Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 # 4 #
5 # This code is free software; you can redistribute it and/or modify it 5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as 6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation. Oracle designates this 7 # published by the Free Software Foundation. Oracle designates this
25 25
26 # JPRT rule to build this workspace 26 # JPRT rule to build this workspace
27 27
28 JPRT_ARCHIVE_BUNDLE=$(ABS_OUTPUTDIR)/$(JPRT_BUILD_FLAVOR)-bundle.zip 28 JPRT_ARCHIVE_BUNDLE=$(ABS_OUTPUTDIR)/$(JPRT_BUILD_FLAVOR)-bundle.zip
29 29
30 ifeq ($(PLATFORM),windows)
31 ZIPFLAGS=-q
32 else
33 # store symbolic links as the link
34 ZIPFLAGS=-q -y
35 endif
36
30 jprt_build_product: all images 37 jprt_build_product: all images
31 ( $(CD) $(OUTPUTDIR)/j2sdk-image && \ 38 ( $(CD) $(OUTPUTDIR)/j2sdk-image && \
32 $(ZIPEXE) -q -r $(JPRT_ARCHIVE_BUNDLE) . ) 39 $(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . )
33 40
34 jprt_build_fastdebug: fastdebug images 41 jprt_build_fastdebug: fastdebug images
35 ( $(CD) $(OUTPUTDIR)/j2sdk-image && \ 42 ( $(CD) $(OUTPUTDIR)/j2sdk-image && \
36 $(ZIPEXE) -q -r $(JPRT_ARCHIVE_BUNDLE) . ) 43 $(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . )
37 44
38 jprt_build_debug: debug images 45 jprt_build_debug: debug images
39 ( $(CD) $(OUTPUTDIR)/j2sdk-image && \ 46 ( $(CD) $(OUTPUTDIR)/j2sdk-image && \
40 $(ZIPEXE) -q -r $(JPRT_ARCHIVE_BUNDLE) . ) 47 $(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . )
41 48
42 # 49 #
43 # Phonies to avoid accidents. 50 # Phonies to avoid accidents.
44 # 51 #
45 .PHONY: jprt_build_product jprt_build_fastdebug jprt_build_debug 52 .PHONY: jprt_build_product jprt_build_fastdebug jprt_build_debug