aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-11-23 17:17:37 +0100
committerMicael Karlberg <[email protected]>2011-11-23 17:17:37 +0100
commit549e669d4d8ab5229c1d561c5bdd3301ea1db094 (patch)
treea9b8240fbc95a3005cde90ec5957e13215e8f503 /lib
parentbf5ca7ed7a42152b3fc82a0c824dfa97f32bf7d5 (diff)
parenta42bf8a5f11dcc5e35685951964a293a0e9ee6a4 (diff)
downloadotp-549e669d4d8ab5229c1d561c5bdd3301ea1db094.tar.gz
otp-549e669d4d8ab5229c1d561c5bdd3301ea1db094.tar.bz2
otp-549e669d4d8ab5229c1d561c5bdd3301ea1db094.zip
Merge branch 'bmk/inets/own_dialyzer_plt' into bmk/inets/inets58_integration2
Diffstat (limited to 'lib')
-rw-r--r--lib/inets/Makefile26
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/inets/Makefile b/lib/inets/Makefile
index 1414a89621..fd22c65ddb 100644
--- a/lib/inets/Makefile
+++ b/lib/inets/Makefile
@@ -31,8 +31,8 @@ VSN = $(INETS_VSN)
SPECIAL_TARGETS =
-INETS_DIA_PLT = ./priv/plt/inets.plt
-INETS_DIA_ANALYSIS = $(basename $(INETS_DIA_PLT)).dialyzer_analysis
+DIA_PLT = ./priv/plt/$(APPLICATION).plt
+DIA_ANALYSIS = $(basename $(DIA_PLT)).dialyzer_analysis
# ----------------------------------------------------
@@ -49,29 +49,29 @@ info:
@echo "INETS_VSN: $(INETS_VSN)"
@echo "APP_VSN: $(APP_VSN)"
@echo ""
- @echo "INETS_DIA_PLT: $(INETS_DIA_PLT)"
- @echo "INETS_DIA_ANALYSIS: $(INETS_DIA_ANALYSIS)"
+ @echo "DIA_PLT: $(DIA_PLT)"
+ @echo "DIA_ANALYSIS: $(DIA_ANALYSIS)"
@echo ""
gclean:
git clean -fXd
dclean:
- rm -f $(INETS_DIA_PLT)
- rm -f $(INETS_DIA_ANALYSIS)
+ rm -f $(DIA_PLT)
+ rm -f $(DIA_ANALYSIS)
-dialyzer_plt: $(INETS_DIA_PLT)
+dialyzer_plt: $(DIA_PLT)
$(INETS_DIA_PLT):
- @echo "Building inets plt file"
+ @echo "Building $(APPLICATION) plt file"
@dialyzer --build_plt \
--output_plt $@ \
- -r ../inets/ebin \
- --output $(INETS_DIA_ANALYSIS) \
+ -r ../$(APPLICATION)/ebin \
+ --output $(DIA_ANALYSIS) \
--verbose
-dialyzer: $(INETS_DIA_PLT)
- @echo "Running dialyzer on inets"
+dialyzer: $(DIA_PLT)
+ @echo "Running dialyzer on $(APPLICATION)"
@dialyzer --plt $< \
- ../inets/ebin \
+ ../$(APPLICATION)/ebin \
--verbose