diff options
author | Erlang/OTP <[email protected]> | 2011-11-28 11:52:30 +0100 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2011-11-28 11:52:30 +0100 |
commit | 021d5c2e49e623d4f43c0cc88a097bc99f3564e6 (patch) | |
tree | 964b58e697295c51afd7eeffec45766180f4aa05 /lib/snmp/Makefile | |
parent | 2b05cc74d7f5000f70fc05d5bb964fe38f8d620c (diff) | |
parent | b05fda981594800fbeec61e37a4932e23b9edabb (diff) | |
download | otp-021d5c2e49e623d4f43c0cc88a097bc99f3564e6.tar.gz otp-021d5c2e49e623d4f43c0cc88a097bc99f3564e6.tar.bz2 otp-021d5c2e49e623d4f43c0cc88a097bc99f3564e6.zip |
Merge branch 'bmk/snmp/snmp4213_integration' into maint-r14
* bmk/snmp/snmp4213_integration:
Added make targets for building an snmp dialyzer plt.
[compiler] Fix the --warnings/--W option parsing in the snmpc wrapper script. The short warning option was incorrectly '--w', instead of as documented '--W'. This has now been corrected. Tuncer Ayaz OTP-9718
[compiler] Improved version info printout from the MIB compiler frontend escript. OTP-9618
[agent] When sending an error message (reply) regarding snmpUnknownPDUHandlers, the agent used the wrong OID. OTP-9747
Updated appup file and release notes. OTP-9745
[agent] Version 4.20 introduced a change that broke trap sending from subagents. Due to a bug in the test code, this was not discovered, until that bug was fixed. OTP-9745
Upped the version in prep of patch. OTP-9748
Fixed expect function, which basically ignored detected errors. Also added more printouts to make it easier to follow the flow of the test. In the same spirit, changed the tags in some of the test cases so that it would be possible to distinguish one expect call form another (not always possible since some functions are used by several test cases). OTP-9748
Diffstat (limited to 'lib/snmp/Makefile')
-rw-r--r-- | lib/snmp/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/snmp/Makefile b/lib/snmp/Makefile index 4264531112..ff6fad8ddc 100644 --- a/lib/snmp/Makefile +++ b/lib/snmp/Makefile @@ -54,6 +54,9 @@ else endif +DIA_PLT = ./priv/plt/$(APPLICATION).plt +DIA_ANALYSIS = $(basename $(DIA_PLT)).dialyzer_analysis + # ---------------------------------------------------- # Default Subdir Targets # ---------------------------------------------------- @@ -75,6 +78,11 @@ info: @echo "" @echo "SNMP_VSN: $(SNMP_VSN)" @echo "APP_VSN: $(APP_VSN)" + @echo "" + @echo "DIA_PLT: $(DIA_PLT)" + @echo "DIA_ANALYSIS: $(DIA_ANALYSIS)" + @echo "" + gclean: git clean -fXd @@ -120,3 +128,23 @@ tar: $(APP_TAR_FILE) $(APP_TAR_FILE): $(APP_DIR) (cd $(APP_RELEASE_DIR); gtar zcf $(APP_TAR_FILE) $(DIR_NAME)) + +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
\ No newline at end of file |