author | pmuthuswamy |
Wed, 05 Sep 2018 11:52:15 +0530 | |
changeset 51640 | 58ea9afe0eb8 |
parent 48667 | f2344724a475 |
permissions | -rw-r--r-- |
37861 | 1 |
include Makefile |
2 |
include make/MainSupport.gmk |
|
3 |
||
4 |
.PHONY: idea |
|
5 |
||
6 |
ifeq ($(SPEC),) |
|
7 |
ifneq ($(words $(SPECS)),1) |
|
8 |
@echo "Error: Multiple build specification files found. Please select one explicitly." |
|
9 |
@exit 2 |
|
10 |
endif |
|
11 |
idea: |
|
12 |
@cd $(topdir) |
|
13 |
@$(MAKE) $(MFLAGS) $(MAKE_LOG_FLAGS) -r -R -j 1 -f $(topdir)/make/idea/idea.gmk SPEC=$(SPECS) HAS_SPEC=true ACTUAL_TOPDIR=$(topdir) MODULES="$(MODULES)" idea |
|
14 |
else #with SPEC |
|
15 |
include make/common/Modules.gmk |
|
16 |
||
17 |
ifeq ($(MODULES),) |
|
18 |
SEL_MODULES := $(call FindAllModules) |
|
19 |
else |
|
20 |
SEL_MODULES := $(MODULES) |
|
21 |
endif |
|
22 |
||
23 |
idea: |
|
24 |
$(ECHO) "SUPPORT=$(SUPPORT_OUTPUTDIR)" >> $(OUT) |
|
48667
f2344724a475
8196081: Add support for customized intellij project templates
mcimadamore
parents:
37976
diff
changeset
|
25 |
$(ECHO) "MODULE_ROOTS=\"$(foreach mod, $(SEL_MODULES), $(call FindModuleSrcDirs,$(mod)))\"" >> $(OUT) |
37861 | 26 |
$(ECHO) "MODULE_NAMES=\"$(strip $(foreach mod, $(SEL_MODULES), $(mod)))\"" >> $(OUT) |
27 |
$(ECHO) "SEL_MODULES=\"$(SEL_MODULES)\"" >> $(OUT) |
|
28 |
$(ECHO) "BOOT_JDK=\"$(BOOT_JDK)\"" >> $(OUT) |
|
29 |
$(ECHO) "CYGPATH=\"$(CYGPATH)\"" >> $(OUT) |
|
30 |
$(ECHO) "SPEC=\"$(SPEC)\"" >> $(OUT) |
|
37976
9cc5debe0f47
8157061: Add support for running jtreg tests from IntelliJ project
mcimadamore
parents:
37861
diff
changeset
|
31 |
$(ECHO) "JT_HOME=\"$(JT_HOME)\"" >> $(OUT) |
37861 | 32 |
|
33 |
endif |