Diff for /imach/src/Makefile between versions 1.89 and 1.90

version 1.89, 2022/03/15 18:40:36 version 1.90, 2022/08/31 10:29:08
Line 7  OSTYPE = $(shell echo $$OSTYPE) Line 7  OSTYPE = $(shell echo $$OSTYPE)
 DRIVEG=f:  DRIVEG=f:
 #DIRG is the corresponding build directory for Virtual Windows  #DIRG is the corresponding build directory for Virtual Windows
 DIRG=\imach\cvs\imach\build  DIRG=\imach\cvs\imach\build
 COPYRIGHT=Copyright (C)  2002-2019 INED-EUROREVES-Institut de longevite-Japan Society for the Promotion of Science (Grant-in-Aid for Scientific Research 25293121) - Intel Software 2016-19  COPYRIGHT=Copyright (C)  2002-2022 INED-EUROREVES-Institut de longevite-Japan Society for the Promotion of Science (Grant-in-Aid for Scientific Research 25293121) - Intel Software 2016-19
 IMACHSETUPVERSION=icl  IMACHSETUPVERSION=icl
 # This is for Windows only  # This is for Windows only
 #IMACHSETUPVERSION=mvc  #IMACHSETUPVERSION=mvc
Line 29  IMACHSETUPVERSION=icl Line 29  IMACHSETUPVERSION=icl
 # make _macosx=1 imachopt  # make _macosx=1 imachopt
 #  valgrind  --dsymutil=yes --leak-check=full --show-leak-kinds=all --track-origins=yes ~/Documents/imachcvs/imach/src/imach-1.129cvsmac radlc-1.129.imach  #  valgrind  --dsymutil=yes --leak-check=full --show-leak-kinds=all --track-origins=yes ~/Documents/imachcvs/imach/src/imach-1.129cvsmac radlc-1.129.imach
   
 #        Windows  #        Windows should be started on VirtualBox and both 32 and 64 commands should be made
 # sudo xlcem make _windowsonosx=1 imachICL32-setup   # xlcem is year month delay, doing the command make on the username and not on root
   # on emacs shell:
 # sudo xlcem make _windowsonosx=1 imachICL64-setup  # sudo xlcem make _windowsonosx=1 imachICL64-setup
 # and then  # ls -l ../build/icl64/Release/
 # On Emacs make _windowonosx=1 imachICL-set (and not imachICL-setup)  # sudo xlcem make _windowsonosx=1 imachICL32-setup
   # ls -l ../build/icl32/Release/
   # and then F: should be mounted on ~/Documents
   # For an unknown reason, the exe file on /Documents/imach/cvs/imach/build/icl64/Release~or icl32 are not recognized by make which deletes
   # previous work and imachICL-set
   # has to be done manually:  SETUPCOMP=~/bin/InnoSetup5Playonmac
   # and $SETUPCOMP  /cc setup.iss
   # or on Emacs make _windowsonosx=1 imachICL-set (and not imachICL-setup)
   #  sudo date -u 082109552022 
 # make _windowsonosx=1 imachICL-setup (touch setup.iss.in) #binary should have been compiled on Windows with Intel  # make _windowsonosx=1 imachICL-setup (touch setup.iss.in) #binary should have been compiled on Windows with Intel
 # make _windowsonosx=1 imachICL64-setup (touch setup.iss.in) #binary should have been compiled on Windows with Intel  # make _windowsonosx=1 imachICL64-setup (touch setup.iss.in) #binary should have been compiled on Windows with Intel
 # make _windowsonosx=1 imachICL32-setup (touch setup.iss.in) #binary should have been compiled on Windows with Intel  # make _windowsonosx=1 imachICL32-setup (touch setup.iss.in) #binary should have been compiled on Windows with Intel
