version 1.27, 2009/07/06 10:22:06
|
version 1.29, 2009/10/29 13:19:55
|
Line 1
|
Line 1
|
VERSION=0.98k |
VERSION=0.98l |
COPYRIGHT=Copyright (C) 2002-2009 INED-EUROREVES-Institut de longévité |
COPYRIGHT=Copyright (C) 2002-2009 INED-EUROREVES-Institut de longévité |
IMACHSETUPVERSION=1 |
IMACHSETUPVERSION=1 |
|
|
Line 17 IMACHSETUPVERSION=1
|
Line 17 IMACHSETUPVERSION=1
|
##SETUPCOMP= "C:\Program Files\Inno Setup 3\Compil32.exe" |
##SETUPCOMP= "C:\Program Files\Inno Setup 3\Compil32.exe" |
|
|
#CC= gcc -v |
#CC= gcc -v |
CC= gcc |
CC=$(GCC) |
|
GCC= gcc |
|
|
ifdef _macosx |
ifdef _macosx |
# Mac OS/X version |
# Mac OS/X version |
Line 33 UNIX2DOS= echo "Unix2dos "
|
Line 34 UNIX2DOS= echo "Unix2dos "
|
endif |
endif |
|
|
ifdef _windows |
ifdef _windows |
|
CC=c:\MinGW\bin\Mingw32-gcc |
|
|
# Windows cygwin version |
# Windows cygwin version |
LFLAGS= -g -mno-cygwin |
LFLAGS= -g -mno-cygwin |
CFLAGS= -g -mno-cygwin |
CFLAGS= -g -mno-cygwin |
LFLAGSOPT= -O3 -mno-cygwin |
LFLAGSOPT= -O3 -mno-cygwin |
CFLAGSOPT= -O3 -mno-cygwin |
CFLAGSOPT= -O3 -mno-cygwin |
UNIX2DOS= unix2dos |
UNIX2DOS= unix2dos |
SETUPCOMP= Compil32 |
#SETUPCOMP= Compil32 |
##SETUPCOMP=start /wait "C:\Program\ Files\\Compil32.exe" |
##SETUPCOMP=start /wait "C:\Program\ Files\\Compil32.exe" |
##SETUPCOMP= "C:\Program Files\Inno Setup 4\Compil32.exe" |
# cygwin SETUPCOMP= "C:\Program Files\Inno Setup 4\Compil32.exe" |
|
SETUPCOMP= "C:////Program Files////Inno Setup 4////Compil32.exe" |
|
endif |
|
|
|
ifdef _windowsonlinux |
|
GCC=/usr/bin/i586-pc-mingw32-gcc |
|
LFLAGS= -g |
|
CFLAGS= -g |
|
LFLAGSOPT= -O3 |
|
CFLAGSOPT= -O3 |
|
UNIX2DOS= unix2dos |
|
SETUPCOMP= wine "C:////Program Files////Inno Setup 4////Compil32.exe" |
endif |
endif |
|
|
ifdef _linux |
ifdef _linux |
Line 86 $(TMPSETUPSCRIPT): $(TMPSCRIPTIN)
|
Line 100 $(TMPSETUPSCRIPT): $(TMPSCRIPTIN)
|
s/@VERMAJOR@/$(VERMAJOR)/g; \ |
s/@VERMAJOR@/$(VERMAJOR)/g; \ |
s/@COPYRIGHT@/$(COPYRIGHT)/g;" \ |
s/@COPYRIGHT@/$(COPYRIGHT)/g;" \ |
$(TMPSCRIPTIN) > $(TMPSETUPSCRIPT) |
$(TMPSCRIPTIN) > $(TMPSETUPSCRIPT) |
$(UNIX2DOS) $(TMPSETUPSCRIPT) |
|
|
|
$(TMPNOREGSETUPSCRIPT): $(TMPSCRIPTIN) |
$(TMPNOREGSETUPSCRIPT): $(TMPSCRIPTIN) |
$(SED) -e "s/@APPNAME@/$(APPNAME)/g; \ |
$(SED) -e "s/@APPNAME@/$(APPNAME)/g; \ |
Line 102 $(TMPNOREGSETUPSCRIPT): $(TMPSCRIPTIN)
|
Line 115 $(TMPNOREGSETUPSCRIPT): $(TMPSCRIPTIN)
|
s/@VERMAJOR@/$(VERMAJOR)/g; \ |
s/@VERMAJOR@/$(VERMAJOR)/g; \ |
s/@COPYRIGHT@/$(COPYRIGHT)/g;" \ |
s/@COPYRIGHT@/$(COPYRIGHT)/g;" \ |
$(TMPSCRIPTIN) > $(TMPNOREGSETUPSCRIPT) |
$(TMPSCRIPTIN) > $(TMPNOREGSETUPSCRIPT) |
$(UNIX2DOS) $(TMPNOREGSETUPSCRIPT) |
# $(UNIX2DOS) $(TMPNOREGSETUPSCRIPT) |
|
|
$(TMPSETUPEXE): $(TMPSETUPSCRIPT) |
$(TMPSETUPEXE): $(TMPSETUPSCRIPT) |
$(SETUPCOMP) /cc $(TMPSETUPSCRIPT) |
$(SETUPCOMP) /cc $(TMPSETUPSCRIPT) |
Line 113 $(TMPNOREGSETUPEXE): $(TMPNOREGSETUPSCRI
|
Line 126 $(TMPNOREGSETUPEXE): $(TMPNOREGSETUPSCRI
|
PARAM=mypar1 |
PARAM=mypar1 |
|
|
imachcyg-setup: imachcygopt.exe setup.iss |
imachcyg-setup: imachcygopt.exe setup.iss |
cp imachcygopt.exe imach.exe |
copy imachcygopt.exe imach.exe |
$(SETUPCOMP) /cc $(TMPSETUPSCRIPT) |
$(SETUPCOMP) /cc $(TMPSETUPSCRIPT) |
|
|
# imachcyg-noreg-setup : imachcygopt imachcygopt.o setup.iss.in noreg-setup.iss $(TMPNOREGSETUPEXE) |
# imachcyg-noreg-setup : imachcygopt imachcygopt.o setup.iss.in noreg-setup.iss $(TMPNOREGSETUPEXE) |