計算機メモ目次 (目的のページと内容が一致しない場合, 目次から探してください)

Mosaic-2.6b1+l10n+ を IRIX で作る 《古い》



libmms.a libjpeg.a は AIX にほぼ同じ
ただし ranlib がないので /bin/true にしておくこと

Makefile.indy を Makefile にコピーし、以下のように変更する

127c127
< jpegdir = /usr/local/lib
---
> jpegdir = /X11/mosaic/libjpeg/irix52
129c129
< jpegflags = -I/usr/local/include -DHAVE_JPEG
---
> jpegflags = -I$(jpegdir) -DHAVE_JPEG
146,149c146,149
< #waisroot = /X11/mosaic/freeWAIS-0.202-indy
< #waisflags = -DDIRECT_WAIS -I$(waisroot)/ir
< #waislibdir = $(waisroot)/bin
< #waislibs = $(waislibdir)/inv.a $(waislibdir)/wais.a $(waislibdir)/libftw.a -lm
---
> waisroot = /X11/mosaic/freeWAIS-0.202-indy
> waisflags = -DDIRECT_WAIS -I$(waisroot)/ir
> waislibdir = $(waisroot)/bin
> waislibs = $(waislibdir)/inv.a $(waislibdir)/wais.a $(waislibdir)/libftw.a -lm
183c183
< customflags = -DL10N -DMIME_HEAD
---
> customflags =
185,190d184
< #### MIME HEADER SUPPORT
< #### . If you set -DMIME_HEAD
< ####   set following variables
< mmsroot =       /usr/local/lib
< mmslibdir =     $(mmsroot)
< mmslibs =       $(mmslibdir)/libmms.a
191a186
> 
218c213
< CFLAGS = -O $(sysconfigflags) $(socksflags)
---
> CFLAGS = -g $(sysconfigflags) $(socksflags)
233c228
< 	cd libXmx; make CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(customflags) $(xinc)"
---
> 	cd libXmx; make CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(xinc)"
237c232
< 	cd libhtmlw; make CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(customflags) $(xinc) -DMOTIF -DXMOSAIC"
---
> 	cd libhtmlw; make CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(xinc) -DMOTIF -DXMOSAIC"
241c236
< 	cd libwww2; make CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(customflags) $(waisflags) $(PEM_FLAG)"
---
> 	cd libwww2; make CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(knrflag) $(waisflags) $(PEM_FLAG)"
245c240
< 	cd src; make CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(customflags) $(xinc) $(dtmflags) $(hdfflags) $(jpegflags) $(PEM_FLAG) -I.. -I../libXmx -I../libwww2" AUX_CFLAGS=$(knrflag) X_LIBS="$(xlibs)" SYS_LIBS="$(sockslibs) $(syslibs)" DTM_LIBS="$(dtmlibs)" HDF_LIBS="$(hdflibs)" WAIS_LIBS="$(waislibs)" MMS_LIBS="$(mmslibs)" LIBWWW_DIR=../libwww2 JPEG_LIBS="$(jpeglibs)"
---
> 	cd src; make CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(customflags) $(xinc) $(dtmflags) $(hdfflags) $(jpegflags) $(PEM_FLAG) -I.. -I../libXmx -I../libwww2" AUX_CFLAGS=$(knrflag) X_LIBS="$(xlibs)" SYS_LIBS="$(sockslibs) $(syslibs)" DTM_LIBS="$(dtmlibs)" HDF_LIBS="$(hdflibs)" WAIS_LIBS="$(waislibs)" LIBWWW_DIR=../libwww2 JPEG_LIBS="$(jpeglibs)"
249c244
< 	cd src; make PURIFY=$(PURIFY) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(customflags) $(xinc) $(dtmflags) $(hdfflags) $(jpegflags) $(PEM_FLAG) -I.. -I../libXmx -I../libwww2" AUX_CFLAGS=$(knrflag) X_LIBS="$(xlibs)" SYS_LIBS="$(sockslibs) $(syslibs)" DTM_LIBS="$(dtmlibs)" HDF_LIBS="$(hdflibs)" WAIS_LIBS="$(waislibs)" MMS_LIBS="$(mmslibs)" LIBWWW_DIR=../libwww2 JPEG_LIBS="$(jpeglibs)"
---
> 	cd src; make PURIFY=$(PURIFY) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(customflags) $(xinc) $(dtmflags) $(hdfflags) $(jpegflags) $(PEM_FLAG) -I.. -I../libXmx -I../libwww2" AUX_CFLAGS=$(knrflag) X_LIBS="$(xlibs)" SYS_LIBS="$(sockslibs) $(syslibs)" DTM_LIBS="$(dtmlibs)" HDF_LIBS="$(hdflibs)" WAIS_LIBS="$(waislibs)" LIBWWW_DIR=../libwww2 JPEG_LIBS="$(jpeglibs)"
253c248
< 	cd src; make PURIFY=$(QUANTIFY) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(customflags) $(xinc) $(dtmflags) $(hdfflags) $(jpegflags) $(PEM_FLAG) -I.. -I../libXmx -I../libwww2" AUX_CFLAGS=$(knrflag) X_LIBS="$(xlibs)" SYS_LIBS="$(sockslibs) $(syslibs)" DTM_LIBS="$(dtmlibs)" HDF_LIBS="$(hdflibs)" WAIS_LIBS="$(waislibs)" MMS_LIBS="$(mmslibs)" LIBWWW_DIR=../libwww2 JPEG_LIBS="$(jpeglibs)"
---
> 	cd src; make PURIFY=$(QUANTIFY) CC=$(CC) RANLIB=$(RANLIB) CFLAGS="$(CFLAGS) $(customflags) $(xinc) $(dtmflags) $(hdfflags) $(jpegflags) $(PEM_FLAG) -I.. -I../libXmx -I../libwww2" AUX_CFLAGS=$(knrflag) X_LIBS="$(xlibs)" SYS_LIBS="$(sockslibs) $(syslibs)" DTM_LIBS="$(dtmlibs)" HDF_LIBS="$(hdflibs)" WAIS_LIBS="$(waislibs)" LIBWWW_DIR=../libwww2 JPEG_LIBS="$(jpeglibs)"



計算機メモ目次 (目的のページと内容が一致しない場合, 目次から探してください)
海洋大循環分野
daigo@ocg.aori.u-tokyo.ac.jp