Line 75  IMACHSETUPVERSION=icl Line 83  IMACHSETUPVERSION=icl
 #TESTFILE=$(HOME)/Documents/Recherches/REVES/Yao/Yao-19-jan-2016/Vn1b.imach  #TESTFILE=$(HOME)/Documents/Recherches/REVES/Yao/Yao-19-jan-2016/Vn1b.imach
 #TESTFILE=$(HOME)/Documents/Recherches/REVES/SAITO/Saito-PAA-2018/rrLvngArrgJapan-two-1b.imach  #TESTFILE=$(HOME)/Documents/Recherches/REVES/SAITO/Saito-PAA-2018/rrLvngArrgJapan-two-1b.imach
 #TESTFILE=$(HOME)/Documents/Recherches/HRS/RAND_HRS/imachb.imach  #TESTFILE=$(HOME)/Documents/Recherches/HRS/RAND_HRS/imachb.imach
 TESTFILE=$(HOME)/Documents/Recherches/HRS/RAND_HRS/imachb-r18.imach  #TESTFILE=$(HOME)/Documents/Recherches/HRS/RAND_HRS/imachb-r18.imach
   TESTFILE=$(HOME)/Documents/Recherches/REVES/Zachary/Zach-2022/Feinuo_Sun/feinuo-pb2022/para3_testNB.imach
   #TESTFILE=$(HOME)/home/brouard/Documents/Recherches/REVES/Zachary/Zach-2022/Feinuo_Sun/feinuo-pb2022/rrrpara3_testNB30b.imach
   # Two testfiles which should give similar results with V1=1 whatever V2 and V3.
   #TESTFILE=$(HOME)/Documents/Recherches/REVES/Zachary/Zach-2022/Feinuo_Sun/feinuo-pb2022/female_sample/para_femaleNBV2V3sexW0-ter.imach
   TESTFILE=$(HOME)/Documents/Recherches/REVES/Zachary/Zach-2022/Feinuo_Sun/feinuo-pb2022/rrpara3_testNB30sexW0-ter.htm
 #TESTFILE=$(HOME)/Documents/Recherches/REVES/Yao/Yao-19-jan-2016/rrrV4V3V5-suite6.imach  #TESTFILE=$(HOME)/Documents/Recherches/REVES/Yao/Yao-19-jan-2016/rrrV4V3V5-suite6.imach
 #TESTFILE=$(HOME)/Documents/Recherches/REVES/SAITO/Tokyo2014/adlc-test-mac/adecode-1.142c.imach  #TESTFILE=$(HOME)/Documents/Recherches/REVES/SAITO/Tokyo2014/adlc-test-mac/adecode-1.142c.imach
 #TESTFILE=$(HOME)/Documents/Recherches/REVES/SAITO/Tokyo2014/adlc_test_magei4/radlc_often.imach  #TESTFILE=$(HOME)/Documents/Recherches/REVES/SAITO/Tokyo2014/adlc_test_magei4/radlc_often.imach
 #CC= gcc -v  #CC= gcc -v
 CC=$(GCC)  CC=$(GCC)
   CCOPT=$(GCCOPT)
 GCC= gcc  GCC= gcc
   GCCOPT= gcc
   
 ifdef _macosx  ifdef _macosx
   GCC= gcc-11
   GCCOPT= gcc
 # Mac OS/X version  # Mac OS/X version
 LFLAGS= -g -lm   LFLAGS= -g -lm 
 #CFLAGS= -g -DDEBUG   #CFLAGS= -g -DDEBUG 
 CFLAGS= -g   CFLAGS= -g 
 LFLAGSOPT= -O3 -lm   LFLAGSOPT= -O3 -lm
 CFLAGSOPT= -O3   CFLAGSOPT= -O3 
   # LFLAGSOPT= -O2 -lm  # seems to be less effective than O3
   # CFLAGSOPT= -O2 
 CP= cp  CP= cp
 CROSSCOMPILATION= -DCROSS=0  CROSSCOMPILATION= -DCROSS=0
 UNIX2DOS= echo "Unix2dos "   UNIX2DOS= echo "Unix2dos " 
Line 337  imachICL-build: imach.c Line 356  imachICL-build: imach.c
 #  /Users/nbrouard/Documents/imach/imach-gui/build/icl64/Release/imach.exe  #  /Users/nbrouard/Documents/imach/imach-gui/build/icl64/Release/imach.exe
 # both 32 and 64 executables should have been built on Windows with Intel compiler.  # both 32 and 64 executables should have been built on Windows with Intel compiler.
   
 imachICL-set: ../build/icl64/Release/IMaCh-$(VERSION).exe ../build/icl32/Release/IMaCh-$(VERSION).exe setup.iss  setup.iss   imachICL-set: ../build/icl64/Release/imach-$(VERSION).exe ../build/icl32/Release/imach-$(VERSION).exe setup.iss  setup.iss 
         pwd          pwd
         touch setup.iss.in          touch setup.iss.in
           echo SETUPCOMP=$(SETUPCOMP)
           echo STRIP= $(STRIP)
           echo BINVERSION= $(BINVERSION)
         $(SETUPCOMP) /cc setup.iss          $(SETUPCOMP) /cc setup.iss
         $(CP) Output/$(TMPSETUPEXE) imachICL-setup          $(CP) Output/$(TMPSETUPEXE) imachICL-setup
   
