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/megaco | |
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/megaco')
-rw-r--r-- | lib/megaco/Makefile | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/lib/megaco/Makefile b/lib/megaco/Makefile index c88327c615..624c4b0619 100644 --- a/lib/megaco/Makefile +++ b/lib/megaco/Makefile @@ -110,7 +110,7 @@ DIA_ANALYSIS = $(basename $(DIA_PLT)).dialyzer_analysis # ---------------------------------------------------- include $(ERL_TOP)/make/otp_subdir.mk -.PHONY: reconf conf dconf econf configure setup info version \ +.PHONY: reconf conf dconf econf configure setup info_megaco version \ app_install dialyzer reconf: @@ -136,16 +136,15 @@ configure: configure.in setup: (cd src && $(MAKE) $@) -info: +info_megaco: @echo "APP_RELEASE_DIR: $(APP_RELEASE_DIR)" @echo "APP_DIR: $(APP_DIR)" @echo "APP_TAR_FILE: $(APP_TAR_FILE)" @echo "OTP_INSTALL_DIR: $(OTP_INSTALL_DIR)" @echo "APP_INSTALL_DIR: $(APP_INSTALL_DIR)" @echo "" - @echo "DIA_PLT: $(DIA_PLT)" - @echo "DIA_ANALYSIS: $(DIA_ANALYSIS)" - @echo "" + +info: info_megaco version: @echo "$(VSN)" @@ -204,20 +203,6 @@ tar: $(APP_TAR_FILE) $(APP_TAR_FILE): $(APP_DIR) (cd "$(APP_RELEASE_DIR)"; gtar zcf "$(subst $(space),\ ,$@)" $(DIR_NAME)) -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=asn1 runtime_tools et debugger include $(ERL_TOP)/make/app_targets.mk |