@@ -25,7 +25,7 @@ INSTALL_MANDIR = ${DESTDIR}${datadir}/man/
2525INSTALL_JAVADIR = ${DESTDIR}${datadir}/omc/java
2626INSTALL_LOCALEDIR = ${DESTDIR}${datadir}/locale
2727
28- .PHONY : interactive omc release all mkbuilddirs fmi test install-dirs susan susan_all susgen sustst install-openturns runtimeCPPinstall CMinpack metis Cdaskr boehm-gc libzmq $(MINGW_EXTRA_LIBS)
28+ .PHONY : interactive omc release all mkbuilddirs fmi test install-dirs susan susan_all susgen sustst install-openturns runtimeCPPinstall CMinpack metis Cdaskr boehm-gc libzmq $(MINGW_EXTRA_LIBS) antlr-copy
2929
3030ifeq ($(OMENCRYPTION),yes)
3131.PHONY : semla semla-clean
@@ -72,11 +72,14 @@ mkbuilddirs:
7272
7373release: omc
7474
75- bootstrap-dependencies: graphstream $(BOOTSTRAP_FMIL_DEP) $(MINGW_EXTRA_LIBS) interactive-short libzmq
75+ bootstrap-dependencies: graphstream antlr-copy $(BOOTSTRAP_FMIL_DEP) $(MINGW_EXTRA_LIBS) interactive-short libzmq
7676 $(MAKE) -f $(defaultMakefileTarget) -C Compiler/runtime install_bootstrapping BOOTSTRAPPING=1 OMBUILDDIR=$(OMBUILDDIR)
7777 $(MAKE) -f $(defaultMakefileTarget) -C Compiler builtin OMBUILDDIR=$(OMBUILDDIR)
7878 $(MAKE) -f $(defaultMakefileTarget) -C Parser install_bootstrapping OMBUILDDIR=$(OMBUILDDIR) OMENCRYPTION=$(OMENCRYPTION)
7979
80+ antlr-copy: mkbuilddirs
81+ cp ./3rdParty/antlr/3.2/tool/antlr-3.2.jar ./3rdParty/antlr/3.2/tool/antlr-2.7.7.jar ${builddir_java}/
82+
8083sim-dependencies: fmi $(BOOTSTRAP_FMIL_DEP) opencl_rt lis metis opc
8184
8285install-openturns: mkbuilddirs
@@ -87,12 +90,12 @@ $(builddir_share)/omc/omc_communication.idl: Compiler/runtime/omc_communication.
8790 cp -a "$<" "$@"
8891idl: $(builddir_share)/omc/omc_communication.idl
8992
90- interactive-common: .testvariables mkbuilddirs boehm-gc idl ModelicaExternalC $(MINGW_EXTRA_LIBS)
93+ interactive-common: .testvariables mkbuilddirs boehm-gc idl ModelicaExternalC antlr-copy $(MINGW_EXTRA_LIBS)
9194
9295interactive-short: .testvariables interactive-common
9396 $(MAKE) -C SimulationRuntime/c -f $(defaultMakefileTarget) bootstrap-dependencies OMBUILDDIR=$(OMBUILDDIR)
9497
95- interactive: .testvariables interactive-common fmil lis Cdaskr CMinpack docs libzmq $(SUNDIALS_TARGET) $(IPOPT_TARGET) $(UMFPACK_TARGET) $(MINGW_EXTRA_LIBS)
98+ interactive: .testvariables interactive-common fmil lis Cdaskr CMinpack docs libzmq $(SUNDIALS_TARGET) $(IPOPT_TARGET) $(UMFPACK_TARGET) antlr-copy $(MINGW_EXTRA_LIBS)
9699 $(MAKE) -C SimulationRuntime/c -f $(defaultMakefileTarget) OMBUILDDIR=$(OMBUILDDIR)
97100
98101opc: .testvariables mkbuilddirs boehm-gc
@@ -199,7 +202,7 @@ all-runtimeCPPinstall: mkbuilddirs CMinpack sundials
199202omc-and-runtimeCPPinstall: mkbuilddirs CMinpack sundials
200203 $(MAKE) omc runtimeCPPinstall OMBUILDDIR=$(OMBUILDDIR)
201204
202- runtimeCPP: CMinpack sundials $(MINGW_EXTRA_LIBS)
205+ runtimeCPP: CMinpack sundials antlr-copy $(MINGW_EXTRA_LIBS)
203206 $(MAKE) -C SimulationRuntime/cpp/ -f $(defaultMakefileTarget) OMBUILDDIR=$(OMBUILDDIR)
204207
205208CMAKE_ARGS=$(filter CMAKE_%, $(MAKEFLAGS))
0 commit comments