Line 626  imachBOBYQAopt.o : imach.c Line 648  imachBOBYQAopt.o : imach.c
 #       $(CC) $(LFLAGSOPT) -o imachback imachback.o  #       $(CC) $(LFLAGSOPT) -o imachback imachback.o
   
 imachopt : imachopt.o   imachopt : imachopt.o 
         $(CC) $(LFLAGSOPT) -o imachopt imachopt.o          $(CCOPT) $(LFLAGSOPT) -o imachopt imachopt.o
         ln -f imachopt imach          ln -f imachopt imach
         $(CP) imachopt Output/imachopt$(VERSION)-$(BINVERSION)          $(CP) imachopt Output/imachopt$(VERSION)-$(BINVERSION)
         $(CP) -f imach ../bin          $(CP) -f imach ../bin
Line 654  imachback.o : imachback.c version.h Line 676  imachback.o : imachback.c version.h
         $(CC)  $(CFLAGS) $(CROSSCOMPILATION)  -c $<          $(CC)  $(CFLAGS) $(CROSSCOMPILATION)  -c $<
   
 imachopt.o : imach.c version.h  imachopt.o : imach.c version.h
         $(CC) $(CFLAGSOPT) $(CROSSCOMPILATION) -o imachopt.o -c imach.c          $(CCOPT) $(CFLAGSOPT) $(CROSSCOMPILATION) -o imachopt.o -c imach.c
 #       $(CC) $(CFLAGSOPT) -DPOWELL -o imachopt.o -c imach.c  #       $(CC) $(CFLAGSOPT) -DPOWELL -o imachopt.o -c imach.c
   
 imachUB : imach32 imach64  imachUB : imach32 imach64
Line 692  imachdmg : imachopt.o ../distributions/o Line 714  imachdmg : imachopt.o ../distributions/o
         cmake ../..;\          cmake ../..;\
         cmake --build . ; \          cmake --build . ; \
         echo $(OSTYPE);\          echo $(OSTYPE);\
           echo $(VERSION);\
         rm -rf imach$(VERSION).app;\          rm -rf imach$(VERSION).app;\
         mkdir -p imach$(VERSION).app;\          mkdir -p imach$(VERSION).app;\
         mkdir -p imach$(VERSION).app/Contents;\          mkdir -p imach$(VERSION).app/Contents;\
         mkdir -p imach$(VERSION).app/Contents/MacOS;\          mkdir -p imach$(VERSION).app/Contents/MacOS;\
         cp ../../distributions/osx/imach imach$(VERSION).app/Contents/MacOS;\  
         mkdir -p imach$(VERSION).app/Contents/Resources;\          mkdir -p imach$(VERSION).app/Contents/Resources;\
         mkdir -p imach$(VERSION).app/Contents/Resources/Scripts;\          mkdir -p imach$(VERSION).app/Contents/Resources/Scripts;\
         mkdir -p imach$(VERSION).app/Contents/Resources/bin;\          mkdir -p imach$(VERSION).app/Contents/Resources/bin;\
