test/make/TestIdea.gmk
author erikj
Fri, 30 Sep 2016 09:06:21 +0200
changeset 41217 c3bdba3a880a
parent 37861 53d85619d7fe
child 47334 09d386ddaa42
permissions -rw-r--r--
8160630: libjimage.so and others should link statically to libgcc Reviewed-by: ihse, tbell
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37861
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
     1
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
     2
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
     4
#
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    10
#
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    15
# accompanied this code).
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    16
#
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    20
#
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    23
# questions.
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    24
#
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    25
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    26
include $(SPEC)
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    27
include MakeBase.gmk
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    28
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    29
default: all
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    30
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    31
IDEA_OUTPUT_DIR := $(TESTMAKE_OUTPUTDIR)/verify-idea
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    32
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    33
clean-idea:
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    34
	$(RM) -r $(IDEA_OUTPUT_DIR)
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    35
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    36
verify-idea:
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    37
	$(MKDIR) -p $(IDEA_OUTPUT_DIR)
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    38
	$(BASH) $(TOPDIR)/common/bin/idea.sh -o $(IDEA_OUTPUT_DIR)/idea1
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    39
	$(BASH) $(TOPDIR)/common/bin/idea.sh -o $(IDEA_OUTPUT_DIR)/idea2 java.base
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    40
	$(BASH) $(TOPDIR)/common/bin/idea.sh -o $(IDEA_OUTPUT_DIR)/idea3 java.base jdk.compiler
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    41
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    42
TEST_TARGETS += verify-idea 
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    43
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    44
all: $(TEST_TARGETS)
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    45
53d85619d7fe 8074716: IntelliJ IDEA project support
chegar
parents:
diff changeset
    46
.PHONY: default all verify-idea