blob: 147dab520e9dbb23493631c0b33cd292f27ed0be (
plain)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
Index: icepick-0.0+hg20080118/Makefile.am
===================================================================
--- icepick-0.0+hg20080118.orig/Makefile.am
+++ icepick-0.0+hg20080118/Makefile.am
@@ -19,55 +19,61 @@ else
JCOMPILER = echo "No compiler found" 1>&2; exit 1
endif
-# All our example java source files
+# Go into $(LANGTOOLS_SRC_DIR)/src/share/classes and set
+# TOOLS_JAVA_FILES to the output of
+# find . -mindepth 2 -type d -and -not -wholename "*resources" -printf \$\(OPENJDK_CLASSES\)/%P/\*.java' \\'\\n
+# (btw: xclip is your friend)
OPENJDK_CLASSES = $(LANGTOOLS_SRC_DIR)/src/share/classes
-TOOLS_JAVA_FILES = $(OPENJDK_CLASSES)/com/sun/tools/apt/Main.java \
- $(OPENJDK_CLASSES)/com/sun/javadoc/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/apt/comp/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/apt/main/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/apt/util/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/apt/mirror/apt/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/apt/mirror/type/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/apt/mirror/util/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/apt/mirror/declaration/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/apt/mirror/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/javac/api/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/javac/jvm/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/javac/sym/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/javac/code/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/javac/comp/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/javac/main/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/javac/tree/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/javac/util/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/javac/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/javac/model/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/javac/parser/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/javac/processing/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/javac/zip/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/javah/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/javadoc/*.java \
- $(OPENJDK_CLASSES)/com/sun/mirror/apt/*.java \
- $(OPENJDK_CLASSES)/com/sun/mirror/type/*.java \
- $(OPENJDK_CLASSES)/com/sun/mirror/util/*.java \
- $(OPENJDK_CLASSES)/com/sun/mirror/declaration/*.java \
- $(OPENJDK_CLASSES)/com/sun/source/tree/*.java \
- $(OPENJDK_CLASSES)/com/sun/source/util/*.java \
- $(OPENJDK_CLASSES)/javax/lang/model/type/*.java \
- $(OPENJDK_CLASSES)/javax/lang/model/util/*.java \
- $(OPENJDK_CLASSES)/javax/lang/model/*.java \
- $(OPENJDK_CLASSES)/javax/lang/model/element/*.java \
- $(OPENJDK_CLASSES)/javax/tools/*.java \
- $(OPENJDK_CLASSES)/javax/annotation/processing/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/doclets/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/doclets/formats/html/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/doclets/formats/html/markup/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/builders/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/taglets/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/util/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/util/links/*.java \
- $(OPENJDK_CLASSES)/com/sun/tools/doclets/standard/*.java \
- $(OPENJDK_CLASSES)/sun/tools/javap/*.java
+TOOLS_JAVA_FILES = \
+ $(OPENJDK_CLASSES)/sun/tools/javap/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/javap/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/javadoc/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/apt/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/apt/comp/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/apt/util/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/apt/main/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/apt/mirror/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/apt/mirror/declaration/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/apt/mirror/apt/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/apt/mirror/util/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/apt/mirror/type/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/javah/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/javac/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/javac/comp/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/javac/file/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/javac/model/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/javac/code/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/javac/tree/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/javac/api/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/javac/util/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/javac/jvm/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/javac/processing/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/javac/parser/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/javac/sym/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/javac/main/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/classfile/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/doclets/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/doclets/standard/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/builders/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/util/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/util/links/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/doclets/internal/toolkit/taglets/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/doclets/formats/html/*.java \
+ $(OPENJDK_CLASSES)/com/sun/tools/doclets/formats/html/markup/*.java \
+ $(OPENJDK_CLASSES)/com/sun/javadoc/*.java \
+ $(OPENJDK_CLASSES)/com/sun/source/tree/*.java \
+ $(OPENJDK_CLASSES)/com/sun/source/util/*.java \
+ $(OPENJDK_CLASSES)/com/sun/mirror/declaration/*.java \
+ $(OPENJDK_CLASSES)/com/sun/mirror/apt/*.java \
+ $(OPENJDK_CLASSES)/com/sun/mirror/util/*.java \
+ $(OPENJDK_CLASSES)/com/sun/mirror/type/*.java \
+ $(OPENJDK_CLASSES)/javax/tools/*.java \
+ $(OPENJDK_CLASSES)/javax/annotation/processing/*.java \
+ $(OPENJDK_CLASSES)/javax/lang/model/*.java \
+ $(OPENJDK_CLASSES)/javax/lang/model/element/*.java \
+ $(OPENJDK_CLASSES)/javax/lang/model/util/*.java \
+ $(OPENJDK_CLASSES)/javax/lang/model/type/*.java
# The zip files with classes we want to produce.
TOOLS_ZIP = tools.jar
|