diff options
Diffstat (limited to 'lib/compiler/src/Makefile')
-rw-r--r-- | lib/compiler/src/Makefile | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/lib/compiler/src/Makefile b/lib/compiler/src/Makefile index d801d6baa0..e0625337b5 100644 --- a/lib/compiler/src/Makefile +++ b/lib/compiler/src/Makefile @@ -1,7 +1,7 @@ # # %CopyrightBegin% # -# Copyright Ericsson AB 1996-2022. All Rights Reserved. +# Copyright Ericsson AB 1996-2023. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -60,15 +60,18 @@ MODULES = \ beam_listing \ beam_opcodes \ beam_ssa \ + beam_ssa_alias \ beam_ssa_bc_size \ beam_ssa_bool \ beam_ssa_bsm \ + beam_ssa_check \ beam_ssa_codegen \ beam_ssa_dead \ beam_ssa_lint \ beam_ssa_opt \ beam_ssa_pp \ beam_ssa_pre_codegen \ + beam_ssa_private_append \ beam_ssa_recv \ beam_ssa_share \ beam_ssa_throw \ @@ -154,7 +157,7 @@ docs: clean: rm -f $(TARGET_FILES) - rm -f $(EGEN)/beam_opcodes.erl $(EGEN)/beam_opcodes.hrl + rm -f $(EGEN)/beam_opcodes.erl $(EGEN)/beam_opcodes.hrl $(EGEN)/OPCODES-GENERATED rm -f $(EGEN)/core_parse.erl rm -f core @@ -168,8 +171,10 @@ $(APP_TARGET): $(APP_SRC) ../vsn.mk $(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk $(vsn_verbose)sed -e 's;%VSN%;$(VSN);' $< > $@ -$(EGEN)/beam_opcodes.erl $(EGEN)/beam_opcodes.hrl: genop.tab - $(gen_verbose)$(PERL) $(ERL_TOP)/erts/emulator/utils/beam_makeops -compiler -outdir $(EGEN) $< +$(EGEN)/beam_opcodes.erl $(EGEN)/beam_opcodes.hrl: $(EGEN)/OPCODES-GENERATED + +$(EGEN)/OPCODES-GENERATED: genop.tab + $(gen_verbose)$(PERL) $(ERL_TOP)/erts/emulator/utils/beam_makeops -compiler -outdir $(EGEN) $< && echo $? >$(EGEN)/OPCODES-GENERATED $(EBIN)/beam_asm.beam: $(ESRC)/beam_asm.erl $(EGEN)/beam_opcodes.hrl $(V_ERLC) $(ERL_COMPILE_FLAGS) -DCOMPILER_VSN='"$(VSN)"' -o$(EBIN) $< @@ -199,25 +204,31 @@ release_docs_spec: # Dependencies -- alphabetically, please # ---------------------------------------------------- -$(EBIN)/beam_asm.beam: beam_asm.hrl +$(EBIN)/beam_a.beam: beam_asm.hrl beam_types.hrl +$(EBIN)/beam_asm.beam: beam_asm.hrl $(EGEN)/beam_opcodes.hrl beam_types.hrl $(EBIN)/beam_call_types.beam: beam_types.hrl $(EBIN)/beam_block.beam: beam_asm.hrl -$(EBIN)/beam_disasm.beam: $(EGEN)/beam_opcodes.hrl beam_disasm.hrl beam_asm.hrl +$(EBIN)/beam_dict.beam: beam_types.hrl +$(EBIN)/beam_disasm.beam: $(EGEN)/beam_opcodes.hrl beam_disasm.hrl \ + beam_asm.hrl beam_types.hrl $(EBIN)/beam_jump.beam: beam_asm.hrl $(EBIN)/beam_kernel_to_ssa.beam: v3_kernel.hrl beam_ssa.hrl -$(EBIN)/beam_listing.beam: core_parse.hrl v3_kernel.hrl beam_ssa.hrl beam_asm.hrl +$(EBIN)/beam_listing.beam: core_parse.hrl v3_kernel.hrl beam_ssa.hrl \ + beam_asm.hrl beam_types.hrl $(EBIN)/beam_ssa.beam: beam_ssa.hrl +$(EBIN)/beam_ssa_alias_opt.beam: beam_ssa_opt.hrl beam_types.hrl $(EBIN)/beam_ssa_bsm.beam: beam_ssa.hrl $(EBIN)/beam_ssa_bool.beam: beam_ssa.hrl +$(EBIN)/beam_ssa_check.beam: beam_ssa.hrl beam_types.hrl $(EBIN)/beam_ssa_codegen.beam: beam_ssa.hrl beam_asm.hrl $(EBIN)/beam_ssa_dead.beam: beam_ssa.hrl $(EBIN)/beam_ssa_lint.beam: beam_ssa.hrl $(EBIN)/beam_ssa_opt.beam: beam_ssa.hrl -$(EBIN)/beam_ssa_pp.beam: beam_ssa.hrl +$(EBIN)/beam_ssa_pp.beam: beam_ssa.hrl beam_types.hrl $(EBIN)/beam_ssa_pre_codegen.beam: beam_ssa.hrl beam_asm.hrl $(EBIN)/beam_ssa_recv.beam: beam_ssa.hrl $(EBIN)/beam_ssa_share.beam: beam_ssa.hrl -$(EBIN)/beam_ssa_throw.beam: beam_ssa.hrl +$(EBIN)/beam_ssa_throw.beam: beam_ssa.hrl beam_types.hrl $(EBIN)/beam_ssa_type.beam: beam_ssa.hrl beam_types.hrl $(EBIN)/beam_trim.beam: beam_asm.hrl $(EBIN)/beam_types.beam: beam_types.hrl |