make/deploy-rules.gmk

changeset 731
27c51c6e31c1
parent 330
7e13dbf7e8af
equal deleted inserted replaced
730:f55734874c4f 731:27c51c6e31c1
1 # 1 #
2 # Copyright (c) 2002, 2011, Oracle and/or its affiliates. All rights reserved. 2 # Copyright (c) 2002, 2013, 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
40 else 40 else
41 IMAGES_TARGET = images 41 IMAGES_TARGET = images
42 endif 42 endif
43 43
44 DEPLOY_BUILD_TARGETS = sanity deploy 44 DEPLOY_BUILD_TARGETS = sanity deploy
45 # Only build 7-Zip LZMA file compression if it is available
46 # Enable 7-Zip LZMA file (de)compression for Java Kernel if it is available
47 ifeq ($(ARCH_DATA_MODEL), 32)
48 ifeq ($(PLATFORM), windows)
49 EC_TMP = $(shell if [ -d $(DEPLOY_TOPDIR)/make/lzma ] ; then \
50 $(ECHO) true ; \
51 else \
52 $(ECHO) false ; \
53 fi )
54 ifeq ($(EC_TMP), true)
55 DEPLOY_BUILD_TARGETS += extra-comp-all
56 endif
57 endif
58 endif
59 45
60 ifneq ($(JQS), off) 46 ifneq ($(JQS), off)
61 ifeq ($(ARCH_DATA_MODEL), 32) 47 ifeq ($(ARCH_DATA_MODEL), 32)
62 ifeq ($(PLATFORM), windows) 48 ifeq ($(PLATFORM), windows)
63 DEPLOY_BUILD_TARGETS += jqs-all 49 DEPLOY_BUILD_TARGETS += jqs-all
64 endif 50 endif
65 endif 51 endif
66 endif 52 endif
67
68 ifeq ($(ARCH_DATA_MODEL), 32)
69 ifeq ($(PLATFORM), windows)
70 # Only set up to use UPX compression if it is available
71 UP_TMP = $(shell if [ -d $(DEPLOY_TOPDIR)/make/upx ] ; then \
72 $(ECHO) true ; \
73 else \
74 $(ECHO) false ; \
75 fi )
76 ifeq ($(UP_TMP), true)
77 DEPLOY_BUILD_TARGETS += cmd-comp-all
78 endif
79 endif
80 endif
81
82
83 53
84 ifndef DEV_ONLY 54 ifndef DEV_ONLY
85 DEPLOY_BUILD_TARGETS += images 55 DEPLOY_BUILD_TARGETS += images
86 else 56 else
87 DEPLOY_BUILD_TARGETS += $(IMAGES_TARGET) 57 DEPLOY_BUILD_TARGETS += $(IMAGES_TARGET)

mercurial