diff options
author | Lukas Larsson <[email protected]> | 2019-06-20 16:09:53 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2019-06-26 10:08:19 +0200 |
commit | ce2a4e4409a5b0da5522056c29df27ab0afe95ee (patch) | |
tree | 7ed042e5624f842e23337e8c1c4f7101853ceaac /lib/inets | |
parent | 14944c65bada76cf246f885f7a146c7fd54cb3df (diff) | |
download | otp-ce2a4e4409a5b0da5522056c29df27ab0afe95ee.tar.gz otp-ce2a4e4409a5b0da5522056c29df27ab0afe95ee.tar.bz2 otp-ce2a4e4409a5b0da5522056c29df27ab0afe95ee.zip |
Add 'make dialyzer' target to top and apps
Diffstat (limited to 'lib/inets')
-rw-r--r-- | lib/inets/Makefile | 40 |
1 files changed, 1 insertions, 39 deletions
diff --git a/lib/inets/Makefile b/lib/inets/Makefile index 9a03ee93df..a7723dc0d8 100644 --- a/lib/inets/Makefile +++ b/lib/inets/Makefile @@ -32,49 +32,11 @@ VSN = $(INETS_VSN) SPECIAL_TARGETS = -DIA_PLT = ./priv/plt/$(APPLICATION).plt -DIA_ANALYSIS = $(basename $(DIA_PLT)).dialyzer_analysis - - # ---------------------------------------------------- # Default Subdir Targets # ---------------------------------------------------- include $(ERL_TOP)/make/otp_subdir.mk -.PHONY: info gclean dialyzer dialyzer_plt dclean - -info: - @echo "OS: $(OS)" - @echo "DOCB: $(DOCB)" - @echo "" - @echo "INETS_VSN: $(INETS_VSN)" - @echo "APP_VSN: $(APP_VSN)" - @echo "" - @echo "DIA_PLT: $(DIA_PLT)" - @echo "DIA_ANALYSIS: $(DIA_ANALYSIS)" - @echo "" - -gclean: - git clean -fXd - -dclean: - rm -f $(DIA_PLT) - rm -f $(DIA_ANALYSIS) - -dialyzer_plt: $(DIA_PLT) - -$(DIA_PLT): - @echo "Building $(APPLICATION) plt file" - @dialyzer --build_plt \ - --output_plt $@ \ - -r ../$(APPLICATION)/ebin \ - --output $(DIA_ANALYSIS) \ - --verbose - -dialyzer: $(DIA_PLT) - @echo "Running dialyzer on $(APPLICATION)" - @dialyzer --plt $< \ - ../$(APPLICATION)/ebin \ - --verbose +DIA_PLT_APPS=runtime_tools ftp mnesia ssl tftp include $(ERL_TOP)/make/app_targets.mk |