version 1.37, 2014/06/18 17:54:58
|
version 1.38, 2014/08/25 21:00:47
|
Line 1
|
Line 1
|
VERSION=0.98nT |
VERSION=0.98nV |
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=1 |
|
|
Line 78 ifdef _windowsonosx
|
Line 78 ifdef _windowsonosx
|
GCC=/usr/local/i386-mingw32-4.3.0/bin/i386-mingw32-gcc |
GCC=/usr/local/i386-mingw32-4.3.0/bin/i386-mingw32-gcc |
# w64 outputs bigger executables |
# w64 outputs bigger executables |
#GCC=/usr/local/cross-tools/bin/i686-w64-mingw32-gcc |
#GCC=/usr/local/cross-tools/bin/i686-w64-mingw32-gcc |
|
GCC=/usr/local/gcc-4.8.0-qt-4.8.4-for-mingw32/win32-gcc/bin/i586-mingw32-gcc-4.8.0 |
LFLAGS= -g |
LFLAGS= -g |
CFLAGS= -g |
CFLAGS= -g |
LFLAGSOPT= -O3 |
LFLAGSOPT= -O3 |
Line 157 $(TMPNOREGSETUPEXE): $(TMPNOREGSETUPSCRI
|
Line 158 $(TMPNOREGSETUPEXE): $(TMPNOREGSETUPSCRI
|
PARAM=mypar1 |
PARAM=mypar1 |
|
|
imachcyg-setup: imachcygopt.exe setup.iss |
imachcyg-setup: imachcygopt.exe setup.iss |
|
touch setup.iss.in |
$(CP) imachcygopt.exe imach.exe |
$(CP) imachcygopt.exe imach.exe |
$(SETUPCOMP) /cc setup.iss |
$(SETUPCOMP) /cc setup.iss |
cp Output/$(TMPSETUPEXE) imachcyg-setup |
cp Output/$(TMPSETUPEXE) imachcyg-setup |
|
|
# 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) |
imachcyg-noreg-setup: imachcygopt.exe noreg-setup.iss |
imachcyg-noreg-setup: imachcygopt.exe noreg-setup.iss |
|
touch setup.iss.in |
$(CP) imachcygopt.exe imach.exe |
$(CP) imachcygopt.exe imach.exe |
$(SETUPCOMP) /cc $(TMPNOREGSETUPSCRIPT) |
$(SETUPCOMP) /cc $(TMPNOREGSETUPSCRIPT) |
cp Output/$(TMPNOREGSETUPEXE) imachcyg-noreg-setup |
cp Output/$(TMPNOREGSETUPEXE) imachcyg-noreg-setup |
Line 180 endif
|
Line 183 endif
|
|
|
imach.o : imach.c |
imach.o : imach.c |
$(CC) $(CFLAGS) -DPOWELL -c imach.c |
$(CC) $(CFLAGS) -DPOWELL -c imach.c |
imach-1.129cvsmac : imach-1.129cvsmac.o |
|
$(CC) $(LFLAGS) -o imach-1.129cvsmac imach-1.129cvsmac.o |
|
imach-1.129cvsmac.o : imach-1.129cvsmac.c |
|
$(CC) $(CFLAGS) -DPOWELL -c imach-1.129cvsmac.c |
|
|
|
imach097b : imach097b.o |
imach097b : imach097b.o |
$(CC) $(LFLAGS) -o imach097b imach097b.o |
$(CC) $(LFLAGS) -o imach097b imach097b.o |
Line 218 imachdmg : imachopt.o create-dmg applet
|
Line 217 imachdmg : imachopt.o create-dmg applet
|
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 |
|
mkdir -p imach$(VERSION).app/Contents/Resources/html |
cp imach imach$(VERSION).app/Contents/Resources/bin |
cp imach imach$(VERSION).app/Contents/Resources/bin |
cp gnuplot_bin/gnuplot_2_6_5_OSX imach$(VERSION).app/Contents/Resources/bin/gnuplot |
cp gnuplot_bin/gnuplot_2_6_5_OSX imach$(VERSION).app/Contents/Resources/bin/gnuplot |
mkdir -p imach$(VERSION).app/Contents/Resources/description.rtfd |
mkdir -p imach$(VERSION).app/Contents/Resources/description.rtfd |
Line 228 imachdmg : imachopt.o create-dmg applet
|
Line 228 imachdmg : imachopt.o create-dmg applet
|
cp -p IMaCh.icns imach$(VERSION).app/Contents/Resources/applet.icns |
cp -p IMaCh.icns imach$(VERSION).app/Contents/Resources/applet.icns |
cp -r -p main.scpt.in imach$(VERSION).app/Contents/Resources/Scripts/main.scpt |
cp -r -p main.scpt.in imach$(VERSION).app/Contents/Resources/Scripts/main.scpt |
cp IMaCH-ecrandemarrage.rsrc imach$(VERSION).app/Contents/Resources/applet.rsrc |
cp IMaCH-ecrandemarrage.rsrc imach$(VERSION).app/Contents/Resources/applet.rsrc |
|
cp ../html/doc/data1.txt imach$(VERSION).app/Contents/Resources/html |
|
cp ../html/doc/biaspar.log imach$(VERSION).app/Contents/Resources/html |
|
cp ../html/doc/biaspar.imach imach$(VERSION).app/Contents/Resources/html |
rm -f imach$(VERSION).dmg |
rm -f imach$(VERSION).dmg |
./createdmg2.sh --volname "IMaCh $(VERSION)" imach$(VERSION).dmg imach$(VERSION) |
./createdmg3.sh --volname "IMaCh $(VERSION)" imach$(VERSION).dmg imach$(VERSION) |
|
mv imach$(VERSION).dmg Output/ |
# ./create-dmg --volname "IMaCh $(VERSION)" imach$(VERSION).dmg imach$(VERSION).app |
# ./create-dmg --volname "IMaCh $(VERSION)" imach$(VERSION).dmg imach$(VERSION).app |
|
# ./createdmg2.sh --volname "IMaCh $(VERSION)" imach$(VERSION).dmg imach$(VERSION) |
|
|
|
upload: |
|
ls Output/* | xargs md5sum |
|
rsync -v Output/* brouard@henry.ined.fr:/home/euroreves/html/imach/ |
|
|
imachcyg : imachcyg.o strsep.o |
imachcyg : imachcyg.o strsep.o |
$(CC) $(LFLAGS) -o imach imachcyg.o strsep.o |
$(CC) $(LFLAGS) -o imach imachcyg.o strsep.o |