author | bpb |
Thu, 14 Nov 2019 09:06:43 -0800 | |
changeset 59089 | de56632f796d |
parent 55465 | 68ef70c9a921 |
permissions | -rw-r--r-- |
25854 | 1 |
# |
52342 | 2 |
# Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved. |
25854 | 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 |
|
23 |
# questions. |
|
24 |
# |
|
25 |
||
26 |
default: all |
|
27 |
||
28 |
include $(SPEC) |
|
29 |
||
30 |
make-base: |
|
31 |
+$(MAKE) -f TestMakeBase.gmk $(TEST_SUBTARGET) |
|
32 |
||
33 |
java-compilation: |
|
34 |
+$(MAKE) -f TestJavaCompilation.gmk $(TEST_SUBTARGET) |
|
35 |
||
47334
09d386ddaa42
8189095: Import JMC from artifactory using Jib and main makefiles
erikj
parents:
37861
diff
changeset
|
36 |
copy-files: |
09d386ddaa42
8189095: Import JMC from artifactory using Jib and main makefiles
erikj
parents:
37861
diff
changeset
|
37 |
+$(MAKE) -f TestCopyFiles.gmk $(TEST_SUBTARGET) |
09d386ddaa42
8189095: Import JMC from artifactory using Jib and main makefiles
erikj
parents:
37861
diff
changeset
|
38 |
|
52342 | 39 |
idea: |
37861 | 40 |
+$(MAKE) -f TestIdea.gmk $(TEST_SUBTARGET) |
25854 | 41 |
|
52342 | 42 |
compile-commands: |
52022
804792ce736f
8210459: Add support for generating compile_commands.json
rwestberg
parents:
47334
diff
changeset
|
43 |
+$(MAKE) -f TestCompileCommands.gmk $(TEST_SUBTARGET) |
804792ce736f
8210459: Add support for generating compile_commands.json
rwestberg
parents:
47334
diff
changeset
|
44 |
|
52342 | 45 |
TARGETS += make-base java-compilation copy-files idea compile-commands |
25854 | 46 |
|
52342 | 47 |
all: $(TARGETS) |
37861 | 48 |
|
55465
68ef70c9a921
8226538: find-files.gmk gets corrupted if tab completion is used before running make first
erikj
parents:
52342
diff
changeset
|
49 |
# Prints targets to TARGETS_FILE which must be set when calling this target. |
52342 | 50 |
print-targets: |
55465
68ef70c9a921
8226538: find-files.gmk gets corrupted if tab completion is used before running make first
erikj
parents:
52342
diff
changeset
|
51 |
$(ECHO) "$(TARGETS)" >> $(TARGETS_FILE) |
52342 | 52 |
|
53 |
.PHONY: default all $(TARGETS) |