📄 makefile.am
字号:
# $Id: Makefile.am,v 1.72 2009/03/09 14:00:17 hecht Exp $all-local: @LOAD_COMPILE@TESTS=@LOAD_TESTS@TESTS_ENVIRONMENT=PROGLOC=$(top_srcdir)/src REGEDP=regtests.edp \ EXEEXT=$(EXEEXT) X11PROG=$(X11PROG) GLXPROG=$(GLXPROG) \ AGLPROG=$(AGLPROG) MPIPROG=$(MPIPROG) IDEPROG="$(IDEPROG)" \ VISUALCHECK=$(VISUALCHECK)EXTRA_DIST=load.link.in include.tar.gz \ BernadiRaugel.cpp Morley.cpp dfft.cpp \ funcTemplate.cpp mat_dervieux.cpp mat_psi.cpp myfunction.cpp \ mat_dervieux.cpp convect_dervieux.edp funcTemplate.cpp AFunction_ext.hpp \ regtests.m4 makeref.edp ref.edp myType.edp addNewType.cpp \ qf11to25.cpp Element_P3.cpp Element_P3.hpp Element_P4.cpp Element_P4.hpp \ plot-fb-P3.edp plot-fb-P4.edp LaplaceP3.edp LaplaceP4.edp \ Element_P3dc.cpp Element_P3dc.hpp Element_P4dc.cpp Element_P4dc.hpp \ Element_PkEdge.cpp \ SuperLu.cpp SuperLu.edp \ NewSolver.cpp \ LapDG3.edp convectchacon.edp plot-fb-P3dc.edp \ LapDG4.edp dfft.edp plot-fb-P4dc.edp \ LaplaceP3.edp ref.edp \ LaplaceP4.edp funcTemplate.edp regtests.edp \ NSP2BRP0.edp load.edp testFE-P3.edp \ all.edp makeref.edp testFE-P3dc.edp \ bilapMorley.edp myType.edp testFE.edp \ convect_dervieux.edp testFEMorley.edp \ testFE-PkEdge.edp \ splitmesh3.cpp splitmesh3.edp splitmesh6.cpp splitmesh6.edp \ REAME_SuperLU \ tetgen.cpp\ msh3.cpp msh3.hpp\ ffrandom.cpp ffrandom.edp \ medit.cpp \ bmo.cpp lgbmo.cpp bmo.hppLIST_COMPILE=myfunction.$(DYLIB_SUFFIX) BernadiRaugel.$(DYLIB_SUFFIX) \ Morley.$(DYLIB_SUFFIX) funcTemplate.$(DYLIB_SUFFIX) addNewType.$(DYLIB_SUFFIX) \ qf11to25.$(DYLIB_SUFFIX) Element_P3.$(DYLIB_SUFFIX) Element_P4.$(DYLIB_SUFFIX) \ Element_P3dc.$(DYLIB_SUFFIX) Element_P4dc.$(DYLIB_SUFFIX) \ Element_PkEdge.$(DYLIB_SUFFIX) msh3.$(DYLIB_SUFFIX) \ splitmesh3.$(DYLIB_SUFFIX) splitmesh6.$(DYLIB_SUFFIX) \ ffrandom.$(DYLIB_SUFFIX) \ medit.$(DYLIB_SUFFIX) \ mat_dervieux.$(DYLIB_SUFFIX) lgbmo.$(DYLIB_SUFFIX) mat_psi.$(DYLIB_SUFFIX)\ $(DYLIB_OTHER_COMPILE)LIST_COMPILE_PKG= tetgen.$(DYLIB_SUFFIX) SuperLu.$(DYLIB_SUFFIX) dfft.$(DYLIB_SUFFIX)bin_PROGRAMS=LLSUPERLU=superlu_3.1LLTET=tetLLFFTW3=fftw3LK_TET=-I../download/include -L../download/lib -l$(LLTET)LK_SUPERLU=-I../download/include -L../download/lib -l$(LLSUPERLU) LK_FFTW3=-I../download/include -L../download/lib -l$(LLFFTW3)load_compile:ff-c++ freefem++.pref include $(LIST_COMPILE) $(LIST_COMPILE_PKG)load_download: if [ -f ../download/lib/lib$(LLTET).a -a -f ../download/lib/lib$(LLFFTW3).a \ -a -f ../download/lib/lib$(LLSUPERLU).a ]; then \ $(MAKE) compile-pkg ; \ else echo " no $(LLTET), $(LLSUPERLU) $(LLFFTW3) ";\ echo " try to compile in ../download "; \ echo "( cd "`pwd`"/../download/; $(MAKE) compile-pkg )" ; \ fi#compile : include load_download compile-pkg: $(LIST_COMPILE_PKG) echo " finish build $(LIST_COMPILE_PKG)".cpp.$(DYLIB_SUFFIX): ./ff-c++ $< #glumesh2D.$(DYLIB_SUFFIX): glumesh2D.cpp # ./ff-c++ glumesh2D.cpp#glumesh3D.$(DYLIB_SUFFIX): TransfoMesh_v2.cpp LayerMesh.cpp glumesh3D.cpp # ./ff-c++ TransfoMesh_v2.cpp glumesh3D.cpp#buildlayer.$(DYLIB_SUFFIX): TransfoMesh_v2.cpp LayerMesh.cpp buildlayer.cpp # ./ff-c++ TransfoMesh_v2.cpp LayerMesh.cpp buildlayer.cppmsh3.$(DYLIB_SUFFIX): msh3.cpp ./ff-c++ msh3.cpp lgbmo.$(DYLIB_SUFFIX): bmo.cpp lgbmo.cpp ./ff-c++ bmo.cpp lgbmo.cpp # -- tetgen.$(DYLIB_SUFFIX): $(TETGEN_LOADLINK) echo try to compile -./ff-c++ $(LK_TET) tetgen.cppSuperLu.$(DYLIB_SUFFIX): echo try to compile -./ff-c++ $(LK_SUPERLU) SuperLu.cpp $(BLASLIBS) dfft.$(DYLIB_SUFFIX): echo try to compile -./ff-c++ $(LK_FFTW3) dfft.cpp include: include.tar.gz rm -rf include gunzip -c include.tar.gz| tar xvf - -rm -f include/._*Ref: makeref.edp ../src/nw/FreeFem++-nw makeref.edpmakeref.edp: regtests.m4 ../regtests.m4 m4 regtests.m4 > makeref.edpall-local: all.edp regtests.edp load_compileall.edp: (echo "NoUseOfWait=true;int verbosityy=verbosity;"; \ for i in *`ls *.edp|grep -v -E '^(all|regtests|makeref|ref)\.edp$$'` ; do \ echo ' cout << "--------- file : '$$i' --------------------------------------------------------" << endl;' ;\ echo "verbosity=verbosityy;" ; \ echo \{ include \"$$i\"\;\}\; ;\ echo ' cout << "------------------------------------------------------------------------------ " << endl;' ;\ done) > $@# To check the scripts against their reference valuesregtests.edp: regtests.m4 ../regtests.m4 m4 -DASSERT regtests.m4 > regtests.edp$(LIST_COMPILE):ff-c++ include Makefile clean-local: -rm *.o $(LIST_COMPILE) regtests.edp makeref.edp -rm -rf includeff-c++:load.link.in Makefile load.link ../config.status --file=ff-c++:load.link.in chmod a+x ff-c++load.link:load.link.in Makefile ../config.status --file=load.link:load.link.in chmod a+x load.linkfreefem++.pref: echo loadpath = \"./\" >freefem++.prefinstall-exec-local:: load_compile $(mkinstalldirs) -m 755 $(DESTDIR)$(ff_prefix_dir)/lib $(mkinstalldirs) -m 755 $(DESTDIR)$(ff_prefix_dir)/include $(mkinstalldirs) -m 755 $(DESTDIR)$(ff_prefix_dir)/etc $(INSTALL_DATA) include/* $(DESTDIR)$(ff_prefix_dir)/include $(INSTALL) -m 555 $(LIST_COMPILE) $(DESTDIR)$(ff_prefix_dir)/lib echo loadpath += \"./\" >$(DESTDIR)$(ff_prefix_dir)/etc/freefem++.pref echo loadpath += \"$(ff_prefix_dir)/lib\" >>$(DESTDIR)$(ff_prefix_dir)/etc/freefem++.pref echo includepath += \"$(ff_prefix_dir)/edp\" >>$(DESTDIR)$(ff_prefix_dir)/etc/freefem++.pref $(INSTALL_SCRIPT) ff-c++ $(DESTDIR)${bindir} -$(INSTALL) -m 555 $(LIST_COMPILE_PKG) $(DESTDIR)$(ff_prefix_dir)/lib
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -