1 #
2 # Copyright (c) 2004, 2005, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
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
7 # published by the Free Software Foundation. Oracle designates this
8 # particular file as subject to the "Classpath" exception as provided
9 # by Oracle in the LICENSE file that accompanied this code.
10 #
11 # This code is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # version 2 for more details (a copy is included in the LICENSE file that
15 # accompanied this code).
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
30 BUILDDIR = ..
31 PACKAGE = launcher
32 PRODUCT = sun
33 include $(BUILDDIR)/common/Defs.gmk
34
35 # The PROGRAM and MAIN_CLASS must be defined
36 ifndef PROGRAM
37 build: no_program
38 no_program:
39 $(ECHO) "No PROGRAM name defined"
40 exit 1
41 endif
42 ifndef MAIN_CLASS
43 build: no_main
44 no_main:
45 $(ECHO) "No MAIN_CLASS name defined"
46 exit 1
47 endif
48
49 # Some tools need the wildcard expansion option
50 ifeq ($(PROGRAM),apt)
51 WILDCARDS=true
52 NEVER_ACT_AS_SERVER_CLASS_MACHINE=true
53 endif
54 ifeq ($(PROGRAM),javac)
55 WILDCARDS=true
56 MAIN_JAVA_ARGS += -J-Xss4m -J-ea:com.sun.tools...
57 NEVER_ACT_AS_SERVER_CLASS_MACHINE=true
58 endif
59 ifeq ($(PROGRAM),javadoc)
60 WILDCARDS=true
61 NEVER_ACT_AS_SERVER_CLASS_MACHINE=true
62 endif
63 ifeq ($(PROGRAM),javap)
64 WILDCARDS=true
65 NEVER_ACT_AS_SERVER_CLASS_MACHINE=true
66 endif
67 ifeq ($(PROGRAM),javah)
68 WILDCARDS=true
69 NEVER_ACT_AS_SERVER_CLASS_MACHINE=true
70 endif
71 ifeq ($(PROGRAM),serialver)
72 WILDCARDS=true
73 endif
|
1 #
2 # Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
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
7 # published by the Free Software Foundation. Oracle designates this
8 # particular file as subject to the "Classpath" exception as provided
9 # by Oracle in the LICENSE file that accompanied this code.
10 #
11 # This code is distributed in the hope that it will be useful, but WITHOUT
12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 # version 2 for more details (a copy is included in the LICENSE file that
15 # accompanied this code).
16 #
17 # You should have received a copy of the GNU General Public License version
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
30 BUILDDIR = ..
31 PACKAGE = launcher
32 PRODUCT = sun
33 include $(BUILDDIR)/common/Defs.gmk
34
35 # The PROGRAM and MAIN_CLASS must be defined
36 ifndef PROGRAM
37 build: no_program
38 no_program:
39 $(ECHO) "No PROGRAM name defined"
40 exit 1
41 endif
42 ifndef MAIN_CLASS
43 build: no_main
44 no_main:
45 $(ECHO) "No MAIN_CLASS name defined"
46 exit 1
47 endif
48
49 # Some tools need the wildcard expansion option
50 ifeq ($(PROGRAM),javac)
51 WILDCARDS=true
52 MAIN_JAVA_ARGS += -J-Xss4m -J-ea:com.sun.tools...
53 NEVER_ACT_AS_SERVER_CLASS_MACHINE=true
54 endif
55 ifeq ($(PROGRAM),javadoc)
56 WILDCARDS=true
57 NEVER_ACT_AS_SERVER_CLASS_MACHINE=true
58 endif
59 ifeq ($(PROGRAM),javap)
60 WILDCARDS=true
61 NEVER_ACT_AS_SERVER_CLASS_MACHINE=true
62 endif
63 ifeq ($(PROGRAM),javah)
64 WILDCARDS=true
65 NEVER_ACT_AS_SERVER_CLASS_MACHINE=true
66 endif
67 ifeq ($(PROGRAM),serialver)
68 WILDCARDS=true
69 endif
|