aboutsummaryrefslogtreecommitdiffstats
path: root/java/jdk15/files/patch-deploy::Makefile
blob: a34bfa0c9d71b404dc3b574c0a70ab11488700b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
$FreeBSD$

--- ../../deploy/make/Makefile.orig Tue Jan 27 18:54:56 2004
+++ ../../deploy/make/Makefile  Tue Jan 27 18:58:08 2004
@@ -24,17 +24,29 @@
 DEPLOY_TOPDIR=..
 include $(BUILDDIR)/common/Defs.gmk
 
+ifdef NO_PLUGIN
+BUILD_PLUGIN=  false
+else
+BUILD_PLUGIN=  true
+endif
+
+ifdef NO_JAVAWS
+BUILD_JAVAWS=  false
+else
+BUILD_JAVAWS=  true
+endif
+
 all:: 
    @$(ECHO) "$(PLATFORM) $(ARCH) $(RELEASE) deploy build started: $(shell $(DATE) '+%y-%m-%d %H:%M')"
 
-BUILD_PLUGIN = true
-
 #
 # Core.
 #
 JAVAWS_SUBDIR = javaws
 PLUGIN_SUBDIR = plugin
+ifeq ($(BUILD_JAVAWS), true)
 SUBDIRS = $(JAVAWS_SUBDIR)
+endif
 ifeq ($(BUILD_PLUGIN), true)
 SUBDIR += $(PLUGIN_SUBDIR)
 endif
@@ -47,7 +59,9 @@
    done
 
 javaws-all: sanity-javaws
+   ifeq ($(BUILD_JAVAWS), true)
    $(CD) $(BUILDDIR)/javaws ; $(MAKE) installer-int dev-all doc aubundle
+   endif
 
 plugin-all: sanity-plugin
    ifeq ($(BUILD_PLUGIN), true)