version 1.41, 2014/08/29 05:58:08
|
version 1.43, 2014/09/01 18:07:27
|
Line 1
|
Line 1
|
VERSION=0.98nX |
VERSION=0.98nX |
COPYRIGHT=Copyright (C) 2002-2015 INED-EUROREVES-Institut de longevite-Japan Society for the Promotion of Science (Grant-in-Aid for Scientific Research 25293121) |
COPYRIGHT=Copyright (C) 2002-2015 INED-EUROREVES-Institut de longevite-Japan Society for the Promotion of Science (Grant-in-Aid for Scientific Research 25293121) |
IMACHSETUPVERSION=1 |
IMACHSETUPVERSION=2 |
|
|
# Linux |
# Linux |
# make _linux=1 imachopt |
# make _linux=1 imachopt |
Line 9 IMACHSETUPVERSION=1
|
Line 9 IMACHSETUPVERSION=1
|
# make _linux32onosx=1 imachopt |
# make _linux32onosx=1 imachopt |
# make _linux64onosx=1 imachopt |
# make _linux64onosx=1 imachopt |
|
|
|
# OS/X |
# make _macosx=1 imach |
# make _macosx=1 imach |
# make _macosx=1 imachdmg |
# make _macosx=1 imachdmg |
# 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 |
|
# make imachMVC-setup (touch setup.iss.in) |
|
# make imachMVC-noreg-setup |
|
# |
# make _windows=1 imachcyg |
# make _windows=1 imachcyg |
# make _windows=1 imachcyg-setup (touch setup.iss.in) |
# make _windows=1 imachcyg-setup (touch setup.iss.in) |
# make _windows=1 imachcyg-noreg-setup |
# make _windows=1 imachcyg-noreg-setup |
Line 22 IMACHSETUPVERSION=1
|
Line 25 IMACHSETUPVERSION=1
|
# make _windowsonlinux=1 imachcyg-setup (touch setup.iss.in) |
# make _windowsonlinux=1 imachcyg-setup (touch setup.iss.in) |
# make _windowsonlinux=1 imachcyg-noreg-setup |
# make _windowsonlinux=1 imachcyg-noreg-setup |
# |
# |
|
# make _windowscl=1 imachclopt |
|
|
# |
# |
# sortie dans Output/setup.exe |
# sortie dans Output/setup.exe |
Line 43 LFLAGSOPT= -O3 -lm -DUNIX
|
Line 47 LFLAGSOPT= -O3 -lm -DUNIX
|
CFLAGSOPT= -O3 -DUNIX |
CFLAGSOPT= -O3 -DUNIX |
UNIX2DOS= echo "Unix2dos " |
UNIX2DOS= echo "Unix2dos " |
DSYMUTIL= dsymutil |
DSYMUTIL= dsymutil |
|
STRIP= strip |
|
BINVERSION=OSX |
# Don'know how to launch imach098.pmsp in batch to create package file imach098Panther.pkg |
# Don'know how to launch imach098.pmsp in batch to create package file imach098Panther.pkg |
# ./createdmg.sh imach imach098panther ./imach098Panther |
# ./createdmg.sh imach imach098panther ./imach098Panther |
# ./createdmg.sh imach imach098leopard ./imach098Leopard |
# ./createdmg.sh imach imach098leopard ./imach098Leopard |
Line 61 LFLAGSOPT= -O3 -mno-cygwin
|
Line 67 LFLAGSOPT= -O3 -mno-cygwin
|
CFLAGSOPT= -O3 -mno-cygwin |
CFLAGSOPT= -O3 -mno-cygwin |
UNIX2DOS= unix2dos |
UNIX2DOS= unix2dos |
CP= copy |
CP= copy |
|
BINVERSION=CYGWIN |
#SETUPCOMP= Compil32 |
#SETUPCOMP= Compil32 |
##SETUPCOMP=start /wait "C:\Program\ Files\\Compil32.exe" |
##SETUPCOMP=start /wait "C:\Program\ Files\\Compil32.exe" |
# cygwin SETUPCOMP= "C:\Program Files\Inno Setup 4\Compil32.exe" |
# cygwin SETUPCOMP= "C:\Program Files\Inno Setup 4\Compil32.exe" |
Line 76 CFLAGSOPT= -O3
|
Line 83 CFLAGSOPT= -O3
|
CP= cp |
CP= cp |
UNIX2DOS= unix2dos |
UNIX2DOS= unix2dos |
SETUPCOMP= wine "C:////Program Files////Inno Setup 4////Compil32.exe" |
SETUPCOMP= wine "C:////Program Files////Inno Setup 4////Compil32.exe" |
|
BINVERSION=WINDOWSonLINUX |
endif |
endif |
|
|
ifdef _windowsonosx |
ifdef _windowsonosx |
Line 91 CFLAGSOPT= -O3
|
Line 99 CFLAGSOPT= -O3
|
UNIX2DOS= unix2dos |
UNIX2DOS= unix2dos |
SETUPCOMP= ~/bin/InnoSetup5Playonmac |
SETUPCOMP= ~/bin/InnoSetup5Playonmac |
CP= cp |
CP= cp |
|
BINVERSION=WIN32onOSX |
|
endif |
|
|
|
ifdef _windowscl |
|
rem "C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\vcvas32.bat" |
endif |
endif |
|
|
ifdef _linux64onosx |
ifdef _linux64onosx |
Line 103 CFLAGSOPT= -O3
|
Line 116 CFLAGSOPT= -O3
|
UNIX2DOS= unix2dos |
UNIX2DOS= unix2dos |
SETUPCOMP= ~/bin/InnoSetup5Playonmac |
SETUPCOMP= ~/bin/InnoSetup5Playonmac |
CP= cp |
CP= cp |
|
BINVERSION=linux-x86-64-bin |
endif |
endif |
|
|
ifdef _linux32onosx |
ifdef _linux32onosx |
Line 118 CFLAGSOPT= -O3
|
Line 132 CFLAGSOPT= -O3
|
UNIX2DOS= unix2dos |
UNIX2DOS= unix2dos |
SETUPCOMP= ~/bin/InnoSetup5Playonmac |
SETUPCOMP= ~/bin/InnoSetup5Playonmac |
CP= cp |
CP= cp |
|
BINVERSION=linux-i586-bin |
endif |
endif |
|
|
ifdef _linux |
ifdef _linux |
#CFLAGS= -g -DUNIX -DDEBUGHESS |
#CFLAGS= -g -DUNIX -DDEBUGHESS |
CFLAGS= -g -DUNIX -DLINUX |
CFLAGS= -g -DUNIX -DLINUX |
LFLAGS= -g -lm |
LFLAGS= -g -lm |
IGSL= -I/usr/include/gsl |
IGSL= -I/usr/include/gsl |
LGSL= -lgsl -lgslcblas |
LGSL= -lgsl -lgslcblas |
CFLAGSOPT= -O3 -DUNIX -DLINUX |
CFLAGSOPT= -O3 -DUNIX -DLINUX |
LFLAGSOPT= -O3 -lm |
LFLAGSOPT= -O3 -lm -s |
UNIX2DOS= unix2dos |
UNIX2DOS= unix2dos |
SETUPCOMP= wine "C:////Program Files////Inno Setup 4////Compil32.exe" |
SETUPCOMP= wine "C:////Program Files////Inno Setup 4////Compil32.exe" |
|
BINVERSION=LINUXnative |
endif |
endif |
|
|
SED= sed |
SED= sed |
Line 137 PACKAGE=imach
|
Line 153 PACKAGE=imach
|
PROGRAM=IMaCh |
PROGRAM=IMaCh |
|
|
|
|
|
|
TMPSETUPSCRIPT=setup.iss |
TMPSETUPSCRIPT=setup.iss |
TMPNOREGSETUPSCRIPT=noreg-setup.iss |
TMPNOREGSETUPSCRIPT=noreg-setup.iss |
TMPSCRIPTIN=setup.iss.in |
TMPSCRIPTIN=setup.iss.in |
Line 192 PARAM=mypar1
|
Line 207 PARAM=mypar1
|
imachcyg-setup: imachcygopt.exe setup.iss |
imachcyg-setup: imachcygopt.exe setup.iss |
touch setup.iss.in |
touch setup.iss.in |
$(CP) imachcygopt.exe imach.exe |
$(CP) imachcygopt.exe imach.exe |
|
$(CP) imachcygopt.exe imach$(VERSION)-$(BINVERSION).exe |
$(SETUPCOMP) /cc setup.iss |
$(SETUPCOMP) /cc setup.iss |
cp Output/$(TMPSETUPEXE) imachcyg-setup |
cp Output/$(TMPSETUPEXE) imachcyg-setup |
|
|
Line 199 imachcyg-setup: imachcygopt.exe setup.is
|
Line 215 imachcyg-setup: imachcygopt.exe setup.is
|
imachcyg-noreg-setup: imachcygopt.exe noreg-setup.iss |
imachcyg-noreg-setup: imachcygopt.exe noreg-setup.iss |
touch setup.iss.in |
touch setup.iss.in |
$(CP) imachcygopt.exe imach.exe |
$(CP) imachcygopt.exe imach.exe |
|
$(CP) imachcygopt.exe imach$(VERSION)-$(BINVERSION).exe |
$(SETUPCOMP) /cc $(TMPNOREGSETUPSCRIPT) |
$(SETUPCOMP) /cc $(TMPNOREGSETUPSCRIPT) |
cp Output/$(TMPNOREGSETUPEXE) imachcyg-noreg-setup |
cp Output/$(TMPNOREGSETUPEXE) imachcyg-noreg-setup |
|
|
|
imachMVC-setup: imachMVC.exe setup.iss |
|
touch setup.iss.in |
|
$(CP) imachMVC.exe imach.exe |
|
$(SETUPCOMP) /cc setup.iss |
|
$(CP) Output/$(TMPSETUPEXE) imachcyg-setup |
|
|
|
# imachcyg-noreg-setup : imachcygopt imachcygopt.o setup.iss.in noreg-setup.iss $(TMPNOREGSETUPEXE) |
|
imachMVC-noreg-setup: imachMVC.exe noreg-setup.iss |
|
touch setup.iss.in |
|
$(CP) imachMVC.exe imach.exe |
|
$(SETUPCOMP) /cc $(TMPNOREGSETUPSCRIPT) |
|
$(CP) Output/$(TMPNOREGSETUPEXE) imachcyg-noreg-setup |
|
|
simach : simach.o |
simach : simach.o |
$(CC) $(LFLAGS) $(LGSL) -o simach simach.o |
$(CC) $(LFLAGS) $(LGSL) -o simach simach.o |
simach.o : simach.c |
simach.o : simach.c |
Line 216 endif
|
Line 246 endif
|
imach.o : imach.c |
imach.o : imach.c |
$(CC) $(CFLAGS) -DPOWELL -c imach.c |
$(CC) $(CFLAGS) -DPOWELL -c imach.c |
|
|
|
# http://msdn.microsoft.com/en-us/library/abx4dbyh%28v=vs.100%29.aspx |
|
imachcl: imach.c |
|
cl /O2 /MT /o imach.exe imach.c |
|
|
imach097b : imach097b.o |
imach097b : imach097b.o |
$(CC) $(LFLAGS) -o imach097b imach097b.o |
$(CC) $(LFLAGS) -o imach097b imach097b.o |
imach097b.o : imach097b.c |
imach097b.o : imach097b.c |
Line 235 imachgsl.o : imach.c
|
Line 269 imachgsl.o : imach.c
|
imachopt : imachopt.o |
imachopt : imachopt.o |
$(CC) $(LFLAGSOPT) -o imachopt imachopt.o |
$(CC) $(LFLAGSOPT) -o imachopt imachopt.o |
ln -f imachopt imach |
ln -f imachopt imach |
|
ifdef _macosx |
|
$(STRIP) imach |
cp imach ../bin |
cp imach ../bin |
|
endif |
|
ifdef _linux32onosx |
|
$(CP) imachopt Output/imachopt$(VERSION)-$(BINVERSION) |
|
cp -f imach ../bin |
|
(cd .. && gnutar jcvf src/Output/imach-Linux-$(VERSION)-$(BINVERSION).tar.bz2 bin html/doc/biaspar.imach html/doc/data1.txt) |
|
endif |
|
ifdef _linux64onosx |
|
$(CP) imachopt Output/imachopt$(VERSION)-$(BINVERSION) |
|
cp -f imach ../bin |
|
(cd .. && gnutar jcvf src/Output/imach-Linux-$(VERSION)-$(BINVERSION).tar.bz2 bin html/doc/biaspar.imach html/doc/data1.txt) |
|
endif |
|
|
imachopt.o : imach.c |
imachopt.o : imach.c |
$(CC) $(CFLAGSOPT) -DPOWELL -o imachopt.o -c imach.c |
$(CC) $(CFLAGSOPT) -DPOWELL -o imachopt.o -c imach.c |
|
|