test/make/TestMake.gmk
author mbaesken
Wed, 10 Apr 2019 08:51:38 +0200
changeset 54485 ddc19ea5059c
parent 52342 9341b077bd55
child 55465 68ef70c9a921
permissions -rw-r--r--
8219241: Provide basic virtualization related info in the hs_error file on linux/windows x86_64 Reviewed-by: dholmes, mdoerr
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
25854
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
     1
#
52342
9341b077bd55 8210958: Rename "make run-test" to "make test"
ihse
parents: 52022
diff changeset
     2
# Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
25854
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
     4
#
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    10
#
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    15
# accompanied this code).
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    16
#
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    20
#
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    23
# questions.
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    24
#
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    25
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    26
default: all
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    27
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    28
include $(SPEC)
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    29
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    30
make-base:
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    31
	+$(MAKE) -f TestMakeBase.gmk $(TEST_SUBTARGET)
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    32
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    33
java-compilation:
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    34
	+$(MAKE) -f TestJavaCompilation.gmk $(TEST_SUBTARGET)
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    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
9341b077bd55 8210958: Rename "make run-test" to "make test"
ihse
parents: 52022
diff changeset
    39
idea:
37861
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents: 25854
diff changeset
    40
	+$(MAKE) -f TestIdea.gmk $(TEST_SUBTARGET)
25854
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    41
52342
9341b077bd55 8210958: Rename "make run-test" to "make test"
ihse
parents: 52022
diff changeset
    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
9341b077bd55 8210958: Rename "make run-test" to "make test"
ihse
parents: 52022
diff changeset
    45
TARGETS += make-base java-compilation copy-files idea compile-commands
25854
98ce0879ab4c 8054834: Modular Source Code
chegar
parents:
diff changeset
    46
52342
9341b077bd55 8210958: Rename "make run-test" to "make test"
ihse
parents: 52022
diff changeset
    47
all: $(TARGETS)
37861
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents: 25854
diff changeset
    48
52342
9341b077bd55 8210958: Rename "make run-test" to "make test"
ihse
parents: 52022
diff changeset
    49
print-targets:
9341b077bd55 8210958: Rename "make run-test" to "make test"
ihse
parents: 52022
diff changeset
    50
	$(ECHO) "$(TARGETS)"
9341b077bd55 8210958: Rename "make run-test" to "make test"
ihse
parents: 52022
diff changeset
    51
9341b077bd55 8210958: Rename "make run-test" to "make test"
ihse
parents: 52022
diff changeset
    52
.PHONY: default all $(TARGETS)