version 1.36, 2014/06/17 17:37:48
|
version 1.38, 2014/08/25 21:00:47
|
Line 1
|
Line 1
|
VERSION=0.98nS |
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 34 GCC= gcc
|
Line 34 GCC= gcc
|
ifdef _macosx |
ifdef _macosx |
# Mac OS/X version |
# Mac OS/X version |
LFLAGS= -g -lm -DUNIX |
LFLAGS= -g -lm -DUNIX |
CFLAGS= -g -DUNIX |
CFLAGS= -g -DUNIX -DOSX |
LFLAGSOPT= -O3 -lm -DUNIX |
LFLAGSOPT= -O3 -lm -DUNIX |
CFLAGSOPT= -O3 -DUNIX |
CFLAGSOPT= -O3 -DUNIX |
UNIX2DOS= echo "Unix2dos " |
UNIX2DOS= echo "Unix2dos " |
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 209 imachopt.o : imach.c
|
Line 208 imachopt.o : imach.c
|
|
|
imachdmg : imachopt.o create-dmg applet IMaChInfo.plist.in IMaChPkgInfo.in IMaCh.icns main.scpt.in IMaCh-ecrandemarrage.rsrc TXT.rtf |
imachdmg : imachopt.o create-dmg applet IMaChInfo.plist.in IMaChPkgInfo.in IMaCh.icns main.scpt.in IMaCh-ecrandemarrage.rsrc TXT.rtf |
$(CC) $(LFLAGSOPT) -o imach imachopt.o |
$(CC) $(LFLAGSOPT) -o imach imachopt.o |
|
#hdiutil detach /Volumes/IMaCh\ $(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 |
Line 217 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 |
mkdir -p imach$(VERSION).app/Contents/Resources/description.rtfd |
mkdir -p imach$(VERSION).app/Contents/Resources/description.rtfd |
cp -p TXT.rtf imach$(VERSION).app/Contents/Resources/description.rtfd |
cp -p TXT.rtf imach$(VERSION).app/Contents/Resources/description.rtfd |
$(SED) -e "s/@VERSION@/$(VERSION)/g;" \ |
$(SED) -e "s/@VERSION@/$(VERSION)/g;" \ |
Line 226 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 |