aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/src/Makefile
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-04-12 15:19:23 +0200
committerBjörn Gustavsson <[email protected]>2017-04-20 15:00:51 +0200
commit030e6ef2efaad12d485cec1727c4b68c09c6c584 (patch)
tree1ddcc232f4ae8ae72c0baf8be93f1e97ada67362 /lib/dialyzer/src/Makefile
parent19e9249d960a5b15b4e222efdcb96efbe122853e (diff)
downloadotp-030e6ef2efaad12d485cec1727c4b68c09c6c584.tar.gz
otp-030e6ef2efaad12d485cec1727c4b68c09c6c584.tar.bz2
otp-030e6ef2efaad12d485cec1727c4b68c09c6c584.zip
Add back TypEr to the main OTP repository
It turned out that the dependencies between Dialyzer and TypEr makes it impractical to have TypEr in a separate repository. Add it back to the OTP repository, but put the Erlang module 'typer' in the dialyzer application.
Diffstat (limited to 'lib/dialyzer/src/Makefile')
-rw-r--r--lib/dialyzer/src/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/dialyzer/src/Makefile b/lib/dialyzer/src/Makefile
index 256f20f549..28f74ed441 100644
--- a/lib/dialyzer/src/Makefile
+++ b/lib/dialyzer/src/Makefile
@@ -68,7 +68,8 @@ MODULES = \
dialyzer_typesig \
dialyzer_coordinator \
dialyzer_worker \
- dialyzer_utils
+ dialyzer_utils \
+ typer
HRL_FILES= dialyzer.hrl dialyzer_gui_wx.hrl
ERL_FILES= $(MODULES:%=%.erl)
@@ -117,6 +118,9 @@ $(EBIN)/dialyzer_plt.$(EMULATOR): dialyzer_plt.erl ../vsn.mk
$(EBIN)/dialyzer_gui_wx.$(EMULATOR): dialyzer_gui_wx.erl ../vsn.mk
$(erlc_verbose)erlc -W $(ERL_COMPILE_FLAGS) -DVSN="\"v$(VSN)\"" -o$(EBIN) dialyzer_gui_wx.erl
+$(EBIN)/typer.$(EMULATOR): typer.erl ../vsn.mk
+ $(erlc_verbose)erlc -W $(ERL_COMPILE_FLAGS) -DVSN="\"v$(VSN)\"" -o$(EBIN) typer.erl
+
$(APP_TARGET): $(APP_SRC) ../vsn.mk
$(vsn_verbose)sed -e 's;%VSN%;$(VSN);' $< > $@