source: branches/dev-5819/Makefile.in @ 13800

Last change on this file since 13800 was 13800, checked in by randersson, 7 weeks ago

#5819 Merged trunk into branch

File size: 70.6 KB
Line 
1# Makefile.in generated by automake 1.11.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
6# Inc.
7# This Makefile.in is free software; the Free Software Foundation
8# gives unlimited permission to copy and/or distribute it,
9# with or without modifications, as long as this notice is preserved.
10
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14# PARTICULAR PURPOSE.
15
16@SET_MAKE@
17
18#
19#    Copyright (C) 2009 Modelon AB
20#
21#    This program is free software: you can redistribute it and/or modify
22#    it under the terms of the Common Public License as published by
23#    IBM, version 1.0 of the License.
24#
25#    This program is distributed in the hope that it will be useful,
26#    but WITHOUT ANY WARRANTY. See the Common Public License for more details.
27#
28#    You should have received a copy of the Common Public License
29#    along with this program.  If not, see
30#     <http://www.ibm.com/developerworks/library/os-cpl.html/>.
31
32#
33#    Copyright (C) 2009 Modelon AB
34#
35#    This program is free software: you can redistribute it and/or modify
36#    it under the terms of the Common Public License as published by
37#    IBM, version 1.0 of the License.
38#
39#    This program is distributed in the hope that it will be useful,
40#    but WITHOUT ANY WARRANTY. See the Common Public License for more details.
41#
42#    You should have received a copy of the Common Public License
43#    along with this program.  If not, see
44#     <http://www.ibm.com/developerworks/library/os-cpl.html/>.
45VPATH = @srcdir@
46pkgdatadir = $(datadir)/@PACKAGE@
47pkgincludedir = $(includedir)/@PACKAGE@
48pkglibdir = $(libdir)/@PACKAGE@
49pkglibexecdir = $(libexecdir)/@PACKAGE@
50am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
51install_sh_DATA = $(install_sh) -c -m 644
52install_sh_PROGRAM = $(install_sh) -c
53install_sh_SCRIPT = $(install_sh) -c
54INSTALL_HEADER = $(INSTALL_DATA)
55transform = $(program_transform_name)
56NORMAL_INSTALL = :
57PRE_INSTALL = :
58POST_INSTALL = :
59NORMAL_UNINSTALL = :
60PRE_UNINSTALL = :
61POST_UNINSTALL = :
62build_triplet = @build@
63host_triplet = @host@
64@PYTHON_ENABLED_TRUE@am__append_1 = Python
65DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
66        $(srcdir)/Makefile.in $(srcdir)/MakefileCasadi.am \
67        $(srcdir)/config.h.in $(srcdir)/jm_tests.in \
68        $(top_srcdir)/Python/src/required_defaults.py.in \
69        $(top_srcdir)/configure INSTALL config.guess config.sub \
70        depcomp install-sh ltmain.sh missing
71subdir = .
72ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
73am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
74        $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
75        $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
76        $(top_srcdir)/configure.ac
77am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
78        $(ACLOCAL_M4)
79am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
80 configure.lineno config.status.lineno
81mkinstalldirs = $(install_sh) -d
82CONFIG_HEADER = config.h
83CONFIG_CLEAN_FILES = jm_tests Python/src/required_defaults.py
84CONFIG_CLEAN_VPATH_FILES =
85SOURCES =
86DIST_SOURCES =
87RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
88        html-recursive info-recursive install-data-recursive \
89        install-dvi-recursive install-exec-recursive \
90        install-html-recursive install-info-recursive \
91        install-pdf-recursive install-ps-recursive install-recursive \
92        installcheck-recursive installdirs-recursive pdf-recursive \
93        ps-recursive uninstall-recursive
94RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
95  distclean-recursive maintainer-clean-recursive
96AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
97        $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
98        distdir dist dist-all distcheck
99ETAGS = etags
100CTAGS = ctags
101DIST_SUBDIRS = ThirdParty/winpthreads ThirdParty/SuperLU \
102        ThirdParty/Sundials ThirdParty/Minpack ThirdParty/Blas \
103        ThirdParty/Lapack ThirdParty/MSL external/FMILibrary \
104        RuntimeLibrary Python
105DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
106distdir = $(PACKAGE)-$(VERSION)
107top_distdir = $(distdir)
108am__remove_distdir = \
109  { test ! -d "$(distdir)" \
110    || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
111         && rm -fr "$(distdir)"; }; }
112am__relativize = \
113  dir0=`pwd`; \
114  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
115  sed_rest='s,^[^/]*/*,,'; \
116  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
117  sed_butlast='s,/*[^/]*$$,,'; \
118  while test -n "$$dir1"; do \
119    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
120    if test "$$first" != "."; then \
121      if test "$$first" = ".."; then \
122        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
123        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
124      else \
125        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
126        if test "$$first2" = "$$first"; then \
127          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
128        else \
129          dir2="../$$dir2"; \
130        fi; \
131        dir0="$$dir0"/"$$first"; \
132      fi; \
133    fi; \
134    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
135  done; \
136  reldir="$$dir2"
137DIST_ARCHIVES = $(distdir).tar.gz
138GZIP_ENV = --best
139distuninstallcheck_listfiles = find . -type f -print
140distcleancheck_listfiles = find . -type f -print
141ACLOCAL = @ACLOCAL@
142AMTAR = @AMTAR@
143ANT = @ANT@
144ANT_OPTS = @ANT_OPTS@
145AR = @AR@
146AS = @AS@
147AUTOCONF = @AUTOCONF@
148AUTOHEADER = @AUTOHEADER@
149AUTOMAKE = @AUTOMAKE@
150AWK = @AWK@
151CASADI_HOME = $(abs_top_srcdir)/ThirdParty/CasADi/CasADi
152CC = @CC@
153CCDEPMODE = @CCDEPMODE@
154CFLAGS = @CFLAGS@
155CMAKE_PYTHON64_INCLUDE = @CMAKE_PYTHON64_INCLUDE@
156CMAKE_PYTHON64_LIB = @CMAKE_PYTHON64_LIB@
157CMAKE_PYTHON_INCLUDE = @CMAKE_PYTHON_INCLUDE@
158CMAKE_PYTHON_LIB = @CMAKE_PYTHON_LIB@
159CP = @CP@
160CPP = @CPP@
161CPPFLAGS = @CPPFLAGS@
162CURR_DIR = @CURR_DIR@
163CXX = @CXX@
164CXXCPP = @CXXCPP@
165CXXDEPMODE = @CXXDEPMODE@
166CXXFLAGS = @CXXFLAGS@
167CYGPATH_W = @CYGPATH_W@
168DEFS = @DEFS@
169DEPDIR = @DEPDIR@
170DLLTOOL = @DLLTOOL@
171DSYMUTIL = @DSYMUTIL@
172DUMPBIN = @DUMPBIN@
173ECHO_C = @ECHO_C@
174ECHO_N = @ECHO_N@
175ECHO_T = @ECHO_T@
176EGREP = @EGREP@
177EXEEXT = @EXEEXT@
178F77 = @F77@
179FFLAGS = @FFLAGS@
180FGREP = @FGREP@
181GREP = @GREP@
182INSTALL = @INSTALL@
183INSTALL_DATA = @INSTALL_DATA@
184INSTALL_PROGRAM = @INSTALL_PROGRAM@
185INSTALL_SCRIPT = @INSTALL_SCRIPT@
186INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
187IPOPT64_HOME = @IPOPT64_HOME@
188IPOPT64_INC = @IPOPT64_INC@
189IPOPT64_LIB = @IPOPT64_LIB@
190IPOPT_HOME = @IPOPT_HOME@
191IPOPT_INC = @IPOPT_INC@
192IPOPT_LIB = @IPOPT_LIB@
193JVMDLL64_HOME = @JVMDLL64_HOME@
194JVMDLL_HOME = @JVMDLL_HOME@
195LD = @LD@
196LDFLAGS = @LDFLAGS@
197LIBOBJS = @LIBOBJS@
198LIBS = @LIBS@
199LIBTOOL = @LIBTOOL@
200LIPO = @LIPO@
201LN_S = @LN_S@
202LTLIBOBJS = @LTLIBOBJS@
203MAKEINFO = @MAKEINFO@
204MANIFEST_TOOL = @MANIFEST_TOOL@
205MINGW_HOME = @MINGW_HOME@
206MINPACK_HOME = @MINPACK_HOME@
207MKDIR_P = @MKDIR_P@
208NM = @NM@
209NMEDIT = @NMEDIT@
210OBJDUMP = @OBJDUMP@
211OBJEXT = @OBJEXT@
212OPENMP_CFLAGS = @OPENMP_CFLAGS@
213ORIG_PATH = @ORIG_PATH@
214ORIG_PYTHON_HOME = @ORIG_PYTHON_HOME@
215OTOOL = @OTOOL@
216OTOOL64 = @OTOOL64@
217PACKAGE = @PACKAGE@
218PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
219PACKAGE_NAME = @PACKAGE_NAME@
220PACKAGE_STRING = @PACKAGE_STRING@
221PACKAGE_TARNAME = @PACKAGE_TARNAME@
222PACKAGE_URL = @PACKAGE_URL@
223PACKAGE_VERSION = @PACKAGE_VERSION@
224PATH_SEPARATOR = @PATH_SEPARATOR@
225PYTHON64_HOME = @PYTHON64_HOME@
226PYTHON_HOME = @PYTHON_HOME@
227RANLIB = @RANLIB@
228REQUIRE_BEAVER_PATH = @REQUIRE_BEAVER_PATH@
229REQUIRE_COMPILER_JARS = @REQUIRE_COMPILER_JARS@
230REQUIRE_IPOPT_HOME = @REQUIRE_IPOPT_HOME@
231REQUIRE_JPYPE_JVM = @REQUIRE_JPYPE_JVM@
232REQUIRE_JVM_ARGS = @REQUIRE_JVM_ARGS@
233REQUIRE_MINGW_HOME = @REQUIRE_MINGW_HOME@
234REQUIRE_MODELICAPATH = @REQUIRE_MODELICAPATH@
235REQUIRE_OPTIMICA_COMPILER = @REQUIRE_OPTIMICA_COMPILER@
236REQUIRE_SUNDIALS_HOME = @REQUIRE_SUNDIALS_HOME@
237SED = @SED@
238SEP = @SEP@
239SET_MAKE = @SET_MAKE@
240SHAREDEXT = @SHAREDEXT@
241SHARED_LDFLAGS = @SHARED_LDFLAGS@
242SHELL = @SHELL@
243STRIP = @STRIP@
244SUNDIALS_HOME = @SUNDIALS_HOME@
245VERSION = @VERSION@
246WITH_CASADI = @WITH_CASADI@
247_JAVA_HOME_ = @_JAVA_HOME_@
248abs_builddir = @abs_builddir@
249abs_srcdir = @abs_srcdir@
250abs_top_builddir = @abs_top_builddir@
251abs_top_srcdir = @abs_top_srcdir@
252ac_ct_AR = @ac_ct_AR@
253ac_ct_CC = @ac_ct_CC@
254ac_ct_CXX = @ac_ct_CXX@
255ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
256ac_ct_F77 = @ac_ct_F77@
257am__include = @am__include@
258am__leading_dot = @am__leading_dot@
259am__quote = @am__quote@
260am__tar = @am__tar@
261am__untar = @am__untar@
262bindir = @bindir@
263build = @build@
264build_alias = @build_alias@
265build_cpu = @build_cpu@
266build_os = @build_os@
267build_vendor = @build_vendor@
268builddir = @builddir@
269datadir = @datadir@
270datarootdir = @datarootdir@
271docdir = @docdir@
272dvidir = @dvidir@
273exec_prefix = @exec_prefix@
274host = @host@
275host_alias = @host_alias@
276host_cpu = @host_cpu@
277host_os = @host_os@
278host_vendor = @host_vendor@
279htmldir = @htmldir@
280includedir = @includedir@
281infodir = @infodir@
282install_sh = @install_sh@
283libdir = @libdir@
284libexecdir = @libexecdir@
285localedir = @localedir@
286localstatedir = @localstatedir@
287mandir = @mandir@
288mkdir_p = @mkdir_p@
289oldincludedir = @oldincludedir@
290pdfdir = @pdfdir@
291prefix = @prefix@
292program_transform_name = @program_transform_name@
293psdir = @psdir@
294sbindir = @sbindir@
295sharedstatedir = @sharedstatedir@
296srcdir = @srcdir@
297sysconfdir = @sysconfdir@
298target_alias = @target_alias@
299top_build_prefix = @top_build_prefix@
300top_builddir = @top_builddir@
301top_srcdir = @top_srcdir@
302AUTOMAKE_OPTIONS = foreign
303ACLOCAL_AMFLAGS = -I m4
304SUBDIRS = ThirdParty/winpthreads ThirdParty/SuperLU \
305        ThirdParty/Sundials ThirdParty/Minpack ThirdParty/Blas \
306        ThirdParty/Lapack ThirdParty/MSL external/FMILibrary \
307        RuntimeLibrary $(am__append_1)
308assimulo_install_dir = $(abs_builddir)/Assimulo_install
309pymodelica_install_dir = $(abs_builddir)/pymodelica_install
310pyfmi_install_dir = $(abs_builddir)/PyFMI_install
311pyjmi_install_dir = $(abs_builddir)/PyJMI_install
312assimulo_install_dir64 = $(abs_builddir)/Assimulo_install64
313pymodelica_install_dir64 = $(abs_builddir)/pymodelica_install64
314pyfmi_install_dir64 = $(abs_builddir)/PyFMI_install64
315pyjmi_install_dir64 = $(abs_builddir)/PyJMI_install64
316assimulo_build_dir = $(abs_builddir)/Assimulo_build
317pymodelica_build_dir = $(abs_builddir)/pymodelica_build
318pyfmi_build_dir = $(abs_builddir)/PyFMI_build
319pyjmi_build_dir = $(abs_builddir)/PyJMI_build
320assimulo_build_dir64 = $(abs_builddir)/Assimulo_build64
321pymodelica_build_dir64 = $(abs_builddir)/pymodelica_build64
322pyfmi_build_dir64 = $(abs_builddir)/PyFMI_build64
323pyjmi_build_dir64 = $(abs_builddir)/PyJMI_build64
324assimulo_src_dir = $(abs_top_srcdir)/external/Assimulo
325bindistdir = JModelica.org-$(VERSION)-bin
326MC_INTERFACE = $(abs_top_srcdir)/ModelicaCasADiInterface
327MC_SRC = $(JAVA_CASADI_BASE_DIR)/ModelicaCompilerCasADi
328OC_SRC = $(JAVA_CASADI_BASE_DIR)/OptimicaCompilerCasADi
329MC_SRC_SWIG = $(abs_top_srcdir)/Compiler/ModelicaCompilerCasADi/src/swig
330MC_CASADI_BUILD = $(abs_builddir)/ModelicaCompilerCasADi
331OC_CASADI_BUILD = $(abs_builddir)/OptimicaCompilerCasADi
332
333# The modelica casadi interface is built into a build folder
334MC_BUILD = $(abs_builddir)/ModelicaCasADiInterfaceBuild
335MC_BUILD64 = $(abs_builddir)/ModelicaCasADiInterfaceBuild64
336# Jars from the modified modelica and optimica compilers are put into the JModelica folder
337MC_COMPILERS_DIR = $(MC_BUILD)/JModelica.org
338MC_LIB = $(DESTDIR)$(prefix)/lib/casadi_interface
339MC_LIB64 = $(DESTDIR)$(prefix)/lib/casadi_interface64
340CASADI_BUILD_DIR = $(abs_builddir)/casadi_build
341CASADI_BUILD_DIR64 = $(abs_builddir)/casadi_build64
342SWIGCHECK_BUILD_DIR = $(abs_builddir)/swig_check
343SWIGCHECK_BUILD_DIR64 = $(abs_builddir)/swig_check64
344CASADI_PYTHON_INST_DIR = $(abs_builddir)/casadi_install
345CASADI_INST_DIR = $(prefix)/ThirdParty/CasADi
346CASADI_PLUGIN_INST_DIR = $(CASADI_INST_DIR)/lib
347CASADI_PYTHON_INST_DIR64 = $(abs_builddir)/casadi_install64
348CASADI_INST_DIR64 = $(prefix)/ThirdParty/CasADi64
349CASADI_PLUGIN_INST_DIR64 = $(CASADI_INST_DIR64)/lib
350CMAKE_CASADI_CXX_FLAG = -m32
351CMAKE_CASADI_COMPILER_ARGS = -m32 -mincoming-stack-boundary=2
352CMAKE_CASADI_CXX_FLAG64 = -m64
353CMAKE_CASADI_COMPILER_ARGS64 = -m64 -fpermissive
354@BUILD_WITH_PYTHON32_FALSE@BUILD_WITH_PYTHON32_ARG =
355@BUILD_WITH_PYTHON32_TRUE@BUILD_WITH_PYTHON32_ARG = --force-32bit="true" --extra-c-flags="-mincoming-stack-boundary=2"
356@BUILD_WITH_PYTHON32_FALSE@DEP_SUFFIX = 64
357@BUILD_WITH_PYTHON32_TRUE@DEP_SUFFIX =
358@BUILD_WITH_PYTHON32_FALSE@TMP_CASADI_BUILD_DIR = $(CASADI_BUILD_DIR64)
359@BUILD_WITH_PYTHON32_TRUE@TMP_CASADI_BUILD_DIR = $(CASADI_BUILD_DIR)
360@BUILD_WITH_PYTHON32_FALSE@TMP_SWIGCHECK_BUILD_DIR = $(SWIGCHECK_BUILD_DIR64)
361@BUILD_WITH_PYTHON32_TRUE@TMP_SWIGCHECK_BUILD_DIR = $(SWIGCHECK_BUILD_DIR)
362@BUILD_WITH_PYTHON32_FALSE@TMP_CMAKE_CASADI_CXX_FLAG = $(CMAKE_CASADI_CXX_FLAG64)
363@BUILD_WITH_PYTHON32_TRUE@TMP_CMAKE_CASADI_CXX_FLAG = $(CMAKE_CASADI_CXX_FLAG)
364@BUILD_WITH_PYTHON32_FALSE@TMP_CMAKE_CASADI_COMPILER_ARGS = $(CMAKE_CASADI_COMPILER_ARGS64)
365@BUILD_WITH_PYTHON32_TRUE@TMP_CMAKE_CASADI_COMPILER_ARGS = $(CMAKE_CASADI_COMPILER_ARGS)
366
367# note we set directories to those without 64bit suffix
368@BUILD_WITH_PYTHON32_FALSE@TMP_CASADI_INST_DIR = $(CASADI_INST_DIR)
369@BUILD_WITH_PYTHON32_TRUE@TMP_CASADI_INST_DIR = $(CASADI_INST_DIR)
370@BUILD_WITH_PYTHON32_FALSE@TMP_CASADI_PLUGIN_INST_DIR = $(CASADI_PLUGIN_INST_DIR)
371@BUILD_WITH_PYTHON32_TRUE@TMP_CASADI_PLUGIN_INST_DIR = $(CASADI_PLUGIN_INST_DIR)
372@BUILD_WITH_PYTHON32_FALSE@TMP_CASADI_PYTHON_INST_DIR = $(CASADI_PYTHON_INST_DIR)
373@BUILD_WITH_PYTHON32_TRUE@TMP_CASADI_PYTHON_INST_DIR = $(CASADI_PYTHON_INST_DIR)
374@BUILD_WITH_PYTHON32_FALSE@TMP_MC_LIB = $(MC_LIB64)
375@BUILD_WITH_PYTHON32_TRUE@TMP_MC_LIB = $(MC_LIB)
376@BUILD_WITH_PYTHON32_FALSE@TMP_MC_BUILD = $(MC_BUILD64)
377@BUILD_WITH_PYTHON32_TRUE@TMP_MC_BUILD = $(MC_BUILD)
378
379#CMAKE_PYTHON_INCLUDE=$(CMAKE_PYTHON64_INCLUDE)
380#CMAKE_PYTHON_LIB=$(CMAKE_PYTHON_LIB64)
381@BUILD_WITH_PYTHON32_FALSE@TMP_CMAKE_CASADI_ARGS = $(CMAKE_CASADI_ARGS64)
382@BUILD_WITH_PYTHON32_TRUE@TMP_CMAKE_CASADI_ARGS = $(CMAKE_CASADI_ARGS)
383@NUMPY_NO_MSVCR_FALSE@NUMPY_NO_MSVCR_ARG =
384@NUMPY_NO_MSVCR_TRUE@NUMPY_NO_MSVCR_ARG = --no-msvcr="true"
385
386# Hooks for extra build or install actions. Must be empty or the path of a shell script to execute.
387# Both scripts will get the source directory as the first argument and the install directory as the second.
388BUILD_EXTRA =
389INSTALL_EXTRA =
390INSTALL_EXTRA_CASADI =
391
392# Paths for Java build
393JAVA_BUILD_DIR = $(abs_builddir)/java
394COMPILER_DIR = $(abs_top_srcdir)/Compiler
395JAVA_MC_ANT_FILE = $(COMPILER_DIR)/ModelicaCompiler/build.xml
396JAVA_OC_ANT_FILE = $(COMPILER_DIR)/OptimicaCompiler/build.xml
397JAVA_CASADI_BASE_DIR = $(COMPILER_DIR)
398JAVA_CASADI_BUILD_DIR = $(abs_builddir)
399JAVA_MC_CASADI_ANT_FILE = $(COMPILER_DIR)/ModelicaCompilerCasADi/build.xml
400JAVA_OC_CASADI_ANT_FILE = $(COMPILER_DIR)/OptimicaCompilerCasADi/build.xml
401ant_output_jars = \
402        $(JAVA_BUILD_DIR)/bin/ModelicaCompiler.jar \
403        $(JAVA_BUILD_DIR)/bin/util.jar \
404        $(JAVA_BUILD_DIR)/bin/OptimicaCompiler.jar \
405        $(JAVA_BUILD_DIR)/bin/separateProcess.jar
406
407ant_output_options = $(JAVA_BUILD_DIR)/src/build/DefaultOptions.xml
408BEAVER_INSTALL_DIR = $(DESTDIR)$(prefix)/ThirdParty/Beaver
409BEAVER_SOURCE = $(abs_top_srcdir)/Compiler/ModelicaFrontEnd/ThirdParty/Beaver
410all: config.h
411        $(MAKE) $(AM_MAKEFLAGS) all-recursive
412
413.SUFFIXES:
414am--refresh:
415        @:
416$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(srcdir)/MakefileCasadi.am $(am__configure_deps)
417        @for dep in $?; do \
418          case '$(am__configure_deps)' in \
419            *$$dep*) \
420              echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
421              $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
422                && exit 0; \
423              exit 1;; \
424          esac; \
425        done; \
426        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
427        $(am__cd) $(top_srcdir) && \
428          $(AUTOMAKE) --foreign Makefile
429.PRECIOUS: Makefile
430Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
431        @case '$?' in \
432          *config.status*) \
433            echo ' $(SHELL) ./config.status'; \
434            $(SHELL) ./config.status;; \
435          *) \
436            echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
437            cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
438        esac;
439
440$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
441        $(SHELL) ./config.status --recheck
442
443$(top_srcdir)/configure:  $(am__configure_deps)
444        $(am__cd) $(srcdir) && $(AUTOCONF)
445$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
446        $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
447$(am__aclocal_m4_deps):
448
449config.h: stamp-h1
450        @if test ! -f $@; then \
451          rm -f stamp-h1; \
452          $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
453        else :; fi
454
455stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
456        @rm -f stamp-h1
457        cd $(top_builddir) && $(SHELL) ./config.status config.h
458$(srcdir)/config.h.in:  $(am__configure_deps)
459        ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
460        rm -f stamp-h1
461        touch $@
462
463distclean-hdr:
464        -rm -f config.h stamp-h1
465jm_tests: $(top_builddir)/config.status $(srcdir)/jm_tests.in
466        cd $(top_builddir) && $(SHELL) ./config.status $@
467Python/src/required_defaults.py: $(top_builddir)/config.status $(top_srcdir)/Python/src/required_defaults.py.in
468        cd $(top_builddir) && $(SHELL) ./config.status $@
469
470mostlyclean-libtool:
471        -rm -f *.lo
472
473clean-libtool:
474        -rm -rf .libs _libs
475
476distclean-libtool:
477        -rm -f libtool config.lt
478
479# This directory's subdirectories are mostly independent; you can cd
480# into them and run `make' without going through this Makefile.
481# To change the values of `make' variables: instead of editing Makefiles,
482# (1) if the variable is set in `config.status', edit `config.status'
483#     (which will cause the Makefiles to be regenerated when you run `make');
484# (2) otherwise, pass the desired values on the `make' command line.
485$(RECURSIVE_TARGETS):
486        @fail= failcom='exit 1'; \
487        for f in x $$MAKEFLAGS; do \
488          case $$f in \
489            *=* | --[!k]*);; \
490            *k*) failcom='fail=yes';; \
491          esac; \
492        done; \
493        dot_seen=no; \
494        target=`echo $@ | sed s/-recursive//`; \
495        list='$(SUBDIRS)'; for subdir in $$list; do \
496          echo "Making $$target in $$subdir"; \
497          if test "$$subdir" = "."; then \
498            dot_seen=yes; \
499            local_target="$$target-am"; \
500          else \
501            local_target="$$target"; \
502          fi; \
503          ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
504          || eval $$failcom; \
505        done; \
506        if test "$$dot_seen" = "no"; then \
507          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
508        fi; test -z "$$fail"
509
510$(RECURSIVE_CLEAN_TARGETS):
511        @fail= failcom='exit 1'; \
512        for f in x $$MAKEFLAGS; do \
513          case $$f in \
514            *=* | --[!k]*);; \
515            *k*) failcom='fail=yes';; \
516          esac; \
517        done; \
518        dot_seen=no; \
519        case "$@" in \
520          distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
521          *) list='$(SUBDIRS)' ;; \
522        esac; \
523        rev=''; for subdir in $$list; do \
524          if test "$$subdir" = "."; then :; else \
525            rev="$$subdir $$rev"; \
526          fi; \
527        done; \
528        rev="$$rev ."; \
529        target=`echo $@ | sed s/-recursive//`; \
530        for subdir in $$rev; do \
531          echo "Making $$target in $$subdir"; \
532          if test "$$subdir" = "."; then \
533            local_target="$$target-am"; \
534          else \
535            local_target="$$target"; \
536          fi; \
537          ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
538          || eval $$failcom; \
539        done && test -z "$$fail"
540tags-recursive:
541        list='$(SUBDIRS)'; for subdir in $$list; do \
542          test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
543        done
544ctags-recursive:
545        list='$(SUBDIRS)'; for subdir in $$list; do \
546          test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
547        done
548
549ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
550        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
551        unique=`for i in $$list; do \
552            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
553          done | \
554          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
555              END { if (nonempty) { for (i in files) print i; }; }'`; \
556        mkid -fID $$unique
557tags: TAGS
558
559TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
560                $(TAGS_FILES) $(LISP)
561        set x; \
562        here=`pwd`; \
563        if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
564          include_option=--etags-include; \
565          empty_fix=.; \
566        else \
567          include_option=--include; \
568          empty_fix=; \
569        fi; \
570        list='$(SUBDIRS)'; for subdir in $$list; do \
571          if test "$$subdir" = .; then :; else \
572            test ! -f $$subdir/TAGS || \
573              set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
574          fi; \
575        done; \
576        list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
577        unique=`for i in $$list; do \
578            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
579          done | \
580          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
581              END { if (nonempty) { for (i in files) print i; }; }'`; \
582        shift; \
583        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
584          test -n "$$unique" || unique=$$empty_fix; \
585          if test $$# -gt 0; then \
586            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
587              "$$@" $$unique; \
588          else \
589            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
590              $$unique; \
591          fi; \
592        fi
593ctags: CTAGS
594CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
595                $(TAGS_FILES) $(LISP)
596        list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
597        unique=`for i in $$list; do \
598            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
599          done | \
600          $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
601              END { if (nonempty) { for (i in files) print i; }; }'`; \
602        test -z "$(CTAGS_ARGS)$$unique" \
603          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
604             $$unique
605
606GTAGS:
607        here=`$(am__cd) $(top_builddir) && pwd` \
608          && $(am__cd) $(top_srcdir) \
609          && gtags -i $(GTAGS_ARGS) "$$here"
610
611distclean-tags:
612        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
613
614distdir: $(DISTFILES)
615        $(am__remove_distdir)
616        test -d "$(distdir)" || mkdir "$(distdir)"
617        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
618        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
619        list='$(DISTFILES)'; \
620          dist_files=`for file in $$list; do echo $$file; done | \
621          sed -e "s|^$$srcdirstrip/||;t" \
622              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
623        case $$dist_files in \
624          */*) $(MKDIR_P) `echo "$$dist_files" | \
625                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
626                           sort -u` ;; \
627        esac; \
628        for file in $$dist_files; do \
629          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
630          if test -d $$d/$$file; then \
631            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
632            if test -d "$(distdir)/$$file"; then \
633              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
634            fi; \
635            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
636              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
637              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
638            fi; \
639            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
640          else \
641            test -f "$(distdir)/$$file" \
642            || cp -p $$d/$$file "$(distdir)/$$file" \
643            || exit 1; \
644          fi; \
645        done
646        @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
647          if test "$$subdir" = .; then :; else \
648            test -d "$(distdir)/$$subdir" \
649            || $(MKDIR_P) "$(distdir)/$$subdir" \
650            || exit 1; \
651          fi; \
652        done
653        @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
654          if test "$$subdir" = .; then :; else \
655            dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
656            $(am__relativize); \
657            new_distdir=$$reldir; \
658            dir1=$$subdir; dir2="$(top_distdir)"; \
659            $(am__relativize); \
660            new_top_distdir=$$reldir; \
661            echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
662            echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
663            ($(am__cd) $$subdir && \
664              $(MAKE) $(AM_MAKEFLAGS) \
665                top_distdir="$$new_top_distdir" \
666                distdir="$$new_distdir" \
667                am__remove_distdir=: \
668                am__skip_length_check=: \
669                am__skip_mode_fix=: \
670                distdir) \
671              || exit 1; \
672          fi; \
673        done
674        -test -n "$(am__skip_mode_fix)" \
675        || find "$(distdir)" -type d ! -perm -755 \
676                -exec chmod u+rwx,go+rx {} \; -o \
677          ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
678          ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
679          ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
680        || chmod -R a+r "$(distdir)"
681dist-gzip: distdir
682        tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
683        $(am__remove_distdir)
684
685dist-bzip2: distdir
686        tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
687        $(am__remove_distdir)
688
689dist-lzma: distdir
690        tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
691        $(am__remove_distdir)
692
693dist-xz: distdir
694        tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
695        $(am__remove_distdir)
696
697dist-tarZ: distdir
698        tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
699        $(am__remove_distdir)
700
701dist-shar: distdir
702        shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
703        $(am__remove_distdir)
704
705dist-zip: distdir
706        -rm -f $(distdir).zip
707        zip -rq $(distdir).zip $(distdir)
708        $(am__remove_distdir)
709
710dist dist-all: distdir
711        tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
712        $(am__remove_distdir)
713
714# This target untars the dist file and tries a VPATH configuration.  Then
715# it guarantees that the distribution is self-contained by making another
716# tarfile.
717distcheck: dist
718        case '$(DIST_ARCHIVES)' in \
719        *.tar.gz*) \
720          GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
721        *.tar.bz2*) \
722          bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
723        *.tar.lzma*) \
724          lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
725        *.tar.xz*) \
726          xz -dc $(distdir).tar.xz | $(am__untar) ;;\
727        *.tar.Z*) \
728          uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
729        *.shar.gz*) \
730          GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
731        *.zip*) \
732          unzip $(distdir).zip ;;\
733        esac
734        chmod -R a-w $(distdir); chmod a+w $(distdir)
735        mkdir $(distdir)/_build
736        mkdir $(distdir)/_inst
737        chmod a-w $(distdir)
738        test -d $(distdir)/_build || exit 0; \
739        dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
740          && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
741          && am__cwd=`pwd` \
742          && $(am__cd) $(distdir)/_build \
743          && ../configure --srcdir=.. --prefix="$$dc_install_base" \
744            $(DISTCHECK_CONFIGURE_FLAGS) \
745          && $(MAKE) $(AM_MAKEFLAGS) \
746          && $(MAKE) $(AM_MAKEFLAGS) dvi \
747          && $(MAKE) $(AM_MAKEFLAGS) check \
748          && $(MAKE) $(AM_MAKEFLAGS) install \
749          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
750          && $(MAKE) $(AM_MAKEFLAGS) uninstall \
751          && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
752                distuninstallcheck \
753          && chmod -R a-w "$$dc_install_base" \
754          && ({ \
755               (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
756               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
757               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
758               && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
759                    distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
760              } || { rm -rf "$$dc_destdir"; exit 1; }) \
761          && rm -rf "$$dc_destdir" \
762          && $(MAKE) $(AM_MAKEFLAGS) dist \
763          && rm -rf $(DIST_ARCHIVES) \
764          && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
765          && cd "$$am__cwd" \
766          || exit 1
767        $(am__remove_distdir)
768        @(echo "$(distdir) archives ready for distribution: "; \
769          list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
770          sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
771distuninstallcheck:
772        @$(am__cd) '$(distuninstallcheck_dir)' \
773        && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
774           || { echo "ERROR: files left after uninstall:" ; \
775                if test -n "$(DESTDIR)"; then \
776                  echo "  (check DESTDIR support)"; \
777                fi ; \
778                $(distuninstallcheck_listfiles) ; \
779                exit 1; } >&2
780distcleancheck: distclean
781        @if test '$(srcdir)' = . ; then \
782          echo "ERROR: distcleancheck can only run from a VPATH build" ; \
783          exit 1 ; \
784        fi
785        @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
786          || { echo "ERROR: files left in build directory after distclean:" ; \
787               $(distcleancheck_listfiles) ; \
788               exit 1; } >&2
789check-am: all-am
790check: check-recursive
791all-am: Makefile config.h all-local
792installdirs: installdirs-recursive
793installdirs-am:
794install: install-recursive
795install-exec: install-exec-recursive
796install-data: install-data-recursive
797uninstall: uninstall-recursive
798
799install-am: all-am
800        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
801
802installcheck: installcheck-recursive
803install-strip:
804        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
805          install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
806          `test -z '$(STRIP)' || \
807            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
808mostlyclean-generic:
809
810clean-generic:
811
812distclean-generic:
813        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
814        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
815
816maintainer-clean-generic:
817        @echo "This command is intended for maintainers to use"
818        @echo "it deletes files that may require special tools to rebuild."
819clean: clean-recursive
820
821clean-am: clean-generic clean-libtool clean-local mostlyclean-am
822
823distclean: distclean-recursive
824        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
825        -rm -f Makefile
826distclean-am: clean-am distclean-generic distclean-hdr \
827        distclean-libtool distclean-tags
828
829dvi: dvi-recursive
830
831dvi-am:
832
833html: html-recursive
834
835html-am:
836
837info: info-recursive
838
839info-am:
840
841install-data-am:
842
843install-dvi: install-dvi-recursive
844
845install-dvi-am:
846
847install-exec-am: install-exec-local
848
849install-html: install-html-recursive
850
851install-html-am:
852
853install-info: install-info-recursive
854
855install-info-am:
856
857install-man:
858
859install-pdf: install-pdf-recursive
860
861install-pdf-am:
862
863install-ps: install-ps-recursive
864
865install-ps-am:
866
867installcheck-am:
868
869maintainer-clean: maintainer-clean-recursive
870        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
871        -rm -rf $(top_srcdir)/autom4te.cache
872        -rm -f Makefile
873maintainer-clean-am: distclean-am maintainer-clean-generic
874
875mostlyclean: mostlyclean-recursive
876
877mostlyclean-am: mostlyclean-generic mostlyclean-libtool
878
879pdf: pdf-recursive
880
881pdf-am:
882
883ps: ps-recursive
884
885ps-am:
886
887uninstall-am:
888
889.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
890        ctags-recursive install-am install-strip tags-recursive
891
892.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
893        all all-am all-local am--refresh check check-am clean \
894        clean-generic clean-libtool clean-local ctags ctags-recursive \
895        dist dist-all dist-bzip2 dist-gzip dist-lzma dist-shar \
896        dist-tarZ dist-xz dist-zip distcheck distclean \
897        distclean-generic distclean-hdr distclean-libtool \
898        distclean-tags distcleancheck distdir distuninstallcheck dvi \
899        dvi-am html html-am info info-am install install-am \
900        install-data install-data-am install-dvi install-dvi-am \
901        install-exec install-exec-am install-exec-local install-html \
902        install-html-am install-info install-info-am install-man \
903        install-pdf install-pdf-am install-ps install-ps-am \
904        install-strip installcheck installcheck-am installdirs \
905        installdirs-am maintainer-clean maintainer-clean-generic \
906        mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
907        ps ps-am tags tags-recursive uninstall uninstall-am
908
909
910.PHONY: modelicacasadi_wrapper ifcasadi install_modelicacasadi_transfer install_modelicacasadi_wrapper
911
912casadi:
913@COMPILE_WITH_IPOPT_TRUE@       cd $(abs_builddir)/ThirdParty/CasADi; \
914@COMPILE_WITH_IPOPT_TRUE@       make -f Makefile  "SWIGCHECK_BUILD_DIR=$(TMP_SWIGCHECK_BUILD_DIR)" "CASADI_BUILD_DIR=$(TMP_CASADI_BUILD_DIR)" "IPOPT_HOME=$(IPOPT_HOME)" "CASADI_PYTHON_INST_DIR=${TMP_CASADI_PYTHON_INST_DIR}" "CASADI_INST_DIR=${TMP_CASADI_INST_DIR}" "CASADI_PLUGIN_INST_DIR=${TMP_CASADI_PLUGIN_INST_DIR}" "CMAKE_CASADI_ARGS=${TMP_CMAKE_CASADI_ARGS}" "CMAKE_CASADI_COMPILER_ARGS=${TMP_CMAKE_CASADI_COMPILER_ARGS}" "CMAKE_CASADI_CXX_FLAG=${TMP_CMAKE_CASADI_CXX_FLAG}" "CMAKE_PYTHON_LIB=${CMAKE_PYTHON_LIB}"
915@COMPILE_WITH_IPOPT64_TRUE@     export PATH=$(PYTHON64_HOME):$(PYTHON64_HOME)/Scripts:$(PYTHON64_HOME)/Lib:"${PATH}"; \
916@COMPILE_WITH_IPOPT64_TRUE@     export PYTHONHOME=$(PYTHON64_HOME); \
917@COMPILE_WITH_IPOPT64_TRUE@     cd $(abs_builddir)/ThirdParty/CasADi; \
918@COMPILE_WITH_IPOPT64_TRUE@     make -f Makefile  "SWIGCHECK_BUILD_DIR=$(SWIGCHECK_BUILD_DIR64)" "CASADI_BUILD_DIR=$(CASADI_BUILD_DIR64)" "IPOPT_HOME=$(IPOPT64_HOME)" "CASADI_PYTHON_INST_DIR=${CASADI_PYTHON_INST_DIR64}" "CASADI_INST_DIR=${CASADI_INST_DIR64}" "CASADI_PLUGIN_INST_DIR=${CASADI_PLUGIN_INST_DIR64}" "CMAKE_CASADI_ARGS=${CMAKE_CASADI_ARGS64}" "CMAKE_CASADI_COMPILER_ARGS=${CMAKE_CASADI_COMPILER_ARGS64}" "CMAKE_CASADI_CXX_FLAG=${CMAKE_CASADI_CXX_FLAG64}" "CMAKE_PYTHON_LIB=${CMAKE_PYTHON64_LIB}" "CMAKE_PYTHON_INCLUDE=${CMAKE_PYTHON64_INCLUDE}"
919@COMPILE_WITH_IPOPT64_TRUE@     export PYTHONHOME=$(ORIG_PYTHON_HOME); \
920@COMPILE_WITH_IPOPT64_TRUE@     export PATH="$(ORIG_PATH)";
921
922install_casadi: casadi
923@COMPILE_WITH_IPOPT_TRUE@       cd $(abs_builddir)/ThirdParty/CasADi; \
924@COMPILE_WITH_IPOPT_TRUE@       make -f Makefile install "SWIGCHECK_BUILD_DIR=$(TMP_SWIGCHECK_BUILD_DIR)" "CASADI_BUILD_DIR=$(TMP_CASADI_BUILD_DIR)" "IPOPT_HOME=$(IPOPT_HOME)"
925@COMPILE_WITH_IPOPT_TRUE@       mkdir -p $(DESTDIR)$(prefix)/Python/
926@COMPILE_WITH_IPOPT_TRUE@       cp -r $(TMP_CASADI_PYTHON_INST_DIR)/casadi $(DESTDIR)$(prefix)/Python/
927@COMPILE_WITH_IPOPT_TRUE@       cp $(TMP_CASADI_BUILD_DIR)/swig/casadi_core.py $(DESTDIR)$(prefix)/Python/casadi
928@COMPILE_WITH_IPOPT64_TRUE@     export PATH=$(PYTHON64_HOME):$(PYTHON64_HOME)/Scripts:$(PYTHON64_HOME)/Lib:"${PATH}"; \
929@COMPILE_WITH_IPOPT64_TRUE@     export PYTHONHOME=$(PYTHON64_HOME); 
930@COMPILE_WITH_IPOPT64_TRUE@     cd $(abs_builddir)/ThirdParty/CasADi; \
931@COMPILE_WITH_IPOPT64_TRUE@     make -f Makefile install "SWIGCHECK_BUILD_DIR=$(SWIGCHECK_BUILD_DIR)" "CASADI_BUILD_DIR=$(CASADI_BUILD_DIR64)" "IPOPT_HOME=$(IPOPT64_HOME)"
932@COMPILE_WITH_IPOPT64_TRUE@     mkdir -p $(DESTDIR)$(prefix)/Python/
933@COMPILE_WITH_IPOPT64_TRUE@     cp -r $(CASADI_PYTHON_INST_DIR64)/casadi $(DESTDIR)$(prefix)/Python_64/
934@COMPILE_WITH_IPOPT64_TRUE@     cp $(CASADI_BUILD_DIR64)/swig/casadi_core.py $(DESTDIR)$(prefix)/Python_64/casadi
935@COMPILE_WITH_IPOPT64_TRUE@     export PYTHONHOME=$(ORIG_PYTHON_HOME); \
936@COMPILE_WITH_IPOPT64_TRUE@     export PATH="$(ORIG_PATH)";
937
938casadi_interface: install_casadi_interface
939build_casadi_interface: casadi modelicacasadi_wrapper
940install_casadi_interface: install_casadi $(TMP_MC_LIB) $(DESTDIR)$(prefix)/Python/modelicacasadi_transfer/__init__.py $(DESTDIR)$(prefix)/Python/modelicacasadi_wrapper/__init__.py $(DESTDIR)$(prefix)/Python/modelicacasadi_transfer/modelica_casadi_transfer_wrapper.py
941        if [ "$(INSTALL_EXTRA_CASADI)" ]; then exec "$(INSTALL_EXTRA_CASADI)" "$(abs_top_srcdir)" "$(DESTDIR)$(prefix)"; fi
942
943ifcasadi: casadi
944@COMPILE_WITH_IPOPT_TRUE@       mkdir -p $(TMP_MC_BUILD)/ifcasadi; \
945@COMPILE_WITH_IPOPT_TRUE@       cd $(TMP_MC_BUILD)/ifcasadi; \
946@COMPILE_WITH_IPOPT_TRUE@       case $(build) in \
947@COMPILE_WITH_IPOPT_TRUE@       *-cygwin*|*-mingw*) \
948@COMPILE_WITH_IPOPT_TRUE@       cmake $(MC_SRC_SWIG) -G "MSYS Makefiles" -DCMAKE_CXX_COMPILER_ARG1="$(TMP_CMAKE_CASADI_CXX_FLAG)" -DCMAKE_CXX_FLAGS="$(TMP_CMAKE_CASADI_CXX_FLAG)" \
949@COMPILE_WITH_IPOPT_TRUE@           -DIFCASADI_OUTDIR="$(MC_CASADI_BUILD)" -DCASADI_HOME="$(CASADI_HOME)" -DCASADI_BUILD_DIR="$(TMP_CASADI_BUILD_DIR)";; \
950@COMPILE_WITH_IPOPT_TRUE@       *) \
951@COMPILE_WITH_IPOPT_TRUE@       cmake $(MC_SRC_SWIG) \
952@COMPILE_WITH_IPOPT_TRUE@           -DIFCASADI_OUTDIR="$(MC_CASADI_BUILD)" -DCASADI_HOME="$(CASADI_HOME)" -DCASADI_BUILD_DIR="$(TMP_CASADI_BUILD_DIR)";; \
953@COMPILE_WITH_IPOPT_TRUE@       esac
954@COMPILE_WITH_IPOPT_TRUE@       cd $(TMP_MC_BUILD)/ifcasadi;  make
955@COMPILE_WITH_IPOPT64_TRUE@     export PATH=$(PYTHON64_HOME):$(PYTHON64_HOME)/Scripts:$(PYTHON64_HOME)/Lib:"${PATH}";
956@COMPILE_WITH_IPOPT64_TRUE@     export PYTHONHOME=$(PYTHON64_HOME);
957@COMPILE_WITH_IPOPT64_TRUE@     mkdir -p $(MC_BUILD64)/ifcasadi; \
958@COMPILE_WITH_IPOPT64_TRUE@     cd $(MC_BUILD64)/ifcasadi; \
959@COMPILE_WITH_IPOPT64_TRUE@     cmake $(MC_SRC_SWIG) -G "MSYS Makefiles" -DCMAKE_CXX_COMPILER_ARG1="-m64" -DCMAKE_CXX_FLAGS="-m64" \
960@COMPILE_WITH_IPOPT64_TRUE@         -DIFCASADI_OUTDIR="$(MC_CASADI_BUILD)" -DCASADI_HOME="$(CASADI_HOME)" -DCASADI_BUILD_DIR="$(CASADI_BUILD_DIR64)"; \
961@COMPILE_WITH_IPOPT64_TRUE@     cd $(MC_BUILD64)/ifcasadi;  make
962@COMPILE_WITH_IPOPT64_TRUE@     export PYTHONHOME=$(ORIG_PYTHON_HOME); \
963@COMPILE_WITH_IPOPT64_TRUE@     export PATH="$(ORIG_PATH)";
964
965$(TMP_MC_LIB): $(MC_CASADI_BUILD)/bin/ModelicaCompiler.jar $(OC_CASADI_BUILD)/bin/OptimicaCompiler.jar $(MC_CASADI_BUILD)/bin/util.jar ifcasadi
966@COMPILE_WITH_IPOPT_TRUE@       rm -rf $(TMP_MC_LIB)
967@COMPILE_WITH_IPOPT_TRUE@       mkdir -p $(TMP_MC_LIB)
968@COMPILE_WITH_IPOPT_TRUE@       cp $(MC_CASADI_BUILD)/bin/ModelicaCompiler.jar $(TMP_MC_LIB)
969@COMPILE_WITH_IPOPT_TRUE@       cp $(OC_CASADI_BUILD)/bin/OptimicaCompiler.jar $(TMP_MC_LIB)
970@COMPILE_WITH_IPOPT_TRUE@       cp $(MC_CASADI_BUILD)/bin/util.jar $(TMP_MC_LIB)
971@COMPILE_WITH_IPOPT_TRUE@       case $(build) in \
972@COMPILE_WITH_IPOPT_TRUE@       *-cygwin*) \
973@COMPILE_WITH_IPOPT_TRUE@       cp $(TMP_MC_BUILD)/ifcasadi/ifcasadi.dll $(TMP_MC_LIB) ;; \
974@COMPILE_WITH_IPOPT_TRUE@       *-mingw*) \
975@COMPILE_WITH_IPOPT_TRUE@       cp $(TMP_MC_BUILD)/ifcasadi/ifcasadi.dll $(TMP_MC_LIB) ;; \
976@COMPILE_WITH_IPOPT_TRUE@       *) \
977@COMPILE_WITH_IPOPT_TRUE@       cp $(TMP_MC_BUILD)/ifcasadi/libifcasadi.so $(TMP_MC_LIB) ;; \
978@COMPILE_WITH_IPOPT_TRUE@       esac
979@COMPILE_WITH_IPOPT64_TRUE@     rm -rf $(MC_LIB64)
980@COMPILE_WITH_IPOPT64_TRUE@     mkdir -p $(MC_LIB64)
981@COMPILE_WITH_IPOPT64_TRUE@     cp $(MC_CASADI_BUILD)/bin/ModelicaCompiler.jar $(MC_LIB64)
982@COMPILE_WITH_IPOPT64_TRUE@     cp $(OC_CASADI_BUILD)/bin/OptimicaCompiler.jar $(MC_LIB64)
983@COMPILE_WITH_IPOPT64_TRUE@     cp $(MC_CASADI_BUILD)/bin/util.jar $(MC_LIB64)
984@COMPILE_WITH_IPOPT64_TRUE@     cp $(MC_BUILD64)/ifcasadi/ifcasadi.dll $(MC_LIB64)
985
986mc_modelica: ifcasadi
987        cd $(MC_CASADI_BUILD); $(ANT_OPTS) $(ANT) -f "$(JAVA_MC_CASADI_ANT_FILE)" "-Dcompiler=$(COMPILER_DIR)" "-Dtarget=$(MC_CASADI_BUILD)"
988
989mc_optimica: ifcasadi
990        mkdir -p $(OC_CASADI_BUILD)/src/generated/optimica/java
991        cp -pr $(MC_CASADI_BUILD)/src/generated/modelica/java/ifcasadi $(OC_CASADI_BUILD)/src/generated/optimica/java
992        cd $(OC_CASADI_BUILD); $(ANT_OPTS) $(ANT) -f "$(JAVA_OC_CASADI_ANT_FILE)" "-Dcompiler=$(COMPILER_DIR)" "-Dtarget=$(OC_CASADI_BUILD)"
993
994$(MC_CASADI_BUILD)/bin/ModelicaCompiler.jar: mc_modelica
995$(MC_CASADI_BUILD)/bin/util.jar:             mc_modelica
996$(MC_CASADI_BUILD)/bin/separateProcess.jar:  mc_modelica
997
998$(OC_CASADI_BUILD)/bin/OptimicaCompiler.jar: mc_optimica
999$(OC_CASADI_BUILD)/bin/util.jar:             mc_optimica
1000$(OC_CASADI_BUILD)/bin/separateProcess.jar:  mc_optimica
1001
1002$(TMP_MC_BUILD)/modelicacasadi_wrapper/swig/modelicacasadi_wrapper.py: modelicacasadi_wrapper
1003
1004modelicacasadi_wrapper: $(MC_CASADI_BUILD)/bin/ModelicaCompiler.jar $(OC_CASADI_BUILD)/bin/OptimicaCompiler.jar $(MC_CASADI_BUILD)/bin/util.jar ifcasadi # $(TMP_MC_LIB)
1005@COMPILE_WITH_IPOPT_TRUE@       mkdir -p $(TMP_MC_BUILD)/modelicacasadi_wrapper; \
1006@COMPILE_WITH_IPOPT_TRUE@       cd $(TMP_MC_BUILD)/modelicacasadi_wrapper; \
1007@COMPILE_WITH_IPOPT_TRUE@       case $(build) in \
1008@COMPILE_WITH_IPOPT_TRUE@       *-cygwin*|*-mingw*) \
1009@COMPILE_WITH_IPOPT_TRUE@       cmake $(MC_INTERFACE) -G "MSYS Makefiles" -DCMAKE_CXX_COMPILER_ARG1="$(TMP_CMAKE_CASADI_CXX_FLAG)" -DCMAKE_CXX_FLAGS="$(TMP_CMAKE_CASADI_CXX_FLAG)" \
1010@COMPILE_WITH_IPOPT_TRUE@           -DMC_BUILD="$(TMP_MC_BUILD)" -DIPOPT_HOME="$(IPOPT_HOME)" -DCASADI_BUILD_DIR="$(TMP_CASADI_BUILD_DIR)" \
1011@COMPILE_WITH_IPOPT_TRUE@           -DIFCASADI_JAR_BASE="$(JAVA_CASADI_BUILD_DIR)" -DCASADI_HOME="$(CASADI_HOME)" \
1012@COMPILE_WITH_IPOPT_TRUE@           "$(CMAKE_PYTHON_LIB)" "$(CMAKE_PYTHON_INCLUDE)" ;; \
1013@COMPILE_WITH_IPOPT_TRUE@       *) \
1014@COMPILE_WITH_IPOPT_TRUE@       cmake $(MC_INTERFACE) \
1015@COMPILE_WITH_IPOPT_TRUE@           -DMC_BUILD="$(TMP_MC_BUILD)" -DIPOPT_HOME="$(IPOPT_HOME)" -DCASADI_BUILD_DIR="$(TMP_CASADI_BUILD_DIR)" \
1016@COMPILE_WITH_IPOPT_TRUE@           -DIFCASADI_JAR_BASE="$(JAVA_CASADI_BUILD_DIR)" -DCASADI_HOME="$(CASADI_HOME)" \
1017@COMPILE_WITH_IPOPT_TRUE@           "$(CMAKE_PYTHON_LIB)" "$(CMAKE_PYTHON_INCLUDE)" ;; \
1018@COMPILE_WITH_IPOPT_TRUE@       esac
1019@COMPILE_WITH_IPOPT_TRUE@       cd $(TMP_MC_BUILD)/modelicacasadi_wrapper;  make modelicacasadi_wrapper
1020@COMPILE_WITH_IPOPT64_TRUE@     export PATH=$(PYTHON64_HOME):$(PYTHON64_HOME)/Scripts:$(PYTHON64_HOME)/Lib:"${PATH}"; \
1021@COMPILE_WITH_IPOPT64_TRUE@     export PYTHONHOME=$(PYTHON64_HOME); \
1022@COMPILE_WITH_IPOPT64_TRUE@     mkdir -p $(MC_BUILD64)/modelicacasadi_wrapper; \
1023@COMPILE_WITH_IPOPT64_TRUE@     cd $(MC_BUILD64)/modelicacasadi_wrapper; \
1024@COMPILE_WITH_IPOPT64_TRUE@     cmake $(MC_INTERFACE) -G "MSYS Makefiles" -DCMAKE_CXX_COMPILER_ARG1="-m64" -DCMAKE_CXX_FLAGS="-m64" \
1025@COMPILE_WITH_IPOPT64_TRUE@         -DMC_BUILD="$(MC_BUILD64)" -DIPOPT_HOME="$(IPOPT64_HOME)" -DCASADI_BUILD_DIR="$(CASADI_BUILD_DIR64)" \
1026@COMPILE_WITH_IPOPT64_TRUE@         -DIFCASADI_JAR_BASE="$(JAVA_CASADI_BUILD_DIR)" -DCASADI_HOME="$(CASADI_HOME)" \
1027@COMPILE_WITH_IPOPT64_TRUE@         "$(CMAKE_PYTHON64_LIB)" "$(CMAKE_PYTHON64_INCLUDE)"; \
1028@COMPILE_WITH_IPOPT64_TRUE@     cd $(MC_BUILD64)/modelicacasadi_wrapper;  make modelicacasadi_wrapper
1029@COMPILE_WITH_IPOPT64_TRUE@     export PYTHONHOME=$(ORIG_PYTHON_HOME);
1030@COMPILE_WITH_IPOPT64_TRUE@     export PATH="$(ORIG_PATH)";
1031
1032 $(DESTDIR)$(prefix)/Python/modelicacasadi_transfer/__init__.py: install_modelicacasadi_transfer
1033 $(DESTDIR)$(prefix)/Python/modelicacasadi_transfer/modelica_casadi_transfer_wrapper.py: install_modelicacasadi_transfer
1034
1035 $(DESTDIR)$(prefix)/Python/modelicacasadi_wrapper/__init__.py: install_modelicacasadi_wrapper
1036
1037 install_modelicacasadi_wrapper: $(TMP_MC_BUILD)/modelicacasadi_wrapper/swig/modelicacasadi_wrapper.py
1038@COMPILE_WITH_IPOPT_TRUE@       mkdir -p $(DESTDIR)$(prefix)/Python/modelicacasadi_wrapper
1039@COMPILE_WITH_IPOPT_TRUE@       cp $(TMP_MC_BUILD)/modelicacasadi_wrapper/swig/*modelicacasadi_wrapper* $(DESTDIR)$(prefix)/Python/modelicacasadi_wrapper
1040@COMPILE_WITH_IPOPT_TRUE@       rm -f $(DESTDIR)$(prefix)/Python/modelicacasadi_wrapper/__init__.py
1041@COMPILE_WITH_IPOPT_TRUE@       touch $(DESTDIR)$(prefix)/Python/modelicacasadi_wrapper/__init__.py
1042@COMPILE_WITH_IPOPT_TRUE@       echo "from modelicacasadi_wrapper import *" >> $(DESTDIR)$(prefix)/Python/modelicacasadi_wrapper/__init__.py
1043@COMPILE_WITH_IPOPT64_TRUE@     export PATH=$(PYTHON64_HOME):$(PYTHON64_HOME)/Scripts:$(PYTHON64_HOME)/Lib:"${PATH}"; \
1044@COMPILE_WITH_IPOPT64_TRUE@     export PYTHONHOME=$(PYTHON64_HOME);
1045@COMPILE_WITH_IPOPT64_TRUE@     mkdir -p $(DESTDIR)$(prefix)/Python_64/modelicacasadi_wrapper
1046@COMPILE_WITH_IPOPT64_TRUE@     cp $(MC_BUILD64)/modelicacasadi_wrapper/swig/*modelicacasadi_wrapper* $(DESTDIR)$(prefix)/Python_64/modelicacasadi_wrapper
1047@COMPILE_WITH_IPOPT64_TRUE@     rm -f $(DESTDIR)$(prefix)/Python_64/modelicacasadi_wrapper/__init__.py
1048@COMPILE_WITH_IPOPT64_TRUE@     touch $(DESTDIR)$(prefix)/Python_64/modelicacasadi_wrapper/__init__.py
1049@COMPILE_WITH_IPOPT64_TRUE@     echo "from modelicacasadi_wrapper import *" >> $(DESTDIR)$(prefix)/Python_64/modelicacasadi_wrapper/__init__.py
1050@COMPILE_WITH_IPOPT64_TRUE@     export PYTHONHOME=$(ORIG_PYTHON_HOME)
1051@COMPILE_WITH_IPOPT64_TRUE@     export PATH="$(ORIG_PATH)"
1052
1053 install_modelicacasadi_transfer: $(MC_INTERFACE)/python/modelica_casadi_transfer_wrapper.py
1054@COMPILE_WITH_IPOPT_TRUE@       mkdir -p $(DESTDIR)$(prefix)/Python/modelicacasadi_transfer
1055@COMPILE_WITH_IPOPT_TRUE@       rm -f $(DESTDIR)$(prefix)/Python/modelicacasadi_transfer/__init__.py
1056@COMPILE_WITH_IPOPT_TRUE@       touch $(DESTDIR)$(prefix)/Python/modelicacasadi_transfer/__init__.py
1057@COMPILE_WITH_IPOPT_TRUE@       echo "from modelica_casadi_transfer_wrapper import *" >> $(DESTDIR)$(prefix)/Python/modelicacasadi_transfer/__init__.py
1058@COMPILE_WITH_IPOPT_TRUE@       cp $(MC_INTERFACE)/python/modelica_casadi_transfer_wrapper.py $(DESTDIR)$(prefix)/Python/modelicacasadi_transfer
1059@COMPILE_WITH_IPOPT64_TRUE@     mkdir -p $(DESTDIR)$(prefix)/Python_64/modelicacasadi_transfer
1060@COMPILE_WITH_IPOPT64_TRUE@     rm -f $(DESTDIR)$(prefix)/Python_64/modelicacasadi_transfer/__init__.py
1061@COMPILE_WITH_IPOPT64_TRUE@     touch $(DESTDIR)$(prefix)/Python_64/modelicacasadi_transfer/__init__.py
1062@COMPILE_WITH_IPOPT64_TRUE@     echo "from modelica_casadi_transfer_wrapper import *" >> $(DESTDIR)$(prefix)/Python_64/modelicacasadi_transfer/__init__.py
1063@COMPILE_WITH_IPOPT64_TRUE@     cp $(MC_INTERFACE)/python/modelica_casadi_transfer_wrapper.py $(DESTDIR)$(prefix)/Python_64/modelicacasadi_transfer
1064
1065clean-casadi-interface:
1066        rm -rf $(MC_BUILD)
1067        rm -rf $(MC_BUILD64)
1068#       rm -rf $(DESTDIR)$(prefix)/Python/casadi
1069#       rm -rf $(DESTDIR)$(prefix)/Python/modelicacasadi_transfer
1070@HAVE_ANT_TRUE@ cd $(JAVA_CASADI_BUILD_DIR)/ModelicaCompilerCasADi; \
1071@HAVE_ANT_TRUE@ $(ANT_OPTS) $(ANT) clean ; rm -rf $(MC_CASADI_BUILD)/src/cpp-generated $(MC_CASADI_BUILD)/src/generated/modelica/java/ifcasadi
1072@HAVE_ANT_TRUE@ cd $(JAVA_CASADI_BUILD_DIR)/OptimicaCompilerCasADi; \
1073@HAVE_ANT_TRUE@ $(ANT_OPTS) $(ANT) clean ; rm -rf $(OC_CASADI_BUILD)/src/cpp-generated $(OC_CASADI_BUILD)/src/generated/optimica/java/ifcasadi
1074
1075build-python-packages:
1076@PYTHON_ENABLED_TRUE@@WITH_OPENMP_TRUE@ mkdir -p $(assimulo_build_dir); \
1077@PYTHON_ENABLED_TRUE@@WITH_OPENMP_TRUE@ cd $(assimulo_src_dir)/..; \
1078@PYTHON_ENABLED_TRUE@@WITH_OPENMP_TRUE@ find Assimulo -type f |grep -v /.svn | grep -v .pyc | grep -v ~ |tar c -T - -f - | tar x -C $(assimulo_build_dir); \
1079@PYTHON_ENABLED_TRUE@@WITH_OPENMP_TRUE@ cd $(assimulo_build_dir)/Assimulo; \
1080@PYTHON_ENABLED_TRUE@@WITH_OPENMP_TRUE@ case $(build) in \
1081@PYTHON_ENABLED_TRUE@@WITH_OPENMP_TRUE@ *-cygwin*) \
1082@PYTHON_ENABLED_TRUE@@WITH_OPENMP_TRUE@ python setup.py install --with_openmp=True --superlu-home=$(abs_builddir)/superlu_build$(DEP_SUFFIX)/ --sundials-home=$(SUNDIALS_HOME)$(DEP_SUFFIX) --sundials-with-superlu=True --blas-home=$(abs_builddir)/blas_install$(DEP_SUFFIX)/ --lapack-home=$(abs_builddir)/lapack_install$(DEP_SUFFIX)/ $(BUILD_WITH_PYTHON32_ARG) --prefix=$(assimulo_install_dir) ;; \
1083@PYTHON_ENABLED_TRUE@@WITH_OPENMP_TRUE@ *-mingw*) \
1084@PYTHON_ENABLED_TRUE@@WITH_OPENMP_TRUE@ python setup.py install --with_openmp=True --superlu-home=$(abs_builddir)/superlu_build$(DEP_SUFFIX)/ --sundials-home=$(SUNDIALS_HOME)$(DEP_SUFFIX) --sundials-with-superlu=True --blas-home=$(abs_builddir)/blas_install$(DEP_SUFFIX)/ --lapack-home=$(abs_builddir)/lapack_install$(DEP_SUFFIX)/ $(BUILD_WITH_PYTHON32_ARG) $(NUMPY_NO_MSVCR_ARG) --prefix=$(assimulo_install_dir) ;; \
1085@PYTHON_ENABLED_TRUE@@WITH_OPENMP_TRUE@ *) \
1086@PYTHON_ENABLED_TRUE@@WITH_OPENMP_TRUE@ python setup.py install --with_openmp=True --superlu-home=$(abs_builddir)/superlu_build/ --sundials-home=$(SUNDIALS_HOME) --sundials-with-superlu=True --blas-home=$(abs_builddir)/blas_install/ --lapack-home=$(abs_builddir)/lapack_install/ --prefix=$(assimulo_install_dir) ;; \
1087@PYTHON_ENABLED_TRUE@@WITH_OPENMP_TRUE@ esac
1088@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_OPENMP_TRUE@@WITH_PYTHON64_TRUE@      mkdir -p $(assimulo_build_dir64); \
1089@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_OPENMP_TRUE@@WITH_PYTHON64_TRUE@      cd $(assimulo_src_dir)/..; \
1090@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_OPENMP_TRUE@@WITH_PYTHON64_TRUE@      find Assimulo -type f |grep -v /.svn | grep -v .pyc | grep -v ~ |tar c -T - -f - | tar x -C $(assimulo_build_dir64); \
1091@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_OPENMP_TRUE@@WITH_PYTHON64_TRUE@      cd $(assimulo_build_dir)/Assimulo; \
1092@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_OPENMP_TRUE@@WITH_PYTHON64_TRUE@      export PATH=$(PYTHON64_HOME):$(PYTHON64_HOME)/Scripts:$(PYTHON64_HOME)/Lib:"${PATH}"; \
1093@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_OPENMP_TRUE@@WITH_PYTHON64_TRUE@      export PYTHONHOME=$(PYTHON64_HOME); \
1094@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_OPENMP_TRUE@@WITH_PYTHON64_TRUE@      python setup.py install --with_openmp=True --superlu-home=$(abs_builddir)/superlu_build64/ --sundials-home=$(SUNDIALS_HOME)64 --sundials-with-superlu=True --blas-home=$(abs_builddir)/blas_install64/ --lapack-home=$(abs_builddir)/lapack_install64/ --force-32bit="false" $(NUMPY_NO_MSVCR_ARG) --prefix=$(assimulo_install_dir64); \
1095@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_OPENMP_TRUE@@WITH_PYTHON64_TRUE@      export PATH="$(ORIG_PATH)"; \
1096@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_OPENMP_TRUE@@WITH_PYTHON64_TRUE@      export PYTHONHOME=$(ORIG_PYTHON_HOME)
1097@PYTHON_ENABLED_TRUE@@WITH_OPENMP_FALSE@        mkdir -p $(assimulo_build_dir); \
1098@PYTHON_ENABLED_TRUE@@WITH_OPENMP_FALSE@        cd $(assimulo_src_dir)/..; \
1099@PYTHON_ENABLED_TRUE@@WITH_OPENMP_FALSE@        find Assimulo -type f |grep -v /.svn | grep -v .pyc | grep -v ~ |tar c -T - -f - | tar x -C $(assimulo_build_dir); \
1100@PYTHON_ENABLED_TRUE@@WITH_OPENMP_FALSE@        cd $(assimulo_build_dir)/Assimulo; \
1101@PYTHON_ENABLED_TRUE@@WITH_OPENMP_FALSE@        case $(build) in \
1102@PYTHON_ENABLED_TRUE@@WITH_OPENMP_FALSE@        *-cygwin*) \
1103@PYTHON_ENABLED_TRUE@@WITH_OPENMP_FALSE@        python setup.py install --sundials-home=$(SUNDIALS_HOME) --blas-home=$(abs_builddir)/blas_install/ --lapack-home=$(abs_builddir)/lapack_install/ $(BUILD_WITH_PYTHON32_ARG) --prefix=$(assimulo_install_dir) ;; \
1104@PYTHON_ENABLED_TRUE@@WITH_OPENMP_FALSE@        *-mingw*) \
1105@PYTHON_ENABLED_TRUE@@WITH_OPENMP_FALSE@        python setup.py install --sundials-home=$(SUNDIALS_HOME) --blas-home=$(abs_builddir)/blas_install/ --lapack-home=$(abs_builddir)/lapack_install/ $(BUILD_WITH_PYTHON32_ARG) $(NUMPY_NO_MSVCR_ARG) --prefix=$(assimulo_install_dir) ;; \
1106@PYTHON_ENABLED_TRUE@@WITH_OPENMP_FALSE@        *) \
1107@PYTHON_ENABLED_TRUE@@WITH_OPENMP_FALSE@        python setup.py install --sundials-home=$(SUNDIALS_HOME) --blas-home=$(abs_builddir)/blas_install/ --lapack-home=$(abs_builddir)/lapack_install/ --prefix=$(assimulo_install_dir) ;; \
1108@PYTHON_ENABLED_TRUE@@WITH_OPENMP_FALSE@        esac
1109@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_OPENMP_FALSE@@WITH_PYTHON64_TRUE@     mkdir -p $(assimulo_build_dir64); \
1110@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_OPENMP_FALSE@@WITH_PYTHON64_TRUE@     cd $(assimulo_src_dir)/..; \
1111@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_OPENMP_FALSE@@WITH_PYTHON64_TRUE@     find Assimulo -type f |grep -v /.svn | grep -v .pyc | grep -v ~ |tar c -T - -f - | tar x -C $(assimulo_build_dir64); \
1112@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_OPENMP_FALSE@@WITH_PYTHON64_TRUE@     cd $(assimulo_build_dir64)/Assimulo; \
1113@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_OPENMP_FALSE@@WITH_PYTHON64_TRUE@     export PATH=$(PYTHON64_HOME):$(PYTHON64_HOME)/Scripts:$(PYTHON64_HOME)/Lib:"${PATH}"; \
1114@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_OPENMP_FALSE@@WITH_PYTHON64_TRUE@     export PYTHONHOME=$(PYTHON64_HOME); \
1115@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_OPENMP_FALSE@@WITH_PYTHON64_TRUE@     python setup.py install --sundials-home=$(SUNDIALS_HOME)64 --blas-home=$(abs_builddir)/blas_install64/ --lapack-home=$(abs_builddir)/lapack_install64/ --force-32bit="false" $(NUMPY_NO_MSVCR_ARG) --prefix=$(assimulo_install_dir64) ; \
1116@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_OPENMP_FALSE@@WITH_PYTHON64_TRUE@     export PATH="$(ORIG_PATH)"; \
1117@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_OPENMP_FALSE@@WITH_PYTHON64_TRUE@     export PYTHONHOME=$(ORIG_PYTHON_HOME)
1118@PYTHON_ENABLED_TRUE@   cd $(abs_top_srcdir)/Python/src; \
1119@PYTHON_ENABLED_TRUE@   python setup_pymodelica.py install --prefix=$(pymodelica_install_dir); \
1120@PYTHON_ENABLED_TRUE@   rm -rf build
1121@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        cd $(abs_top_srcdir)/Python/src; \
1122@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        export PATH=$(PYTHON64_HOME):$(PYTHON64_HOME)/Scripts:$(PYTHON64_HOME)/Lib:"${PATH}"; \
1123@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        export PYTHONHOME=$(PYTHON64_HOME); \
1124@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        python setup_pymodelica.py install --prefix=$(pymodelica_install_dir64); \
1125@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        export PATH="$(ORIG_PATH)"; \
1126@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        export PYTHONHOME=$(ORIG_PYTHON_HOME); \
1127@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        rm -rf build
1128@PYTHON_ENABLED_TRUE@   mkdir -p $(pyfmi_build_dir); \
1129@PYTHON_ENABLED_TRUE@   cd $(abs_top_srcdir)/external; \
1130@PYTHON_ENABLED_TRUE@   find PyFMI -type f |grep -v /.svn | grep -v .pyc | grep -v ~ |tar c -T - -f - | tar x -C $(pyfmi_build_dir); \
1131@PYTHON_ENABLED_TRUE@   cd $(pyfmi_build_dir)/PyFMI; \
1132@PYTHON_ENABLED_TRUE@   case $(build) in \
1133@PYTHON_ENABLED_TRUE@   *-cygwin*) \
1134@PYTHON_ENABLED_TRUE@   python setup.py install --fmil-home=$(abs_builddir)/FMIL_install$(DEP_SUFFIX)/ $(BUILD_WITH_PYTHON32_ARG) --prefix=$(pyfmi_install_dir) ;; \
1135@PYTHON_ENABLED_TRUE@   *-mingw*) \
1136@PYTHON_ENABLED_TRUE@   python setup.py install --fmil-home=$(abs_builddir)/FMIL_install$(DEP_SUFFIX)/ $(BUILD_WITH_PYTHON32_ARG) $(NUMPY_NO_MSVCR_ARG) --prefix=$(pyfmi_install_dir) ;; \
1137@PYTHON_ENABLED_TRUE@   *) \
1138@PYTHON_ENABLED_TRUE@   python setup.py install --fmil-home=$(abs_builddir)/FMIL_install/ --prefix=$(pyfmi_install_dir) ;; \
1139@PYTHON_ENABLED_TRUE@   esac
1140@PYTHON_ENABLED_TRUE@   rm -rf build
1141@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        mkdir -p $(pyfmi_build_dir64); \
1142@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        cd $(abs_top_srcdir)/external; \
1143@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        find PyFMI -type f |grep -v /.svn | grep -v .pyc | grep -v ~ |tar c -T - -f - | tar x -C $(pyfmi_build_dir64); \
1144@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        cd $(pyfmi_build_dir64)/PyFMI; \
1145@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        export PATH=$(PYTHON64_HOME):$(PYTHON64_HOME)/Scripts:$(PYTHON64_HOME)/Lib:"${PATH}"; \
1146@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        export PYTHONHOME=$(PYTHON64_HOME); \
1147@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        python setup.py install --fmil-home=$(abs_builddir)/FMIL_install64/ $(NUMPY_NO_MSVCR_ARG) --prefix=$(pyfmi_install_dir64); \
1148@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        export PATH="$(ORIG_PATH)"; \
1149@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        export PYTHONHOME=$(ORIG_PYTHON_HOME); \
1150@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        rm -rf build
1151@PYTHON_ENABLED_TRUE@   cd $(abs_top_srcdir)/Python/src; \
1152@PYTHON_ENABLED_TRUE@   python setup_pyjmi.py install --prefix=$(pyjmi_install_dir); \
1153@PYTHON_ENABLED_TRUE@   rm -rf build
1154@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        cd $(abs_top_srcdir)/Python/src; \
1155@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        export PATH=$(PYTHON64_HOME):$(PYTHON64_HOME)/Scripts:$(PYTHON64_HOME)/Lib:"${PATH}"; \
1156@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        export PYTHONHOME=$(PYTHON64_HOME); \
1157@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        python setup_pyjmi.py install --prefix=$(pyjmi_install_dir64); \
1158@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        export PATH="$(ORIG_PATH)"; \
1159@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        export PYTHONHOME=$(ORIG_PYTHON_HOME); \
1160@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        rm -rf build
1161
1162install-python-tests:
1163@PYTHON_ENABLED_TRUE@   chmod ugo+x jm_tests
1164@PYTHON_ENABLED_TRUE@   cp -p jm_tests $(DESTDIR)$(prefix)/jm_tests
1165
1166@PYTHON_ENABLED_TRUE@   cd $(abs_top_srcdir)/Python/src/tests_jmodelica/; \
1167@PYTHON_ENABLED_TRUE@   mkdir -p $(DESTDIR)$(prefix)/Python/tests_jmodelica; \
1168@PYTHON_ENABLED_TRUE@   find . -type f |grep -v /.svn | grep -v .pyc | grep -v ~ |tar c -T - -f - | tar x -C $(DESTDIR)$(prefix)/Python/tests_jmodelica
1169@PYTHON_ENABLED_TRUE@   rm -rf $(DESTDIR)$(prefix)/Python/tests_jmodelica/files/Modelica/Resources/src
1170@PYTHON_ENABLED_TRUE@   rm -f $(DESTDIR)$(prefix)/Python/tests_jmodelica/files/Modelica/Resources/CMakeLists.txt
1171@PYTHON_ENABLED_TRUE@   rm -f $(DESTDIR)$(prefix)/Python/tests_jmodelica/files/Modelica/Resources/Makefile.am
1172@PYTHON_ENABLED_TRUE@   rm -f $(DESTDIR)$(prefix)/Python/tests_jmodelica/files/Modelica/Resources/Makefile.in
1173@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        cd $(abs_top_srcdir)/Python/src/tests_jmodelica/; \
1174@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        mkdir -p $(DESTDIR)$(prefix)/Python_64/tests_jmodelica; \
1175@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        find . -type f |grep -v /.svn | grep -v .pyc | grep -v ~ |tar c -T - -f - | tar x -C $(DESTDIR)$(prefix)/Python_64/tests_jmodelica
1176@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        rm -rf $(DESTDIR)$(prefix)/Python_64/tests_jmodelica/files/Modelica/Resources/src
1177@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        rm -f $(DESTDIR)$(prefix)/Python_64/tests_jmodelica/files/Modelica/Resources/CMakeLists.txt
1178@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        rm -f $(DESTDIR)$(prefix)/Python_64/tests_jmodelica/files/Modelica/Resources/Makefile.am
1179@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        rm -f $(DESTDIR)$(prefix)/Python_64/tests_jmodelica/files/Modelica/Resources/Makefile.in
1180
1181install-python-packages: build-python-packages install-python-tests
1182@PYTHON_ENABLED_TRUE@   mkdir -p $(DESTDIR)$(prefix)/Python
1183@PYTHON_ENABLED_TRUE@   cp $(abs_top_srcdir)/Python/src/startup.py $(DESTDIR)$(prefix)/
1184@PYTHON_ENABLED_TRUE@   cp Python/src/required_defaults.py $(DESTDIR)$(prefix)/Python/
1185@PYTHON_ENABLED_TRUE@   [ $(abs_top_srcdir) == $(DESTDIR)$(prefix) ] && echo "Installing in dist directory, don't copy LICENSE file" || cp $(abs_top_srcdir)/Python/LICENSE $(DESTDIR)$(prefix)/Python
1186@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        mkdir -p $(DESTDIR)$(prefix)/Python_64
1187@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        cp Python/src/required_defaults.py $(DESTDIR)$(prefix)/Python_64/
1188@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@@WITH_PYTHON64_TRUE@        [ $(abs_top_srcdir) == $(DESTDIR)$(prefix) ] && echo "Installing in dist directory, don't copy LICENSE file" || cp $(abs_top_srcdir)/Python/LICENSE $(DESTDIR)$(prefix)/Python_64
1189@PYTHON_ENABLED_TRUE@   for pkgdir in lib/python2.5 lib/python2.6 lib/python2.7 lib/python3.7 lib64/python2.5 lib64/python2.6 lib64/python2.7 lib64/python3.7 Lib; do \
1190@PYTHON_ENABLED_TRUE@   if [ -e $(assimulo_install_dir)/$${pkgdir}/site-packages/ ]; \
1191@PYTHON_ENABLED_TRUE@   then \
1192@PYTHON_ENABLED_TRUE@   cd $(assimulo_install_dir)/$${pkgdir}/site-packages/; \
1193@PYTHON_ENABLED_TRUE@   find assimulo -type f |grep -v /.svn | grep -v .pyc | grep -v ~ |tar c -T - -f - | tar x -C $(DESTDIR)$(prefix)/Python; \
1194@PYTHON_ENABLED_TRUE@   fi; \
1195@PYTHON_ENABLED_TRUE@   done
1196@PYTHON_ENABLED_TRUE@   for pkgdir in lib/python2.5 lib/python2.6 lib/python2.7 lib/python3.7 lib64/python2.5 lib64/python2.6 lib64/python2.7 lib64/python3.7 Lib; do \
1197@PYTHON_ENABLED_TRUE@   if [ -e $(pymodelica_install_dir)/$${pkgdir}/site-packages/ ]; \
1198@PYTHON_ENABLED_TRUE@   then \
1199@PYTHON_ENABLED_TRUE@   cd $(pymodelica_install_dir)/$${pkgdir}/site-packages/; \
1200@PYTHON_ENABLED_TRUE@   find pymodelica -type f |grep -v /.svn | grep -v .pyc | grep -v ~ |tar c -T - -f - | tar x -C $(DESTDIR)$(prefix)/Python; \
1201@PYTHON_ENABLED_TRUE@   fi; \
1202@PYTHON_ENABLED_TRUE@   done
1203@PYTHON_ENABLED_TRUE@   for pkgdir in lib/python2.5 lib/python2.6 lib/python2.7 lib/python3.7 lib64/python2.5 lib64/python2.6 lib64/python2.7 lib64/python3.7 Lib; do \
1204@PYTHON_ENABLED_TRUE@   if [ -e $(pyjmi_install_dir)/$${pkgdir}/site-packages/ ]; \
1205@PYTHON_ENABLED_TRUE@   then \
1206@PYTHON_ENABLED_TRUE@   cd $(pyjmi_install_dir)/$${pkgdir}/site-packages/; \
1207@PYTHON_ENABLED_TRUE@   find pyjmi -type f |grep -v /.svn | grep -v .pyc | grep -v ~ |tar c -T - -f - | tar x -C $(DESTDIR)$(prefix)/Python; \
1208@PYTHON_ENABLED_TRUE@   fi; \
1209@PYTHON_ENABLED_TRUE@   done
1210@PYTHON_ENABLED_TRUE@   for pkgdir in lib/python2.5 lib/python2.6 lib/python2.7 lib/python3.7 lib64/python2.5 lib64/python2.6 lib64/python2.7 lib64/python3.7 Lib; do \
1211@PYTHON_ENABLED_TRUE@   if [ -e $(pyfmi_install_dir)/$${pkgdir}/site-packages/ ]; \
1212@PYTHON_ENABLED_TRUE@   then \
1213@PYTHON_ENABLED_TRUE@   cd $(pyfmi_install_dir)/$${pkgdir}/site-packages/; \
1214@PYTHON_ENABLED_TRUE@   find pyfmi -type f |grep -v /.svn | grep -v .pyc | grep -v ~ |tar c -T - -f - | tar x -C $(DESTDIR)$(prefix)/Python; \
1215@PYTHON_ENABLED_TRUE@   fi; \
1216@PYTHON_ENABLED_TRUE@   done
1217@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    for pkgdir in lib/python2.5 lib/python2.6 lib/python2.7 lib/python3.7 lib64/python2.5 lib64/python2.6 lib64/python2.7 lib64/python3.7 Lib; do \
1218@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    if [ -e $(assimulo_install_dir64)/$${pkgdir}/site-packages/ ]; \
1219@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    then \
1220@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    cd $(assimulo_install_dir64)/$${pkgdir}/site-packages/; \
1221@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    find assimulo -type f |grep -v /.svn | grep -v .pyc | grep -v ~ |tar c -T - -f - | tar x -C $(DESTDIR)$(prefix)/Python_64; \
1222@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    fi; \
1223@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    done
1224@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    for pkgdir in lib/python2.5 lib/python2.6 lib/python2.7 lib/python3.7 lib64/python2.5 lib64/python2.6 lib64/python2.7 lib64/python3.7 Lib; do \
1225@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    if [ -e $(pymodelica_install_dir64)/$${pkgdir}/site-packages/ ]; \
1226@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    then \
1227@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    cd $(pymodelica_install_dir64)/$${pkgdir}/site-packages/; \
1228@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    find pymodelica -type f |grep -v /.svn | grep -v .pyc | grep -v ~ |tar c -T - -f - | tar x -C $(DESTDIR)$(prefix)/Python_64; \
1229@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    fi; \
1230@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    done
1231@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    for pkgdir in lib/python2.5 lib/python2.6 lib/python2.7 lib/python3.7 lib64/python2.5 lib64/python2.6 lib64/python2.7 lib64/python3.7 Lib; do \
1232@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    if [ -e $(pyjmi_install_dir64)/$${pkgdir}/site-packages/ ]; \
1233@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    then \
1234@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    cd $(pyjmi_install_dir64)/$${pkgdir}/site-packages/; \
1235@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    find pyjmi -type f |grep -v /.svn | grep -v .pyc | grep -v ~ |tar c -T - -f - | tar x -C $(DESTDIR)$(prefix)/Python_64; \
1236@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    fi; \
1237@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    done
1238@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    for pkgdir in lib/python2.5 lib/python2.6 lib/python2.7 lib/python3.7 lib64/python2.5 lib64/python2.6 lib64/python2.7 lib64/python3.7 Lib; do \
1239@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    if [ -e $(pyfmi_install_dir64)/$${pkgdir}/site-packages/ ]; \
1240@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    then \
1241@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    cd $(pyfmi_install_dir64)/$${pkgdir}/site-packages/; \
1242@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    find pyfmi -type f |grep -v /.svn | grep -v .pyc | grep -v ~ |tar c -T - -f - | tar x -C $(DESTDIR)$(prefix)/Python_64; \
1243@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    fi; \
1244@JM_WIN64_TRUE@@PYTHON_ENABLED_TRUE@    done
1245@PYTHON_ENABLED_TRUE@   mkdir -p $(DESTDIR)$(prefix)/bin
1246@PYTHON_ENABLED_TRUE@   [ -e $(DESTDIR)$(prefix)/bin/jm_python.sh ] && echo "File exists, don't copy jm_python.sh" || cp Python/jm_python.sh $(DESTDIR)$(prefix)/bin/jm_python.sh
1247@PYTHON_ENABLED_TRUE@   [ -e $(DESTDIR)$(prefix)/bin/jm_ipython.sh  ] && echo "File exists, don't jm_ipython.sh" || cp Python/jm_ipython.sh $(DESTDIR)$(prefix)/bin/jm_ipython.sh
1248@PYTHON_ENABLED_TRUE@   chmod ugo+x $(DESTDIR)$(prefix)/bin/jm_*.sh
1249
1250all-local: build-python-packages build-compiler $(abs_builddir)/version.txt build-extra
1251
1252$(abs_builddir)/version.txt: TODO-always-trigger
1253        $(abs_top_srcdir)/get_version.sh $(abs_top_srcdir) https://svn.jmodelica.org > $(@)
1254
1255build-extra: TODO-always-trigger
1256        if [ "$(BUILD_EXTRA)" ]; then exec "$(BUILD_EXTRA)" "$(abs_top_srcdir)" "$(DESTDIR)$(prefix)"; fi
1257
1258install-exec-local: install-python-packages install-compiler install-modules
1259        [ $(abs_top_srcdir) == $(DESTDIR)$(prefix) ] && echo "Installing in dist directory, don't copy LICENSE file" || cp $(abs_top_srcdir)/LICENSE $(DESTDIR)$(prefix)/
1260        cp $(abs_top_srcdir)/RuntimeLibrary/LICENSE_GPL $(DESTDIR)$(prefix)/lib/
1261        cp $(abs_top_srcdir)/RuntimeLibrary/LICENSE_CPL $(DESTDIR)$(prefix)/lib/
1262        cp $(abs_top_srcdir)/RuntimeLibrary/LICENSE_GPL $(DESTDIR)$(prefix)/include/
1263        cp $(abs_top_srcdir)/RuntimeLibrary/LICENSE_CPL $(DESTDIR)$(prefix)/include/
1264        mkdir -p $(DESTDIR)$(prefix)/Makefiles
1265        cp $(abs_top_srcdir)/RuntimeLibrary/LICENSE_GPL $(DESTDIR)$(prefix)/Makefiles/LICENSE
1266        case $(build) in \
1267        *-cygwin*|*-mingw*) \
1268        cp $(abs_top_srcdir)/RuntimeLibrary/Makefiles/Makefile.windows $(DESTDIR)$(prefix)/Makefiles/MakeFile && \
1269        mkdir -p $(DESTDIR)$(prefix)/ThirdParty/winpthreads/lib/winpthreads && \
1270        mkdir -p $(DESTDIR)$(prefix)/ThirdParty/winpthreads/include && \
1271        cp $(abs_builddir)/winpthreads_build/COPYING $(DESTDIR)$(prefix)/ThirdParty/winpthreads && \
1272        cp $(abs_builddir)/winpthreads_build/.libs/libwinpthread.a $(DESTDIR)$(prefix)/ThirdParty/winpthreads/lib/winpthreads && \
1273        cp $(abs_builddir)/winpthreads_build/include/*.h $(DESTDIR)$(prefix)/ThirdParty/winpthreads/include ;; \
1274        *-apple*) \
1275        cp $(abs_top_srcdir)/RuntimeLibrary/Makefiles/Makefile.macosx $(DESTDIR)$(prefix)/Makefiles/MakeFile ;; \
1276        *) \
1277        cp $(abs_top_srcdir)/RuntimeLibrary/Makefiles/Makefile.linux $(DESTDIR)$(prefix)/Makefiles/MakeFile ;; \
1278        esac
1279
1280        mkdir -p $(DESTDIR)$(prefix)/ThirdParty
1281        mkdir -p $(DESTDIR)$(prefix)/ThirdParty/Sundials
1282        cp -r $(SUNDIALS_HOME)/* $(DESTDIR)$(prefix)/ThirdParty/Sundials
1283        cp $(abs_top_srcdir)/ThirdParty/Sundials/sundials-2.7.0/LICENSE $(DESTDIR)$(prefix)/ThirdParty/Sundials
1284@JM_WIN64_TRUE@ mkdir -p $(DESTDIR)$(prefix)/ThirdParty/Sundials/lib64
1285@JM_WIN64_TRUE@ cp -r $(SUNDIALS_HOME)64/lib/* $(DESTDIR)$(prefix)/ThirdParty/Sundials/lib64
1286@JM_WIN64_TRUE@ mkdir -p $(DESTDIR)$(prefix)/ThirdParty/winpthreads/lib/winpthreads64
1287@JM_WIN64_TRUE@ cp $(abs_builddir)/winpthreads_build64/.libs/libwinpthread.a $(DESTDIR)$(prefix)/ThirdParty/winpthreads/lib/winpthreads64
1288        mkdir -p $(DESTDIR)$(prefix)/ThirdParty/Minpack
1289        cp -r $(MINPACK_HOME)/* $(DESTDIR)$(prefix)/ThirdParty/Minpack
1290        cp $(abs_top_srcdir)/ThirdParty/Minpack/cminpack-1.3.2/CopyrightMINPACK.txt $(DESTDIR)$(prefix)/ThirdParty/Minpack
1291        if [ $(abs_top_srcdir) == $(DESTDIR)$(prefix) ]; then \
1292          echo "Installing in dist directory, don't copy MSL"; \
1293        else \
1294          mkdir -p "$(DESTDIR)$(prefix)/ThirdParty/MSL/Modelica"; \
1295          mkdir -p "$(DESTDIR)$(prefix)/ThirdParty/MSL/ModelicaServices"; \
1296          cd "$(DESTDIR)$(prefix)/ThirdParty/MSL"; \
1297          find . -depth -print0 | while read -d $$'\0' -r f ; do if [ ! -e "$(abs_top_srcdir)/ThirdParty/MSL/$${f}" ]; then rm -rf "$${f}"; fi; done; \
1298          cd "$(abs_top_srcdir)/ThirdParty/MSL/Modelica"; \
1299          find * -type f |grep -v /.svn | grep -v ~ |tar c -T - -f - | tar x -C "$(DESTDIR)$(prefix)/ThirdParty/MSL/Modelica"; \
1300          cd "$(abs_top_srcdir)/ThirdParty/MSL/ModelicaServices"; \
1301          find * -type f |grep -v /.svn | grep -v ~ |tar c -T - -f - | tar x -C "$(DESTDIR)$(prefix)/ThirdParty/MSL/ModelicaServices"; \
1302          cd "$(abs_top_srcdir)/ThirdParty/MSL"; \
1303          $(CP) Complex.mo "$(DESTDIR)$(prefix)/ThirdParty/MSL"; \
1304        fi
1305        mkdir -p $(DESTDIR)$(prefix)/CodeGenTemplates
1306        mkdir -p $(DESTDIR)$(prefix)/CodeGenTemplates/FMIBase
1307        cp $(abs_top_srcdir)/RuntimeLibrary/LICENSE_GPL $(DESTDIR)$(prefix)/CodeGenTemplates/LICENSE
1308        cp -r $(abs_top_srcdir)/Compiler/ModelicaCBackEnd/templates/*.c $(DESTDIR)$(prefix)/CodeGenTemplates
1309        cp -r $(abs_top_srcdir)/Compiler/ModelicaCBackEnd/templates/FMIBase/*.c $(DESTDIR)$(prefix)/CodeGenTemplates/FMIBase
1310        cp -r $(abs_top_srcdir)/Compiler/ModelicaCBackEnd/templates/FMIBase/*.h $(DESTDIR)$(prefix)/CodeGenTemplates/FMIBase
1311        cp  $(abs_top_srcdir)/Compiler/ModelicaFMUXBackEnd/templates/*.tpl $(DESTDIR)$(prefix)/CodeGenTemplates
1312        mkdir -p $(DESTDIR)$(prefix)/XML
1313        [ $(abs_top_srcdir) == $(DESTDIR)$(prefix) ] && echo "Installing in dist directory, don't copy XML schemas"  || cp  $(abs_top_srcdir)/XML/*.xsd $(DESTDIR)$(prefix)/XML
1314        [ $(abs_top_srcdir) == $(DESTDIR)$(prefix) ] && echo "Installing in dist directory, don't copy XML LICENSE"  || cp  $(abs_top_srcdir)/XML/LICENSE $(DESTDIR)$(prefix)/XML
1315        cp  $(abs_builddir)/version.txt $(DESTDIR)$(prefix)
1316        if [ "$(INSTALL_EXTRA)" ]; then exec "$(INSTALL_EXTRA)" "$(abs_top_srcdir)" "$(DESTDIR)$(prefix)"; fi
1317
1318install-compiler: $(ant_output_jars) $(ant_output_options)
1319@HAVE_ANT_TRUE@ mkdir -p $(DESTDIR)$(prefix)/lib/
1320@HAVE_ANT_TRUE@ install -t $(DESTDIR)$(prefix)/lib/ $(ant_output_jars)
1321@HAVE_ANT_TRUE@ install -t $(DESTDIR)$(prefix)/ $(ant_output_options)
1322
1323$(ant_output_jars) $(ant_output_options): build-compiler
1324
1325build-compiler: TODO-always-trigger
1326@HAVE_ANT_TRUE@ mkdir -p $(JAVA_BUILD_DIR)
1327@HAVE_ANT_TRUE@ cd $(JAVA_BUILD_DIR); \
1328@HAVE_ANT_TRUE@ $(ANT_OPTS) $(ANT) -f "$(JAVA_MC_ANT_FILE)" "-Dcompiler=$(COMPILER_DIR)" "-Dtarget=$(JAVA_BUILD_DIR)"
1329@HAVE_ANT_TRUE@ cd $(JAVA_BUILD_DIR); \
1330@HAVE_ANT_TRUE@ $(ANT_OPTS) $(ANT) -f "$(JAVA_OC_ANT_FILE)" "-Dcompiler=$(COMPILER_DIR)" "-Dtarget=$(JAVA_BUILD_DIR)"
1331
1332# Dummy target used to always trigger rebuilds. Used to enable references to
1333# outputs from phony targets as real targets. For example ant output.
1334TODO-always-trigger: ;
1335
1336install-modules: install-modules-ModelicaFrontEnd
1337
1338install-modules-ModelicaFrontEnd: $(BEAVER_INSTALL_DIR)/LICENSE $(BEAVER_INSTALL_DIR)/lib/beaver-rt.jar
1339
1340$(BEAVER_INSTALL_DIR)/%: $(BEAVER_SOURCE)/%
1341        install -D $(<) $(@)
1342
1343bindistdir: install
1344        rm -rf $(bindistdir)
1345        mkdir -p $(bindistdir)
1346        cp $(DESTDIR)$(prefix)/LICENSE $(bindistdir)
1347        cp $(DESTDIR)$(prefix)/startup.py $(bindistdir)
1348        cp $(DESTDIR)$(prefix)/version.txt $(bindistdir)
1349        cp $(DESTDIR)$(prefix)/DefaultOptions.xml $(bindistdir)
1350        cp -r $(DESTDIR)$(prefix)/CodeGenTemplates $(bindistdir)
1351        cp -r $(DESTDIR)$(prefix)/Makefiles $(bindistdir)
1352        cp -r $(DESTDIR)$(prefix)/Python $(bindistdir)
1353        cp -r $(DESTDIR)$(prefix)/ThirdParty $(bindistdir)
1354        cp -r $(DESTDIR)$(prefix)/XML $(bindistdir)
1355        cp -r $(DESTDIR)$(prefix)/include $(bindistdir)
1356        cp -r $(DESTDIR)$(prefix)/lib $(bindistdir)
1357@COMPILE_WITH_IPOPT_TRUE@       mkdir -p $(bindistdir)/ThirdParty/Ipopt
1358# Copy files
1359@COMPILE_WITH_IPOPT_TRUE@       cd $(IPOPT_HOME); find * -type f |grep -v /.svn | grep -v ~ |tar c -T - -f - | tar x -C $(abs_builddir)/$(bindistdir)/ThirdParty/Ipopt
1360# Copy symbolic links
1361@COMPILE_WITH_IPOPT_TRUE@       cd $(IPOPT_HOME); find * -type l |grep -v /.svn | grep -v ~ |tar c -T - -f - | tar x -C $(abs_builddir)/$(bindistdir)/ThirdParty/Ipopt
1362
1363@WITH_MINGW_TRUE@       mkdir -p $(bindistdir)/ThirdParty/MinGW
1364# Copy files
1365@WITH_MINGW_TRUE@       cd $(MINGW_HOME); find * -type f |grep -v /.svn | grep -v ~ |tar c -T - -f - | tar x -C $(abs_builddir)/$(bindistdir)/ThirdParty/MinGW
1366# Copy symbolic links
1367@WITH_MINGW_TRUE@       cd $(MINGW_HOME); find * -type l |grep -v /.svn | grep -v ~ |tar c -T - -f - | tar x -C $(abs_builddir)/$(bindistdir)/ThirdParty/MinGW
1368
1369bindist: bindistdir
1370        tar -cf $(bindistdir).tar $(bindistdir)
1371        gzip -c $(bindistdir).tar > $(bindistdir).tar.gz
1372        rm -rf $(bindistdir)
1373        rm -rf $(bindistdir).tar
1374
1375test: install
1376        $(prefix)/jm_tests -i
1377
1378clean-local: clean-frontends clean-python-packages clean-casadi-interface
1379
1380clean-python-packages:
1381@PYTHON_ENABLED_TRUE@   if [ -d $(assimulo_build_dir)/Assimulo ]; then \
1382@PYTHON_ENABLED_TRUE@           cd $(assimulo_build_dir)/Assimulo; \
1383@PYTHON_ENABLED_TRUE@           python setup.py clean --all --sundials-home=$(SUNDIALS_HOME); \
1384@PYTHON_ENABLED_TRUE@           cd $(abs_builddir); \
1385@PYTHON_ENABLED_TRUE@   fi;
1386@PYTHON_ENABLED_TRUE@   rm -rf $(assimulo_build_dir) || echo  Could not remove $(assimulo_build_dir)
1387@PYTHON_ENABLED_TRUE@   rm -rf $(assimulo_install_dir) || echo  Could not remove $(assimulo_install_dir)
1388@PYTHON_ENABLED_TRUE@   -cd $(abs_top_srcdir)/Python/src; \
1389@PYTHON_ENABLED_TRUE@   python setup_pymodelica.py clean --all
1390@PYTHON_ENABLED_TRUE@   -rm -rf $(pymodelica_install_dir) || echo  Could not remove $(pymodelica_install_dir)
1391@PYTHON_ENABLED_TRUE@   if [ -d $(pyfmi_build_dir)/PyFMI ]; then \
1392@PYTHON_ENABLED_TRUE@           -cd $(pyfmi_build_dir)/PyFMI; \
1393@PYTHON_ENABLED_TRUE@           python setup.py  clean --all; \
1394@PYTHON_ENABLED_TRUE@           cd $(abs_builddir); \
1395@PYTHON_ENABLED_TRUE@   fi;
1396@PYTHON_ENABLED_TRUE@   -rm -rf $(pyfmi_build_dir) || echo  Could not remove $(pyfmi_build_dir)
1397@PYTHON_ENABLED_TRUE@   -rm -rf $(pyfmi_install_dir) || echo  Could not remove $(pyfmi_install_dir)
1398@PYTHON_ENABLED_TRUE@   -cd $(abs_top_srcdir)/Python/src; \
1399@PYTHON_ENABLED_TRUE@   python setup_pyjmi.py clean --all
1400@PYTHON_ENABLED_TRUE@   -rm -rf $(pyjmi_install_dir)|| echo  Could not remove $(pyjmi_install_dir)
1401
1402clean-frontends:
1403@HAVE_ANT_TRUE@ rm -rf $(JAVA_BUILD_DIR)
1404
1405docs:
1406        cd $(abs_top_srcdir); doxygen doc/ModelicaCompiler/modelica_compiler_doxydoc.conf
1407        cd $(abs_top_srcdir); doxygen doc/OptimicaCompiler/optimica_compiler_doxydoc.conf
1408        make -C $(abs_top_srcdir)/doc/PyJMI html
1409
1410# Tell versions [3.59,3.63) of GNU make to not export all variables.
1411# Otherwise a system limit (for SysV at least) may be exceeded.
1412.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.