Line 704  imachdmg : imachopt.o ../distributions/o Line 726  imachdmg : imachopt.o ../distributions/o
         mkdir -p imach$(VERSION).app/Contents/Resources/doc;\          mkdir -p imach$(VERSION).app/Contents/Resources/doc;\
         mkdir -p imach$(VERSION).app/Contents/Resources/tests;\          mkdir -p imach$(VERSION).app/Contents/Resources/tests;\
         mkdir -p imach$(VERSION).app/Contents/Resources/tests/data;\          mkdir -p imach$(VERSION).app/Contents/Resources/tests/data;\
           cp ../../distributions/osx/imach.sh imach$(VERSION).app/Contents/MacOS;\
         cp IMaCh-$(VERSION) imach$(VERSION).app/Contents/Resources/bin/imach;\          cp IMaCh-$(VERSION) imach$(VERSION).app/Contents/Resources/bin/imach;\
           cp ../../distributions/osx/imach-run.sh imach$(VERSION).app/Contents/Resources/bin;\
         cp ../../distributions/osx/gnuplot_bin/bin/gnuplot imach$(VERSION).app/Contents/Resources/bin/gnuplot;\          cp ../../distributions/osx/gnuplot_bin/bin/gnuplot imach$(VERSION).app/Contents/Resources/bin/gnuplot;\
         cp ../../distributions/osx/gnuplot_bin/lib/* imach$(VERSION).app/Contents/Resources/lib;\          cp ../../distributions/osx/gnuplot_bin/lib/* imach$(VERSION).app/Contents/Resources/lib;\
         mkdir -p imach$(VERSION).app/Contents/Resources/description.rtfd;\          mkdir -p imach$(VERSION).app/Contents/Resources/description.rtfd;\
Line 750  upload: Line 774  upload:
 #       rsync -v Output/imach-0.99r23-icl-setup.exe brouard@henry.ined.fr:/home/euroreves/html/imach/Download  #       rsync -v Output/imach-0.99r23-icl-setup.exe brouard@henry.ined.fr:/home/euroreves/html/imach/Download
 #       rsync -v Output/imach0.99r23.dmg brouard@henry.ined.fr:/home/euroreves/html/imach/Download  #       rsync -v Output/imach0.99r23.dmg brouard@henry.ined.fr:/home/euroreves/html/imach/Download
 #       rsync -v Output/imach-0.99r24-icl-setup.exe brouard@henry.ined.fr:/home/euroreves/html/imach/Download  #       rsync -v Output/imach-0.99r24-icl-setup.exe brouard@henry.ined.fr:/home/euroreves/html/imach/Download
 #       rsync -v Output/imach0.99r24.dmg brouard@henry.ined.fr:/home/euroreves/html/imach/Download  # rsync -v Output/imach0.99r24.dmg brouard@henry.ined.fr:/home/euroreves/html/imach/Download
         rsync -v Output/imach-0.99r24-1.x86_64.rpm brouard@henry.ined.fr:/home/euroreves/html/imach/Download  # rsync -v Output/imach-0.99r24-1.x86_64.rpm brouard@henry.ined.fr:/home/euroreves/html/imach/Download
   # rsync -v Output/imach0.99r25.dmg brouard@henry.ined.fr:/home/euroreves/html/imach/Download
   # rsync -v Output/imach-0.99r25-1.x86_64.rpm brouard@henry.ined.fr:/home/euroreves/html/imach/Download
   # rsync -v Output/imach-0.99r25-icl-setup.exe brouard@henry.ined.fr:/home/euroreves/html/imach/Download
   #       rsync -v Output/imach0.99r27.dmg brouard@henry.ined.fr:/home/euroreves/html/imach/Download
   #       rsync -v brouard@brouard.name:~/Documents/imach/cvs/imach/build/gnulinux/imach-0.99r33-1.x86_64.rpm Output/
   #       rsync -v Output/imach-0.99r33-1.x86_64.rpm brouard@henry.ined.fr:/home/euroreves/html/imach/Download
   #       rsync -v Output/imach-0.99r33-1.x86_64.rpm brouard@henry.ined.fr:/home/euroreves/html/imach/Download
   # rsync -v Output/imach0.99r26.dmg brouard@henry.ined.fr:/home/euroreves/html/imach/Download
   # rsync -v Output/imach-0.99r26-1.x86_64.rpm brouard@henry.ined.fr:/home/euroreves/html/imach/Download
   # rsync -v Output/imach-0.99r26-icl-setup.exe brouard@henry.ined.fr:/home/euroreves/html/imach/Download
 #       rsync -v Output/imach-0.99r19-1.x86_64.rpm brouard@henry.ined.fr:/home/euroreves/html/imach/Download  #       rsync -v Output/imach-0.99r19-1.x86_64.rpm brouard@henry.ined.fr:/home/euroreves/html/imach/Download
 #       rsync -v Output/imach0.99r12-1.x86_64.rpm brouard@henry.ined.fr:/home/euroreves/html/imach/Download  #       rsync -v Output/imach0.99r12-1.x86_64.rpm brouard@henry.ined.fr:/home/euroreves/html/imach/Download
 #       rsync -v Output/* brouard@henry.ined.fr:/home/euroreves/html/imach/Download  #       rsync -v Output/* brouard@henry.ined.fr:/home/euroreves/html/imach/Download
           rsync -v Output/imach-0.99r34-icl-setup.exe brouard@henry.ined.fr:/home/euroreves/html/imach/Download
           rsync -v Output/imach0.99r34.dmg brouard@henry.ined.fr:/home/euroreves/html/imach/Download
   
 imachcyg : imachcyg.o  imachcyg : imachcyg.o
         $(CC) $(LFLAGS) -o imach imachcyg.o          $(CC) $(LFLAGS) -o imach imachcyg.o

Removed from v.1.89  
changed lines
  Added in v.1.90


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>